Wireless Networks Thread, DHCP Scope change in Technical; I'm having a bit of a nightmare at the moment, and hope someone can help.
We had a dhcp server ...
-
15th April 2011, 09:28 AM #1 DHCP Scope change
I'm having a bit of a nightmare at the moment, and hope someone can help.
We had a dhcp server set up with a 192.168.x.x scope, this worked fine, but i've since found out that CLEO assign us a set of ip addresses which are in the 10.x.x.x range. So I have decided to move to the CLEO range of ip addresses by creating a new scope.
I have setup all the scope options and when the clients pickup a new ip address it comes from the new scope, but I have an issue at the moment. In a group policy was the setting to set the DNS Server to the old 192.x.x.x address, so every PC now has a new ip address but when I do a nslookup it tries to go to 192.x.x.x I have done a bit of searching on the net and found where the setting was set and have removed it from the offending GPO, however, i've since found out that I can't do a gpupdate from the client as they are looking for the dns server to resolve the names. The only way around this I have found was to remove the DNSClient registry key from every PC, after this if I did a ipconfig /renew it would show my new ip address for the nslookup, and everything would resolve. I have then done a gpupdate /force and rebooted and everything seemed fine.
That was until this morning, I have walked in and the DNSClient key has reappeared in the registry on some PC's, and it's showing the old 192.x.x.x dns setting rather than the new 10.x.x.x server. The strange thing is it isn't being applied through any of the group policies that i've looked at, so can't understand why it's coming back.
Can someone please help me get rid of this setting. I finish today and then i'm on holiday for the next week, so really need to have this sorted by the end of the day.
-
-
IDG Tech News
-
15th April 2011, 09:54 AM #2 Hi
Are you sure there are no other GPO's defining this?
Do gpresults /z > c:\gp.txt and post/OM
Are you sure DHCP is configured is configured properly, i.e the scopes? Check both the old and new for references to the old DNS server.
Sukh
-
-
15th April 2011, 10:14 AM #3 I usually set my DNS servers via DHCP scope options, have you got the new DNS address set there?
-
-
15th April 2011, 10:26 AM #4 I've set the DNS server in the scope options, and on some clients it works, but others put the dns server in from GPO, i can't see how as i've removed the setting, removed the registry key and run agpupdate /force to force the new policy on to the PC.
-
-
15th April 2011, 10:33 AM #5 I presume that the machines that are getting the GPO are in another OU with a seperate GPO giving them the DNS settings
Do as Sukh says and post gpresults - this then will show what gpo's etc are being applied.
-
-
15th April 2011, 10:35 AM #6
- Rep Power
- 15
Have you checked that it's not set via the local policy? if the local policy is set, and the GPO(s) are "Not configured", then it will keep the local policy setting.
-
-
15th April 2011, 10:38 AM #7 Here's the gp.txt from a client that has picked up the old setting.
Code:
GPO: Computers
Setting: Software\Policies\Microsoft\Windows NT\DNSClient
State: Enabled The gp.txt from a client that picked up the correct server didn't have this setting.
The only difference I can see is the computers policy, which on one has the DNSClient, but on the other doesn't. Both PC's have had a gpupdate /force run yesterday and a reboot. After switching on today the setting is on one but not the other.
-
-
15th April 2011, 10:40 AM #8 the PC's don't have any local policies set, i ran rsop.msc and checked them, everything was empty. The strange thing is some computers in one ou will be ok, others will not. I've been round all 350 PC's and removed the setting manually and run a gpupdate /force so would have thought they would have brought the new setting down.
-
-
15th April 2011, 10:46 AM #9 @dezt - What I was looking for was for all the results from the out put. Also, if you can provide me or check your GPO settings in all your GPOs. You should be able to save this HTML and post/PM.
I have only seen this once before and basicially the issue was with gpo tattooing.
If you delete the DNS entry on the problematic PC, and do a gpupdate /force and/or reboot the machine, do the old DNS server entries come back?
Sukh
-
-
15th April 2011, 10:59 AM #10 @sukh pm sent.
When i delete the entry and do gpupdate /force, sometimes the settings come back, but on other PC's they don't. It's random.
-
-
15th April 2011, 11:01 AM #11 
Originally Posted by
dezt
@
sukh pm sent.
When i delete the entry and do gpupdate /force, sometimes the settings come back, but on other PC's they don't. It's random.
it sounds like there is a gp somewhere that is enforcing the dns setting.
can you pm me a copy of gpresult from a machine without the problem and one with the problem?
-
-
15th April 2011, 11:03 AM #12 hi
if you have more than one DC check event logs for replication errors your changes might not be applied to another DC and pc's connecting to it will get old settings
-
-
15th April 2011, 11:24 AM #13 @glennda pm sent.
@p3dr0 i've just looked at my other DC and the settings are correct in Group Policy.
-
-
15th April 2011, 11:34 AM #14 
Originally Posted by
dezt
@
glennda pm sent.
@
p3dr0 i've just looked at my other DC and the settings are correct in Group Policy.
Just replied
-
-
15th April 2011, 11:38 AM #15
-
SHARE: 
Similar Threads
-
By rob101 in forum Wireless Networks
Replies: 11
Last Post: 21st May 2009, 01:48 PM
-
By KWestos in forum Windows Server 2000/2003
Replies: 1
Last Post: 17th March 2009, 10:05 PM
-
By shirzay in forum Network and Classroom Management
Replies: 22
Last Post: 7th August 2008, 05:31 PM
-
By TornUp in forum Wireless Networks
Replies: 5
Last Post: 4th June 2008, 08:38 AM
-
By NetworkGeezer in forum Wireless Networks
Replies: 2
Last Post: 19th April 2007, 04:01 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules