DHCP giving clients addresses with prior DNS record
October 2, 2009 8:47 AM
Subscribe
DHCP giving out IP address leases with pre-existing DNS entries for the wrong machine causing network chaos on a mixed windows & mac environment, and it's the macs who are having the problems.
We have DHCP & DNS on a Windows 2003 server. Apple laptops (leopard) are bound to AD. The clients get a DHCP lease easily enough, but then at some point in the future (usually a few weeks, maybe less), they cannot log in or won't get settings from the server.
Have Apple support, and their response is the machine account is not authenticating with AD, so no log in. OK, so...
Upon investigation into DNS, it turns out that these client's DNS entry is actually tied to another PC's IP address. For instance, maclaptop.mydomain.com gets 192.168.1.1. However, the DNS record for 192.168.1.1 on the network is actually pc.mydomain.com. This is causing maclaptop.mydomain.com to try authenticating as pc.mydomain.com, which they are not and getting rejected. I am led to believe this from Console messages stating pc@mydomain.com cannot authenticate with kerberos.
Any thoughts or ideas on how to prevent this from happening? I can delete those individual DNS records and the clients can log in then properly, but at some point in the future, it'll loose its lease and get the address with a wrong DNS entry at some point.
posted by jmd82 to computers & internet (11 comments total)
2 users marked this as a favorite
Reserve 192.168.1.1 - 192.168.1.50 (or whatever) for the fixed, named IPs that you need.
Configure the DHCP server to hand out only 192.168.1.51 - 192.168.1.254.
If your machine has a fixed address, it can have a name. If not, you use the number only.
posted by rokusan at 8:51 AM on October 2