Novell Home

Avoiding Unnecessary Traffic to DNS Server

Novell Cool Solutions: Trench
By David Souders

Digg This - Slashdot This

Posted: 5 Jul 2005
 

PROBLEM: Microsoft Client OS's love to check in with dns every time they boot, renew, to update their entry in dns. In our environment, that creates a lot of unnecessary traffic to the dns server since NetWare DNS/DHCP ignores these requests anyway. If you use sysprep to deploy your images, it turns the Register this connection with dns option back on even if you turn it off on your image.

SOLUTION: Create a batch file that runs the first boot after sysprep logged in as administrator. This batch file uses the netsh command to disable this "feature" on the Network Connections specified. Script included below - just change the name of the connection in quotes with the name of your network connections.

Example

netsh interface ip set dns "Local Area Connection" source=dhcp register=none

netsh interface ip set dns "Local Area Connection 2" source=dhcp register=none

netsh interface ip set dns "Local Area Connection 3" source=dhcp register=none

netsh interface ip set dns "Wireless Network Connection" source=dhcp register=none

netsh interface ip set dns "Wireless Network Connection 2" source=dhcp register=none

If you have any questions you may contact David at davidreg@davidandheather.com


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell