DNS Setup in Windows Server
DNS Setup in Windows Server
From the Start menu, select Administrative Tools –> DNS to open the DNS console.
Right click on your Computer name and choose Configure a DNS Server to launch
the Configure DNS Server Wizard.
Click NEXT and then select the first option, Create a Forward lookup zone
On the next screen, leave the default option selected, This Server maintains the
zone, and click NEXT
Now you will need to enter the domain name that you want to create your first zone
file for.
Click NEXT, and NEXT again on the next two screens
On the Forwarders screen, select the option "No, it should not forward queries"
Click FINISH
In DNS Manager, expand your server name, then expand the ‘Forward Lookup
Zones’, right-click on your domain name and select Properties
Click on the Start of Authority (SOA) tab.
The SOA resource record is always the first record in a DNS zone. Set the Primary
Server to your primary nameserver:
Remove anything currently listed, and click Add and enter your nameservers (i.e. –
ns1.yourdomain.com , ns2.yourdomain.com)
When done, click OK to close the window. You are now ready to set up your zone
records.
Right-click on your domain name under Forward Lookup Zones, and select New
Host (A or AAAA)…
Leave the Name field blank, and under IP Address, enter the IP address you
configured for this web site in IIS, and click Add Host.
You will most likely also want to make a record for ‘www’, so repeat the above step
but this time instead of leaving the Name field blank, enter www in that field:
PART 4 – DISABLE DNS RECURSION
Congratulations! You have now set up DNS in Windows Server 2008 and have set
up DNS records for your domain name.
You can create additional DNS records as needed (MX, CNAME, etc) by right-clicking
on the domain under Forward Lookup Zones and selecting the appropriate type of
record you wish to create.