13.9.1 ProblemYou want to modify the DNS Server settings. 13.9.2 Solution13.9.2.1 Using a graphical user interface
13.9.2.2 Using a command-line interfaceWith the following command, replace <Setting> with the name of the setting to modify and <Value> with the value to set: > dnscmd <DNSServerName> /config /<Setting> <Value> 13.9.2.3 Using VBScriptset objDNS = GetObject("winMgmts:root\MicrosoftDNS") set objDNSServer = objDNS.Get("MicrosoftDNS_Server.Name="".""") objDNSServer.<Setting> = <Value> ' e.g. objDNSServer.AllowUpdate = TRUE objDNSServer.Put_ 13.9.3 DiscussionThe Microsoft DNS server supports a variety of settings to configure everything from scavenging and forwarders to logging. With the DNS Management snap-in, the settings are spread over several tabs in the Properties property page. You can get a list of these settings by simply running dnscmd /config from a command line. For the CLI and VBScript solutions, the setting names are nearly identical. In the VBScript solution, be sure to call the Put_ method after you are done configuring settings in order for the changes to take effect. 13.9.4 See AlsoMSDN: MicrosoftDNS_Server |