O'Reilly logo

Windows Server® 2012 Unleashed by Chris Amaris, Andrew Abbate, Omar Droubi, Guy Yardeni, Michael Noel, Rand Morimoto

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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                    -- ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required