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

I did all of this…. Then I went to godaddy to change the nameservers that my domain points to and when I typed in and an error message said “Nameserver not registered” under both nameserver boxes.

What does this mean? Do I need to wait a few hours before changing the nameservers in godaddy? Or is something else wrong?


I think I figured it out. In the godaddy control panel I “registered” my name servers and set what ip address the name servers should point to. Then I went back to change the nameservers for my domain and it worked, it didnt say ‘nameserve not registered’ anymore.

Now I just gotta wait a few hours for it to propogate and see if it works.

Thanks for the article btw


Hello, I’m also having problem with this type of issue. Can you give me an instructions in how you configured your webserver. In my case, I also build my webserver (i.e. server1 and server2) server2 where i setup my webserver and I was able to access my website via local access. Now I wanted to access my website via publicly internet and I don’t know how to configure that part. I did signed-up for domain at as well.


Once you have a domain at godaddy you can register your name servers and then setup dns on your server.


If you follow this guide first you’ll see how to properly setup the name servers and register them at godaddy.

BSchwarz, Thank you for your response. I’ve already done all the steps from the link you provided and went to my account and registered my ISP IPAddress however, still not working via public internet. It works fine locally but accessing my site outside my network still doesn’t work. These are the steps in how I setup my servers. 1. I have 2wire router as my ISP DSL with my ISP IPAddress 2. I am using a HUB for my Server1 and Server2. My HUB is connected to my 2Wire Router and configured FORWARDER, so I can access internet on… Read more »

please Help me how to make the DNS server


I think everything said made a ton of sense. However, consider this, suppose
you wrote a catchier title? I am not saying your content isn’t good, but what if you added something that makes people
desire more? I mean Adding A, IP, MX Records to a
Windows DNS zone is kinda vanilla. You ought to peek at Yahoo’s home page and see how they create news titles to grab people interested.
You might add a video or a picture or two to grab readers excited
about what you’ve got to say. Just my opinion, it could make your posts a little livelier.