Your company has a server named Server1 that runs a Server Core installation of Windows Server 2008 R2, and the DNS Server server role. Server1 has one network interface named Local Area Connection. The static IP address of the network interface is configured as 10.0.0.1. You need to create a DNS zone named local.contoso.com on Server1.
Which command should you use?
A.
ipconfig /registerdns:local.contoso.com
B.
dnscmd Server1 /ZoneAdd local.contoso.com /DSPrimary
C.
dnscmd Server1 /ZoneAdd local.contoso.com /Primary /file local.contoso.com.dns
D.
netsh interface ipv4 set dnsserver name=”local.contoso.com” static 10.0.0.1 primary
Answer C is definetly wrong. There is not parameter saying “/file” for dnscmd. Instead B seems to be okay. It properly creates an active-directory integrated zone.
Also see: http://technet.microsoft.com/en-us/library/cc756116(WS.10).aspx#BKMK_22 This link even shows an example that is the same like the command line used in B: “dnscmd dnssvr1.contoso.com /zoneadd test.contoso.com /dsprimary”
A C answer is correct. On server is installed only DNS Server role. So we can only crete a primary zone.(Standard zone)
Eugeniusz, I agree with you. C is the correct answer. In this link “http://technet.microsoft.com/en-us/library/cc772069(v=ws.10).aspx#BKMK_22” you can see the syntax of the command “dnscmd /zoneadd”. With the parameter “/primary /file ” it is created a standard primary zone, and it is specified the name of the file that will store the zone information.
With the parameter “/dsprimary” the zone that you creates is stored in AD.
Here is a syntax for dnscmd.exe command found on Internet; You will use switch /file when host a zone on a server based on an existing (perhaps restore) zone file.
dnscmd.exe /zoneadd zonename /primary /file filename /load
As long the command is valid, I would choose C over B. What do you think?
C is the correct answer.
The question does not indicate that Server1 is a domain controller. Active Directory integrated zones cannot be stored on member servers. The correct answer would therefore be C.
I agree with the answer. C