This script configures DNS on the target computer. To perform the actual configuration tasks, the script uses the Dnscmd utility.

For more information about Dnscmd.exe, see Dnscmd Overview.

Note   DNS should already be installed on the target computer before running this script.

 

Value

Description

Input

Environment variables. Contains the property values, custom property values, database connections, deployment rules, and other information that the scripts require to complete the deployment process

Output

·     ZTIConfigureDNS.log. Log file that contains events that this script generates

·     BDD.log. Log file that contains events that all MDT scripts generate

References

·     Dnscmd.exe. Assists administrators with DNS management

·     ZTIUtility.vbs. Includes support functions and subroutines that the script uses

Location

distribution\Scripts

Use

cscript ZTIConfigureDNS.wsf </debug:value>

 

Arguments

Value

Description

/debug:value

Outputs the event messages to the console and to the .log files. If the value specified in value is:

·     TRUE, event messages are sent to the console and the .log files

·     FALSE, event messages are sent only to the .log files (This is the behavior when the argument is not provided.)

 

Properties

Name

Read

Write

DNSServerOptionDisableRecursion

˜

 

DNSServerOptionBINDSecondaries

˜

 

DNSServerOptionFailOnLoad

˜

 

DNSServerOptionEnableRoundRobin

˜

 

DNSServerOptionEnableNetmaskOrdering

˜

 

DNSServerOptionEnableSecureCache

˜

 

DNSServerOptionNameCheckFlag

˜

 

DNSZonesxName

˜

 

DNSZonesxType

˜

 

DNSZonesxMasterIP

˜

 

DNSZonesxDirectoryPartition

˜

 

DNSZonesxFileName

˜

 

DNSZonesxScavenge

˜

 

DNSZonesxUpdate

˜

 

 

Note   The x in the properties listed here is a placeholder for a zero-based array that contains DNS configuration information.

Related Topics

Scripts