Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
DNS Set by DHCP - not working
Name: MondeoST24 Date: October 17, 2008 at 05:30:04 Pacific OS: Windows Server 2003 CPU/Ram: Quad Core 4GB Product: HP DL140
Comment:
Hi,
I've got a Windows 2003 DHCP server on the network which should assign DNS servers of 192.168.50.4 and 192.168.50.5.
When certain clients log on and I run ipconfig /all the DNS server is set to 192.168.0.1 - all the other DHCP settings are correct.
If I run ipconfig /renew it fixes the problem - BUT as the day goes on machines revert back to having DNS set to 192.168.0.1. The affected machines are all set to "obtain dns server addresses automatically"
Name: paulsep Date: October 17, 2008 at 05:38:22 Pacific
Reply:
Sounds that there is another DHCP server running like a dsl router or something like that. And so the first one wins and assigns ip and dns information to the clients. So make sure, that only one DHCP server is running at your network.
0
Response Number 2
Name: MondeoST24 Date: October 17, 2008 at 05:49:04 Pacific
Reply:
Hi,
Thanks, that was my first thought, but I cant find anything else that could be doing this.
On the affected clients when I run ipconfig /all the DHCP Server which is shown is correct.
Also i've had dhcploc.exe running and thats not found any rogue servers.
It is very confusing.
0
Response Number 3
Name: paulsep Date: October 17, 2008 at 06:03:33 Pacific
Reply:
Ok, so if the clients gets the DNS server 192.168.0.1, what happens when you ping this IP address. Did you get a response?
Try ping -a 192.168.0.1
With a little luck, you also get the name of the machine with that IP. This should give you an idea on where to start searching.
0
Response Number 4
Name: MondeoST24 Date: October 17, 2008 at 06:08:45 Pacific
Reply:
It times out, but the address 192.168.0.1 is not even on our subnet, we're using 192.168.50.0/24
0
Response Number 5
Name: paulsep Date: October 17, 2008 at 06:11:52 Pacific
Reply:
When clients get the DNS server 192.168.0.1, what ip address did the client itself has?
0
Response Number 6
Name: MondeoST24 Date: October 17, 2008 at 06:16:21 Pacific
Reply:
It times out, but the address 192.168.0.1 is not even on our subnet, we're using 192.168.50.0/24
0
Response Number 7
Name: MondeoST24 Date: October 17, 2008 at 06:17:18 Pacific
Reply:
All the other DHCP settings are correct, ip address, mask, gateway, wins - its just the DNS entry that is wrong.
0
Response Number 8
Name: paulsep Date: October 17, 2008 at 06:21:16 Pacific
Reply:
Have you already tried to clear the arp cache and the dns cache at those workstations?
arp -d ipconfig /flushdns
0
Response Number 9
Name: Curt R Date: October 17, 2008 at 06:24:23 Pacific
Reply:
On the problem PC try this from a command prompt:
ipconfig /flushdns
and then release and renew.
I'm thinking maybe that was the PC you used to configure the router originally, or was connected to the router prior to you changing the subnet to .50 and it's trying to use dns info that's cached locally. Doing a /flushdns will hopefully clean any cached dns info and the unit will start picking up the correct info from your DHCP server.
It's worth a try anyhow.
If that doesn't fix the issue, open up the property sheet for your NIC and check the properties on your TCP/IP stack. If you had statically assigned it TCP/IP info previously with that address configured as your DNS, that could be causing it too if you didn't actually delete the DNS address.
MS's TCP/IP stack has a bad habit of not getting rid of the DNS address when you change from static to DHCP.
Summary: So my boss asked me last week to start moving our company workgroups over to our new windows 2003 server. Everything has been fairly straightforward up until I started working with DNS. Cliff Notes: -...
Summary: I have configured DHCP on the main Domain Controller (DC) server; this main DC names London has a static IP Address. However the member server although set to default TCP/IP configurations - automatic...
Summary: Hi all, im very new to using WINS. Well, heres whats going on. I read online that WINS lets you map and connect to unc paths when connected to a vpn over the internet. i have a workgroup. the reason w...