Windows Server® 2012 Unleashed
by Rand Morimoto, Michael Noel, Guy Yardeni, Omar Droubi, Andrew Abbate, Chris Amaris
Using the DNSCmd Command-Line Utility
The DNSCmd utility is essentially a command-line version of the DNS Manager console. Installed as part of the Windows Server 2012 DNS Server role, this utility enables administrators to create zones, modify records, and perform other vital administrative functions via the command line. You can view the full functionality of this utility by typing dnscmd /? at the command line, as illustrated in Listing 10.3.
Listing 10.3. DNSCMD Command Options
Usage: DnsCmd <ServerName> <Command> [<Command Parameters>]<ServerName>: IP address or host name -- remote or local DNS server . -- DNS server on local machine<Command>: /Info -- Get server information /Config -- ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access