Link to home
Start Free TrialLog in
Avatar of J.R. Sitman
J.R. SitmanFlag for United States of America

asked on

Computers are not connecting to the domain DHCP server

Computers that are part of a domain are getting their DHCP server IP from their ISP instead of from the DHCP server.   A few are getting the domain DHCP server.

Is this a problem?

Should it be corrected and how?
ASKER CERTIFIED SOLUTION
Avatar of E C
E C
Flag of United States of America image

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
Avatar of J.R. Sitman

ASKER

Yes the DNS settings are hard coded.   Most of the computers were originally set with manual IPs.    I built a new DHCP server and I want all the computers to get their IP from it.

I did a release/renew on one of the computers and when it got the new IP, the DNS was incorrect.   It was 8.8.8.8, 2.2.2.2
So I had to manually enter it to the DNS server.
Yeah, you don't want to use any external DNS for domain-joined computers.  They should only ever look to your active directory DNS.  

Why implement DHCP but then hard-code all of your workstation DNS servers? Seems like extra work since the DHCP server can easily provide that info to the workstations as well. In fact I believe it does this by default. My DHCP server provides IP address, gateway and DNS. Just something to consider.
I understand. But I'm trying to figure out is why it's not getting the DNS server? Any ideas?
SOLUTION
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
What I said was when I set the computer to obtain DNS automatically it didn't get the DNS server. It got the 8.8.8.8.  I think I might have the scope set up wrong on the DHCP server I will check it
You also mentioned this is only happening on some computers. Others are working fine. Which would lead me to believe your Microsoft DHCP is set up correctly. Sounds like maybe these other workstations are somehow hard-wired to your ISP router or its WiFi. 
I'll do some checking and get back to you thank you
I checked the scope and it was my fault.   I had the router pointing to the ISP.    I've changed the router to the DNS server.

The computer I am testing has Obtain automatically for both IP and DSN.  When I rebooted the computer, it had the ISP as the DHCP server and 8.8.8.8 and 2.2.2.2 as the DNS servers 
Do you think I'm going to have to do a release/renew?
Yes. Or even better once you have your router updated I would just reboot the workstations. Let them do a new DHCP request and from there on you should be good. Make sure there are no static assigned PCs left.
I've rebooted the one computer twice it's still getting the original ISP
SOLUTION
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
I think I'm going to enter all the IP addresses manually reboot the computer so we'll have everything it should then set everything back to automatic and see what happens. Your thoughts on this
SOLUTION
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
I'm not sure if I have access to the ISP router
I do have access to the Sonicwall which is the original Router IP.    How do I disable it issuing IPs? 
When you have a computer with the wrong DNS address, run ipconfig /all on it.  Look at what it is using as a DHCP server.  As E C implied, you likely have the DHCP server on the firewall/router active.  That should be shut off.

If you look around the Sonicwall's interface, you should find LAN settings that include DHCP settings.  You should be able to turn it off there.

E.C. and David's post about disabling DHCP on the ISP, solved all the issues.

Thanks to all.    

Stay Safe
Glad to hear it.

Do remember the ipconfig /all trick to point you to the DHCP server being used (as well as other things).  I find that most of the work of troubleshooting is analyzing the symptoms; the fix is often easy.  This is a good example of that.
Yes I do. I was just having a brain fart about turning off the ISP issuing IP addresses. Thanks to everyone stay safe