How to Create a DNS Zone with Standard DNS Records
Following these instructions will allow you to use your server as a DNS server.
Install and Configure the DNS Service Role
- Install the DNS Service Role
- Open the Server Manager.
- Click Dashboard.
- Click Add roles and features.
- On the Before You Begin screen, click Next.
- On the Installation Type screen, select Role-based or feature-based installation then click Next
- On the Server Selection screen, select your server from the list and click Next.
- On the Server Roles screen, check DNS Server. A dialog will appear. Click Add Features and then click Next.
- On the Features screen, click Next.
- On the DNS Server screen, click Next.
- On the Confirmation screen, click Install.
- On the Results screen, click Close.
- Configure the DNS Service Role
- Open the Server Manager.
- Click DNS
- Right-Click on your server and then click DNS Manager.
- Inside of DNS Manager...
- Right-Click on your server and click Properties.
- Click on the Advanced tab.
- Under Server Options check Disable Recursion.
- Click OK
Create a DNS Zone
- Open the Server Manager.
- Click DNS
- Right-Click on your server and then click DNS Manager.
- Inside of DNS Manager...
- Expand your server.
- Right-Click on Forward Lookup Zones and click New Zone...
- In the New Zone Wizard...
- On the Welcome screen, click Next.
- On the Zone Type screen, select Primary Zone and click Next.
- On the Zone Name screen, type the name of your zone and click Next.
NOTE: Unless you are a DNS expert, your zone name should be your domain name (for example, MySite.com)
- On the Zone File screen, click Next.
- On the Dynamic Updates screen, click Next.
- On the Completing the New Zone Wizard screen, click Finish.
Create the DNS Records
- Open the Server Manager
- Click DNS
- Right-Click on your server and then click DNS Manager
- Inside of DNS Manager...
- Expand your server.
- Expand Forward Lookup Zones
- Right-Click on your Zone(Domain Name) and choose the type of record you want to create.
NOTES:
You may have to select New Other Records in order to create all DNS record types.
"A" (Address) records map a name to an IP address (For example, Site.com > 192.168.1.1)
CNAME (Canonical Name) records map a name to another name (For example, www.Site.com > Site.com)
MX (Mail eXchange) records control where email is delivered.
NS (Name Server) records confirm that your server controls.\
DNS Record Template
Creating the following DNS records will provide a solid starting point for your DNS zone.
IMPORTANT: Whenever a dialog asks for a fully qualified domain name, the domain name must end with a period! For example, Site.com should be Site.com. with the period at the end.
Set up the YourDomain.com A Record:
Name=[Empty]
IP Address=[Your Website's IP Address]
Set up the www.YourDomain.com CNAME Record:
Alias Name=www
Fully Qualified Domain Name=YourDomain.com.
NOTES: There is a period at the end of your domain name. This is very important. Don't forget it.
Create the Mail.YourDomain.com A Record:
Name=Mail
IP Address=[Your Website's IP Address]
Create an MX Record so that all @YourDomain.com email is sent to the server Mail.YourDomain.com:
Host or Child Domain=[Empty]
Fully Qualified Domain Name=Mail.YourDomain.com.
Create the A Record which will define your primary name server:
Name=NS1
IP Address=[Your Website's IP Address]
Create the A Record which will define your secondary name server:
Name=NS2
IP Address=[Your Website's IP Address]
Configuring your Domain to use the NS1 and NS2 records that you created above:
- Right click on your Zone file (Domain name) and click Properties
- Click on the Name Servers tab.
- Remove any existing name servers.
- Click Add...
- Under the Server fully qualified Domain Name type NS1.YourDomain.com.
- Under IP address, type your website's IP address
- Click OK
- Click Add...
- Under the Server fully qualified Domain Name type NS2.YourDomain.com.
- Under IP address, type your website's IP address
- Click OK
- Click OK. If you receive a warning about deleting a GLUE record, Click Yes to confirm.
- Inside of your zone file, right click on the Start of Authority (SOA) Record and click Properties
- Under Primary Server type NS1.YourDomain.com.
- Click OK
You must also configure
Host Records at your registrar in order to run a custom name server.
Article ID: 1770, Created: September 17, 2012 at 7:20 PM, Modified: November 1, 2012 at 8:51 AM