|
Size: 4777
Comment:
|
Size: 4761
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 33: | Line 33: |
| And 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: | And like with any other DNS changes, do not forget to update the serial number. Once this is done. Log into our registrar www.crazydomains.com.au. Our login is "crecom" password is funky. Load the "Manage Domain Names" screen. Click on the domain you want to edit (one at a time) and click on "Update Name Servers". You can delete some or all of the NS records and add your new ones. You would have to delete and add the IP address of your NS records if changing ISP(as of this writing, we only have muppets.crecom.com.au for all our domains). Unlike other registrars, my experience shows that updates happen almost instantly. Use whois/dig to verify that the change is done: |
| Line 36: | Line 36: |
| $ dig muppets.creativecomputing.com.au @ns3.melbourneit.com. | $ whois creativecomputing.com.au |
| Line 38: | Line 38: |
| ;; 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 |
Name Server: ns2.afraid.org Name Server: muppets.crecom.com.au Name Server IP: 220.233.135.250 |
| Line 45: | Line 42: |
| 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. | In this query the whois database creativecomputing.com.au, which reads 220.233.135.250. If this is the new IP, it means the change is successful. 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 something has stuffed up (note, when I did this multiple times, it happened almost instantly, within a minute of pressing OK). 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. |
| Line 47: | Line 44: |
| === 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. After logging in and going into "Backup DNS", you will see a list of domains that we have set up. To add a new domain, click the Add button and enter muppets' IP adddress as the master. You can also change this IP by clicking on it on the list (When changing ISPs). In a few minutes (usually around 5-10), 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. Log into our registrar www.crazydomains.com.au. Our login is "crecom" password is funky. Load the "Manage Domain Names" screen. Click on the domain you want to edit (one at a time) and click on "Update Name Servers". You can delete some or all of the NS records and add your new ones. You would have to delete and add the IP address of your NS records if changing ISP(as of this writing, we only have muppets.crecom.com.au for all our domains). Unlike other registrars, my experience shows that updates happen almost instantly. Use whois/dig to verify that the change is done:
$ whois creativecomputing.com.au ...... snipped ....... Name Server: ns2.afraid.org Name Server: muppets.crecom.com.au Name Server IP: 220.233.135.250
In this query the whois database creativecomputing.com.au, which reads 220.233.135.250. If this is the new IP, it means the change is successful. 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 something has stuffed up (note, when I did this multiple times, it happened almost instantly, within a minute of pressing OK). 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. After logging in and going into "Backup DNS", you will see a list of domains that we have set up. To add a new domain, click the Add button and enter muppets' IP adddress as the master. You can also change this IP by clicking on it on the list (When changing ISPs). In a few minutes (usually around 5-10), 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
