Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dns Suffix

Status
Not open for further replies.

Max12

IS-IT--Management
Feb 22, 2002
3
I'm looking for a way to add/change the dns suffix search order under tcp/ip settings on my workstations with a vbs that I will run from the logon script. I can't do it with WMI (objItem.DNSDomainSuffixSearchOrder) it's read only. Any other way to do this ?

thanks
 
dns suffix search orders are a very bad juju to use in the first place...if possible, eliminate a search order, as they are trouble, and will eventually lead you to trouble as well.

there is a reg key though...

HKLM\System\CurrentControlSet\Services\Tcpip\Parameters

there will be a value named SearchList
add the suffixes in like so (with no spaces between them):
domain1.net,domain1.com,domain2.net,domain2.com

so on and so forth

likewise, if you removed all entries from this key, it should adjust your properties to be default, which is what they should be actually...append primary and connection specific dns suffixes and append parent suffixes of the primary dns suffix.

-Brandon Wilson
MCSE00/03, MCSA:Messaging, MCSA03, A+
almost got a paragraph there :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top