DNS, DHCP, or the DC something is screwed up in Ackronym Land

My DC is running my DHCP on the small network Im operating. All the computers running on the DC were set to find the DNS server automatically (in the TCP/IP properties). . . . and everything has worked like a charm for a year.

Windows Networking 2246 This topic was started by ,


data/avatar/default/avatar24.webp

3 Posts
Location -
Joined 2004-08-31
My DC is running my DHCP on the small network Im operating. All the computers running on the DC were set to find the DNS server automatically (in the TCP/IP properties).
 
...and everything has worked like a charm for a year.
 
Suddenly, the web access started screwing up at all computers that did not have a static IP (IE the DHCP computers) on the network.
 
I decided to hard code the DHCP server's IP address into the box for the DNS address (in TCP/IP properties) for all of the computers that were having problems.
 
It worked great, my question is WHY?
 
Thanks for all your help!
Will Howard

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar19.webp

3857 Posts
Location -
Joined 2000-03-29
In your DHCP scope (the info that you are providing to the clients) you should have your DNS server IPs, gateway IPs, WINS IPs, etc. anyway. Did you not have an option in your client PCs' IP settings for DNS? If not, did the client PCs have a hardcoded DNS server already on them?

data/avatar/default/avatar24.webp

3 Posts
Location -
Joined 2004-08-31
OP
Did you not have an option in your client PCs' IP settings for DNS? If not, did the client PCs have a hardcoded DNS server already on them?
 
---------------------
 
Well, they did have an option for DNS but it was set to 'find automatically'. It had no problem finding it until yesterday and today.
 
Why would I have to hardcode the DNS to the DHCP server's IP address? Would it not find the DNS automatically with no problem?
 
 
Will Howard

data/avatar/default/avatar19.webp

3857 Posts
Location -
Joined 2000-03-29
Under the scope (IP range specific) or server (default settings for all scopes) options in DHCP, you *must* have your DNS server IPs in there so it can provide this information to your clients. On the client settings, the DNS entry can be left blank (where it reads "Obtain DNS server address automatically". That is how it is supposed to be setup. Is this combination how it was setup, and is no longer working? Or, have you now arrived at this combination from a previous configuration? When you state "hardcode the DNS to the DHCP server's IP address", it reads as if you are just now entering the DNS server's IP into your DHCP scope, which is how it should have been done all along.

data/avatar/default/avatar24.webp

3 Posts
Location -
Joined 2004-08-31
OP
I have had the DNS address in the DHCP's settings all along. I'm talking about on the clients computer's settings.
 
I have to hardcode the internal IP for the DHCP server into the DNS settings for the client. It used to be Obtain DNS Auto, but I had to change it because the Internet connection started going haywire.
 
Why would doing this to a clients computer even do anything? It should find all of this information automatically.
 
Thanks for the help,
Will Howard

data/avatar/default/avatar05.webp

748 Posts
Location -
Joined 2001-05-21
OK, so to summarise:
 
You have DHCP and DNS running on one server
DHCP scope includes an entry for DNS, which points to the DNS server (which just happens to be the same machine as the DHCP server)
Suddenly, machines which lease addresses from the DHCP server are no longer able to access the internet because they're not picking up the DNS record
 
Right?
 
So, on one of the machines that can't see the internet, what happens if you type [font:courier]ipconfig from a command prompt?
 
Does the IP address and subnet match what the DHCP server should be providing? Or does the IP address start with 169? If that's the case, it means that the machine hasn't been able to get a new lease from the DHCP server, part of which will include the DNS server details.
 
It could be that your DHCP server has stopped working - check the server logs. Can you also see on the server what addresses are currently leased?
 
Just a couple of pointers
Rgds
AndyF

data/avatar/default/avatar19.webp

3857 Posts
Location -
Joined 2000-03-29
In the tradition of "Family Feud":
 
Good Answer! Good Answer! And the survey says...
 
Andy's on to something, as that is strong possibility. It could be that your clients aren't receiving IP information anymore. It might be the server, it could also be the network.