|
Size: 4777
Comment:
|
Size: 4804
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 47: | Line 47: |
| === Zoneedit === We have set up an external DNS hosting service called Zoneedit. Under normal circumstances there would be no need to change this. But if we are changing IPs or adding a domain, you have to log in and use the web front end to change things accordingly. Open up their website at http://www.zoneedit.com. Our login name is CComputing2. After logging in and selecting a zone to edit, you will see a text box for "Master DNS IP". Enter the new IP in this box. In a few hours, Zoneedit's servers will transfer records from our master DNS (muppets) and serve them. |
=== FreeDNS === We have set up an external DNS hosting service called FreeDNS. Under normal circumstances there would be no need to change this. But if we are changing IPs or adding a domain, you have to log in and use the web front end to change things accordingly. Open up their website at http://freedns.afraid.org. Our login name is CComputing2. Password is funky control. After logging in and selecting a zone to edit, you will see a text box for "Master DNS IP". Enter the new IP in this box. In a few hours, FreeDNS's servers will transfer records from our master DNS (muppets) and serve them. |
Creative External DNS
Connect to muppets.crecom.com.au
su to root
for crecom.com.au vi /home/named/var/named/zone/crecom
for creativecomputing.com.au vi /home/named/var/named/zone/creative
for creativeretailsystems.com vi /home/named/var/named/zone/creativeretail
for creativeretailsystems.com.au vi /home/named/var/named/zone/creativeretailau
- Update date field on line 3 in the following format: YYYYMMDDHH
- Update appropriate DNS record
Save <filename> , and quit to command line
- Execute the following commands
/etc/init.d/named restart
Which will perform the following functions automatically:
/etc/init.d/named-vpn stop /etc/init.d/named-internal stop /etc/init.d/named-external restart /etc/init.d/named-internal start /etc/init.d/named-vpn start
Changing nameserver IP
Since we are not using portable IP addresses, the IP's we use will change when we switch to a different internet service provider (ISP). The old ISP will take back their IP, which our NS is pointing to, and we will get a new set of IP's. Before this change happens, it is good practice to lower the Time to live (TTL) of all our zones to a really low value (5 minutes is a good rule of thumb) and then wait for your old TTL to expire. In this example, the 2 86400 (in seconds = 1 day) lines should be changed to 300 (5 minutes).
@ 86400 IN SOA muppets.crecom.com.au. hostmaster.crecom.com.au. (
2007021311 ; serial (Year,Month,Day,Hour/increment)
28800 ; refresh
14400 ; retry
360000 ; expire
86400) ; default_ttlAnd like with any other DNS changes, do not forget to update the serial number. Once this is done. A phone call would have to be made to our DNS registrar. Melbourne IT 1300 654 677. Have the "My account" loaded to the "manage Domain Names" screen. Explain to the tech on the phone that you are switching ISP's and would have to modify the IP address of your NS records (as of this writing, we only have muppets.crecom.com.au for all our domains). Give them the new IP address(es), and then they will verify that you are who you say you are by asking for the Registry key, which we fortunately already have on screen. They will tell you that someone will work on this soon and it might take 48 hours for it to propagate. Use dig to verify that they have done the change:
$ dig muppets.creativecomputing.com.au @ns3.melbourneit.com. ...... snipped ....... ;; AUTHORITY SECTION: creativecomputing.com.au. 3600 IN NS muppets.crecom.com.au. creativecomputing.com.au. 3600 IN NS ns17.zoneedit.com. creativecomputing.com.au. 3600 IN NS ns13.zoneedit.com. ;; ADDITIONAL SECTION: muppets.crecom.com.au. 3600 IN A 211.27.34.242
In this query the address for muppets.crecom.com.au reads 211.27.34.242. If this is the new IP, it means they have made the change. If this is the old IP, continue waiting. If it does not change (after 48 hours), and you don't get any emails, it means that Melbourne IT have not been doing their job, call them back. Once this is complete, modify the A record (of muppets.crecom.com.au) to read the new IP once the change has taken place. This will be a good time to update all the other records as well. Let a few days pass and verify that everything is working as expected and change the TTL back to 86400.
FreeDNS
We have set up an external DNS hosting service called FreeDNS. Under normal circumstances there would be no need to change this. But if we are changing IPs or adding a domain, you have to log in and use the web front end to change things accordingly. Open up their website at http://freedns.afraid.org. Our login name is CComputing2. Password is funky control. After logging in and selecting a zone to edit, you will see a text box for "Master DNS IP". Enter the new IP in this box. In a few hours, FreeDNS's servers will transfer records from our master DNS (muppets) and serve them.
Creative Internal DNS
Connect to muppets.crecom.com.au
su to root
vi /home/named/var/named/zone/internal
- Update date field on line 3 in the following format: YYYYMMDDHH
- Update appropriate DNS record
Save internal , and quit to command line
- Execute the following commands
/etc/init.d/named restart
Which will perform the following functions automatically:
/etc/init.d/named-vpn stop /etc/init.d/named-internal stop /etc/init.d/named-external restart /etc/init.d/named-internal start /etc/init.d/named-vpn start
