DHCP giving wrong DNS servers

dhcpdomain-name-systemwindows-server-2012

I have a Windows Server 2012 as a DNS and a DHCP server. Now, when a client connects he gets wrong DNS servers from the DHCP server. Not sure where these came from but I'd like to give the clients the server's IP as DNS servers address.

I've set it up once in the past in Server 2008 but I can't remember now where I set the DNS server address in DHCP.

So… where can I change the addresses?

Best Answer

It's not the likeliest explanation, but have you checked to make sure that the clients are getting DHCP leases from the DHCP server you expect, and not from another (rogue) server on your network?

The first place to look would clearly be the configuration on the server, but If you've checked the configuration and it seems to be correct but the client is still accepting a lease that doesn't look like what you think you are sending, it is a possibility.

Sometimes it helps to break out the sniffer software and see what's actually coming and going across the wire, and from whom. You can at least take a look at what the server is sending out in its DHCPOFFER and any decent sniffer software will dissect the packets for you and show you the option values being sent with the lease offer.