So on my Windows Server 2008 box, I have a DNS server installed on it. For some reason, every ten minutes or so, the Host (A) address for the computer keeps on changing to its internal private IP address. I want it to have its public address for Active Directory purposes, but it keeps changing itself back to the private IP address. Any idea as to why, and how to change it?

4 Answers
4

Most likely you'll want to set the network adapter to not register the IP in DNS automatically. Check out the "How to modify DNS dynamic update behavior" section here (I know it says for Windows XP, but it's the same basic steps). If you choose to not have it register, that should prevent it from updating in DNS.

Alright, I unchecked the "Register this connections address in DNS" checkbox, but the 10.x private IP address was still applied to the HOST (A) entry for the computer. Did I miss something else?
–
ChigginsFeb 21 '11 at 15:59

3

Assuming I'm correct in your problem, that won't change it back to the IP you want, it will only prevent Windows from registering the IP again. You would need to change the record to what you want manually, and then Windows should not try and register it again.
–
Paul KroonFeb 21 '11 at 17:43

I unchecked the checkbox, and changed the DNS entry, but the DNS entry is still getting changed back to the 10.x IP address.
–
ChigginsFeb 21 '11 at 18:42

Open Network Connections in the Control Panel; find the offending Local Area Connection, open it's properties, then the IPv4 properties, Advanced button, DNS tab, checkbox on that page "Register this connection's address in DNS" needs to be unchecked.

Yup. I think I'm just gonna drop this and use a VPN on my machines for when they access AD, because even with this problem, I'm still having other network related problems while joining AD. Thanks a bunch for your help though.
–
ChigginsFeb 23 '11 at 6:31

A lot of things automatically register themselves in an Active Directory environment.

… other answers have only pointed you at the things that workstation machines automatically register. You've set up a domain controller, with the DNS server rôle. That's two more server things that automatically register themselves in DNS right there: the netlogon service and the DNS server service. Ironically, it's those that have to be turned off, and this is a Frequently Given Answer that's roughly a decade old.