Adding A, IP, MX Records to a Windows DNS zone

If you have to first set up your DNS server on Windows check out Setting Up Windows Server 2003 DNS Server. If you already have your Windows DNS server setup and just want to add a few records this tutorial will explain how to add those DNS records.

First thing you need to do is open Windows DNS Manager if it already isn’t open.

Start > Administrative Tools > DNS

In the left window of the DNS manager expand the forward zones folder and right click the zone you want add records to.

Select Properties. Now the first thing we want to do configure the Start of Authority(SOA). When you setup the zone it set defaults that are not rfc compliant. Lets get that done first.

The first section is the serial number. You should set each section as follows:

  • Serial number should be in yyyymmdd01 format. Set the year, then month, then day and finally an 2 digit number that will increment every update. Start with 01
  • Primary server should be ns.yourmain.tld or whatever you called the name server. Default was the domain name. You can use the default if the root domain is actually registered as a name server for you domain
  • Responsible party would be the DNS admin email, Normally hostmaster.yourdomain.tld.
  • Refresh interval set to 20 minutes.
  • Retry interval set to 15 minutes.
  • Expires after set to 14 days.
  • Minimum time to live(TTL) set to 1 hour.
  • TTL for this record should be default so you shouldn’t have to change it. It should be 0 :1 :0 :0.

Those are minimum values and can be changed if you feel the need. With those values if you use a site like DNS Reports you won’t get any errors.

Lets add some other records now.

Leave a Reply

8 Comments on "Adding A, IP, MX Records to a Windows DNS zone"

Notify of
avatar
wpDiscuz