+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 27
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 ...
  1. #1
    dezt's Avatar
    Join Date
    Dec 2005
    Location
    Lancs
    Posts
    1,030
    Thank Post
    157
    Thanked 60 Times in 48 Posts
    Rep Power
    30

    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.

  2. #2

    Join Date
    Dec 2008
    Location
    Essex
    Posts
    2,144
    Thank Post
    1
    Thanked 326 Times in 316 Posts
    Rep Power
    77
    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

  3. #3
    gshaw's Avatar
    Join Date
    Sep 2007
    Location
    Essex
    Posts
    2,662
    Thank Post
    166
    Thanked 220 Times in 203 Posts
    Rep Power
    67
    I usually set my DNS servers via DHCP scope options, have you got the new DNS address set there?

  4. #4
    dezt's Avatar
    Join Date
    Dec 2005
    Location
    Lancs
    Posts
    1,030
    Thank Post
    157
    Thanked 60 Times in 48 Posts
    Rep Power
    30
    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.

  5. #5

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,817
    Thank Post
    272
    Thanked 1,138 Times in 1,034 Posts
    Rep Power
    350
    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.

  6. #6

    Join Date
    Oct 2006
    Location
    Guildford, Surrey
    Posts
    25
    Thank Post
    0
    Thanked 8 Times in 4 Posts
    Rep Power
    18
    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.

  7. #7
    dezt's Avatar
    Join Date
    Dec 2005
    Location
    Lancs
    Posts
    1,030
    Thank Post
    157
    Thanked 60 Times in 48 Posts
    Rep Power
    30
    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.

  8. #8
    dezt's Avatar
    Join Date
    Dec 2005
    Location
    Lancs
    Posts
    1,030
    Thank Post
    157
    Thanked 60 Times in 48 Posts
    Rep Power
    30
    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.

  9. #9

    Join Date
    Dec 2008
    Location
    Essex
    Posts
    2,144
    Thank Post
    1
    Thanked 326 Times in 316 Posts
    Rep Power
    77
    @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

  10. #10
    dezt's Avatar
    Join Date
    Dec 2005
    Location
    Lancs
    Posts
    1,030
    Thank Post
    157
    Thanked 60 Times in 48 Posts
    Rep Power
    30
    @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.

  11. #11

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,817
    Thank Post
    272
    Thanked 1,138 Times in 1,034 Posts
    Rep Power
    350
    Quote Originally Posted by dezt View Post
    @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?

  12. #12

    Join Date
    Mar 2011
    Location
    leeds
    Posts
    78
    Thank Post
    6
    Thanked 3 Times in 3 Posts
    Rep Power
    18
    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

  13. #13
    dezt's Avatar
    Join Date
    Dec 2005
    Location
    Lancs
    Posts
    1,030
    Thank Post
    157
    Thanked 60 Times in 48 Posts
    Rep Power
    30
    @glennda pm sent.

    @p3dr0 i've just looked at my other DC and the settings are correct in Group Policy.

  14. #14

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,817
    Thank Post
    272
    Thanked 1,138 Times in 1,034 Posts
    Rep Power
    350
    Quote Originally Posted by dezt View Post
    @glennda pm sent.

    @p3dr0 i've just looked at my other DC and the settings are correct in Group Policy.
    Just replied

  15. #15

    Join Date
    Mar 2011
    Location
    leeds
    Posts
    78
    Thank Post
    6
    Thanked 3 Times in 3 Posts
    Rep Power
    18

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Dhcp secondary scope
    By rob101 in forum Wireless Networks
    Replies: 11
    Last Post: 21st May 2009, 01:48 PM
  2. DHCP Scope
    By KWestos in forum Windows Server 2000/2003
    Replies: 1
    Last Post: 17th March 2009, 10:05 PM
  3. DHCP Scope is running out
    By shirzay in forum Network and Classroom Management
    Replies: 22
    Last Post: 7th August 2008, 05:31 PM
  4. DHCP Exclusion / not in scope
    By TornUp in forum Wireless Networks
    Replies: 5
    Last Post: 4th June 2008, 08:38 AM
  5. DHCP problem across wireless since scope change
    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
  •