With the coming of Windows Server 2008 Core, its time to go back to the good old days of command line. We can add the DNS Server role and add manage DNS Server including setting up Forward and Reverse Lookup zones from the command line.
The following procedure should help you to setup and Configure a DNS server in Windows Server 2008 & Windows Server 2008 Core installation:
Add DNS Server Role
C:\Users\Administrator> start /w ocsetup DNS-Server-Role
In Windows Server 2008 Core it is as follows
C:\Users\Administrator> start /w ocsetup DNS-Server-Core-Role
That installs the DNS Server role. We can now configure the DNS Server using the “dnscmd” utility.
Here we’ll see the basic configurations. For more detailed instructions of DNSCMD, click here
Add a Forward Lookup zone
For the primary domain, add a forward lookup zone as follows:
C:\Users\Administrator> dnscmd PRIMARY /zoneadd hq.wr.COM /primary /file hq.wr.COM.dns
Add a Reverse Lookup Zone
C:\Users\Administrator> dnscmd PRIMARY /zoneadd 0.168.192.in-addr.arpa
Add an “A” record for the domain
C:\Users\Administrator> dnscmd PRIMARY /recordadd hq.wr.COM @ A 192.168.0.5
Add Records
C:\Users\Administrator> dnscmd PRIMARY /recordadd hq.wr.COM dc1 CNAME hq.wr.COM
That should get you up and running on the DNS Servers. Refer to the above mentioned DNSCMD manual page for more advanced setup and configuration information.
Incoming search terms:
- create dns zone command line (17)
- dns commands in windows 2008 (13)
- windows server 2008 dns command line (13)
- install dnscmd windows 2008 (11)
- configure dns server 2008 core (11)
- windows server 2008 core dns (11)
- set dns command line (10)
- dnscmd utility (10)
- install dns server 2008 command line (9)
- install dns command line (9)
why server core has not all types role that is available windows server 2008 gui mode?
whatever, i like server core so please send same notes in my e-mail address.
enthuvade ethoke…….dns, server core, kopp………..i am a mcp specialist you know!!!!!!!!!!!