DHCP + Windows

Soldato
Joined
11 May 2004
Posts
4,790
Location
Gloucester
Is there any way of stopping Windows from trying to register itself with DNS via a DHCP option? I've tried searching the MS Knowledge base but they don't list any DHCP codes beyond the standard things such as wins etc.

The option I need to turn off:
tcp.png


Of course it can be done manually but that's a royal pain in the neck to do it for each host.

I'm using the standard ISC DHCPd, but that shouldn't matter as it's just the codes I'm after and they're client specific not DHCP server specific.

Any help would be appreciated. :)
 
just to summarise

you want to stop all clients registering their hostname with the DNS server when they are assigned an IP by DHCP

eg

\\clientworkstation36 or whatever ?
 
MrLOL said:
just to summarise

you want to stop all clients registering their hostname with the DNS server when they are assigned an IP by DHCP

eg

\\clientworkstation36 or whatever ?
Well, your specific example only fails back to DNS if it can't resolve the name using NetBIOS / WINS. But yes that's essentially what I want.

The reason being is that forward and reverse entries are added to the zone by DHCPd for each host when it creates the lease, which is slightly more secure than letting any random client update DNS from within that network.

The problem is that my log files for named are filling up with "Client update denied" entries for each computer as it attempts to register itself every 5 minutes until it succeeds. (Actually only XP Home seems to attempt it every 5 minutes, XP Pro and Vista don't)
 
Group policy is where you need to look,

computer config > administrative templates > network > dns client

there should be options for "Dynamic Updates" and "Register PTR records".

Disable as needed.
 
Back
Top Bottom