Home » Microsoft » 70-640 » Which command should you run?
Your network contains a single Active Directory domain named contoso.com.
The domain contains two domain controllers named DC1 and DC2 that run Windows Server 2008 R2. DC1 hosts a primary zone for contoso.com.
DC2 hosts a secondary zone for contosto.com.
On DC1, you change the zone to an Active Directory-integrated zone and configure the zone to accept secure dynamic updates only.
You need to ensure that DC2 can accept secure dynamic updates to the contoso.com zone.
Which command should you run?
A. dnscmd.exe dc2.contoso.com /createdirectorypartition dns.contoso.com
B. dnscmd.exe dc2.contoso.com /zoneresettype contoso.com /dsprimary
C. dnslint.exe /ql
D. repadmin.exe /syncall /force
Correct Answer: B
Explanation/Reference:
http://technet.microsoft.com/en-us/library/cc772069%28v=ws.10%29.aspx#BKMK_29
Dnscmd
A command-line interface for managing DNS servers. This utility is useful in scripting batch files to help automate routine DNS management tasks, or to perform simple unattended setup and configuration of new DNS servers on your network.
dnscmd /zoneresettype
Changes the zone type.
Syntax
dnscmd [<ServerName>] /zoneresettype <ZoneName> <ZoneType> [/overwrite_mem | /overwrite_ds] Parameters
<ServerName>
Specifies the DNS server to manage, represented by local computer syntax, IP address, FQDN, or host name. If this parameter is omitted, the local server is used.
<ZoneName>
Identifies the zone on which the type will be changed.
<ZoneType>
Specifies the type of zone to create. Each type has different required parameters:
/dsprimary
Creates an Active Directory-integrated zone.
/primary /file <FileName>
Creates a standard primary zone.
/secondary <MasterIPAddress> [,<MasterIPAddress>…] Creates a standard secondary zone.
/stub <MasterIPAddress>[,<MasterIPAddress>…] /file <FileName> Creates a file-backed stub zone.
/dsstub <MasterIPAddress>[,<MasterIPAddress>…] Creates an Active Directory-integrated stub zone.
/forwarder <MasterIPAddress[,<MasterIPAddress>]… /file<FileName>
Specifies that the created zone forwards unresolved queries to another DNS server.
/dsforwarder
Specifies that the created Active Directory-integrated zone forwards unresolved queries to another DNS server.
/overwrite_mem | /overwrite_ds
Specifies how to overwrite existing data:
/overwrite_mem
Overwrites DNS data from data in AD DS.
/overwrite_ds
Overwrites existing data in
Remarks
Setting the zone type as /dsforwarder creates a zone that performs conditional forwarding.