Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I know that this is not a Windows forum, but I assume there are some DHCPd admins out there that have Windows clients. Anyway, here's my situation:
We recently changed our DNS servers and I have made the appropriate change in the dhcpd.conf file. I restarted dhcpd and all of the Linux/Mac clients took the new DNS hosts without a problem.
Unfortunately, the Windows clients did not take the new DNS servers automatically. Only after running ipconfig /release && /renew multiple times did the Windows client finally accept the new DNS servers. Has anyone encountered this before?
The problem for us is, our business has hundreds if not thousands of client Windows machines. We don't have the man power to go to every machine individually to manually set the DNS servers. Hopefully one of you kind fellows has run into this and knows of a quick fix. Thanks in advance!
Last edited by YankeePride13; 02-19-2013 at 09:44 AM.
We have so many PCs, to create a batch script and place it on every machine would be equivalent to just doing the ip release renew commands manually. As of today, the Windows machines (in our test subnet) have finally taken the new DNS. It just took way long than it should have. We had reduced the lease time to 24 hours a long while back, yet it took 5 days for the DNS servers to be set on the new Windows machines. (Linux and Mac took them very quickly, at about the half way mark through the lease.
Unless anyone brings any other info, we will probably have both DNS servers online for a little while and just monitor what machines are still talking to the old DNS after a week and manually release/renew them.
Ended up figuring out the issue, figured I'd post what happened here for future admins to hopefully find. Here's the link with info that helped me figure out what was happening, as this person had the same exact issue I did:
I ended up removing the global domain-name-server option and specified our old DNS in the subnets we were not testing explicitly. Without a global domain-name-server option, DHCPInform requests that were sent out during the Windows Update process did not return any DNS servers and the machines continued to use the DNS servers returned in the DHCPOffer.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.