Link to home
Start Free TrialLog in
Avatar of larry
larry

asked on

DNS entry keeps reverting back to old value

A DNS entry for a server keeps reverting back to its old value in the Forward Lookup Zone.  I'm using a microsoft DNS server on a Windows Server 2008 platform.  I have a WAN with an AD on each end.  The entry gets changed on both when I update one side, but for some reason it keeps going back to the old value (the IP address of the AD/DNS server) after several hours.

Any idea on what might be causing this or how I can troubleshoot?
Avatar of Darius Ghassem
Darius Ghassem
Flag of United States of America image

What is the old value? The server's will update their own IP address. Can you explain a little more exactly what you are doing when you mean when you update one side? What are you updating?
Avatar of larry
larry

ASKER

The old value (value of the AD/DNS server) is 10.1.2.41 and I'm trying to update the server (an Exchange server) to 10.1.2.43.  

I update it by going into the DNS Manager > Foward Lookup Zone and go into the properties of the Host (A) record of the server to change it back to 10.1.2.43.  Several hours later it goes back to 10.1.2.41.
What is the IP address of the Exchange server? If the server has 10.1.2.41 in it's TCP\IP setting as it's IP address it is going to update that record with that IP address. You can't just go in DNS and update the record because the record will updated by the system.
Avatar of larry

ASKER

I just confirmed that the IP Address of the Exchange server is 10.1.2.43, which is what it should be.  It is running in a VMWare environment if that has anything to do with it.
So, the IP address is the correct IP address, right? Click Advance in the TCP\IP settings make sure there isn't two IPs there. Run a ipconfig /flushdns then ipconfig /registerdns on the Exchange system. Make sure you only have one NIC not two.
Avatar of larry

ASKER

I initially had it configured with two IP addresses, but changed quite some time ago.  The other IP address it had was 10.1.2.44, though.

I went ahead and flushed the dns and registered it.  I probably won't know until tomorrow if it worked.  Do you know of any other way it could be getting changed?
Does the change replicate to other DNS server? A record are updated 98% of the time by their host others are updated manually so it is one of the two in your case you are manually updating the record but it is changing back which usually means a device is updating the record.
Avatar of larry

ASKER

Yes, it does replicate to the other DNS server.  Is there a DNS log that I can use to figure out where the change is coming from?  Hopefully the flushdns and registerdns did the trick, but if not I would like to know where the change is coming from.  I did a registry search on the 10.1.2.43 machine for 10.1.2.41, and the only entries that came up were the DNS server as expected.
We will see how it goes.
Avatar of larry

ASKER

Unfortunately it didn't go so well.  I rebooted the mail server and it went back to 10.1.2.41.  Is there any way I can put a lock on that entry in the DNS server?  
Do a ipconfig /all and post. How many NICs are you running? Do you have RAS running?
Avatar of larry

ASKER

Just one, and RAS isn't running.  I turned off "Register this connection's address in DNS" under the IP properties, so hopefully that will prevent it from changing... if the change is coming from that server.
Let's see if that fixes it but you really want it checked.
Avatar of larry

ASKER

I totally agree, if you or anyone else reading this has any ideas on how to troubleshoot this problem I would love to hear it.  I scanned the registry on both servers and was unable to find anything that might be causing this to happen.  It's pretty frustrating because every time it changes my users are unable to access the Exchange server until I change it back.
When the IP changes can you ping my name? If you can't ping by name then there has to be a setting some where holding this IP address.
check wins server?
ASKER CERTIFIED SOLUTION
Avatar of larry
larry

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
ipconfig /registerdns on the errant machine. Worked for me. Permanently updated the entry on the DNS servers.
did you have the IP still reserved in a DHCP server....