Link to home
Start Free TrialLog in
Avatar of juliandormon
juliandormon

asked on

Changing IP address of a nameserver steps

I am moving my Microsoft DNS servers to new boxes with new IPs.

I have changed the ip addresses for the name servers at my registrar. These changes have not propagated yet.

I changed the ip from 64.251.8.16 to 75.121.6.5

I have added all the DNS records to the new machines using DNS DUMP.

When I look at the nameserver properties for any of the records they show, the nameserver and the original ip.

Right Click on Zone > view properties > select Name servers tab

So I see ns1.mydnsmachine.com 64.251.8.16

Do I have to change the 64.251.8.16 manually, or will this change when the changes I made propagate.
Avatar of Jan Bacher
Jan Bacher
Flag of United States of America image

If I understand the question correctly,  you dumped the existing zone files and ported them to the new nameserver.

On the new nameserver, you need to manually update the NS records.
Avatar of juliandormon
juliandormon

ASKER

Ok so manually change the ip address?
The domsins are the same. ns1.mydnsmachine.com stays the same. Right?
If the nameservers have the same fully qualified domain name and the only thing that has changed is the IP address for those hosts, then in your forward zone:

ns1         IN             A           75.121.6.5
ns2         IN             A           new2.ip.addr

and in your in-addr.arpa zone for the inverse:

6.5.121.75.in-addr.arpa.           IN           PTR            ns1.domain.com.
new2.ip.addr.in-addr.arpa.         IN           PTR            ns2.domain.com.
A note of interest:

If the hostnames of the nameservers along with the IPs are different at the registrar, in addition to adding the address and pointer records for the new hosts, you will need to change all of the NS records (where applicable) to identify the new authoritative nameservers.
Thank s Jesper,
This is starting to make sense.
NOw when I do a DNS report at DNSstuff.com, the report says that I have mismatched glue.
The parent servers are showing the old IP and my DNS is now showing the new IP.

I switched the nameservers over 48 hours ago, will the parent servers catch up via propogation or am I missing something else? Do I need to update the parent somehow?

ERROR: Your nameservers report glue that is different from what the parent servers report. This will cause DNS servers to get confused; some may go to the IP provided by the parent servers, while others may get to the ones provided by your authoritative DNS servers. Problem record(s) are:

ns2.righthookmedia.net.:
Parent server (l.gtld-servers.net) says A record is 64.251.8.16, but
authoritative DNS server (64.251.8.6) says it is 75.121.6.5
It appears that ns1.righthookmedia.net and ns2.righthookmedia.net are the name servers for this domain.

At the registrar level, are the IPs bound to the new nameservers?

If the nameserver fully qualified domain name has not changed, you need to change the "A" record associated with them, increase the serial number and restart your DNS server.

Can  you verify that information and also let me know if ns1 and ns2 used to be the hostnames for the nameservers for this domain?
Thanks! That is right.
righthookmedia.net has nameservers:
ns1.righthookmedia.net
ns2.righthookmedia.net

ns1.righthookmedia.net at the registrar points to 64.251.8.6
ns2.righthookmedia.net at the registrar points to 75.127.67.179 (the new box)

A records at 64.251.8.6 machine are:
Host (A) 64.251.8.6
ns1 64.251.8.6
ns2 75.127.67.179 (this is the new DNS machine)

These records are identical on the 75.127.67.179.

I have incremented both serials on both machines and restarted the DNS server on both.
Have you setup NS2 on the old machine with the new IP also?

And, does the registrar ask for the IP address with the hostname?  Because, the registrar currently shows the old IP with NS2.
Hi Jesper,
In regard to question 1:
I just recreated the records on the old ns2.righthookmedia.net machine. So this is reporting properly now.

In regards to the second question:
I think your asking what are the nameservers listed for righthookmedia.net.
They are ns.righthookmedia.net
and ns2.righthookmedia.net
The registrar does not ask for the ip addresses when filling this in, so I guess they resolve the IPs.

How are you finding what IPs they are resolving to?
ASKER CERTIFIED SOLUTION
Avatar of Jan Bacher
Jan Bacher
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks Jesper.
I am awaiting the glue to change.
I called my registrar and the have escalated this to a level 2 tech to see why this has not propagated yet.
Haven't heard anything yet. I think it's their problem.