Admin Reports

23 Jan, 2008

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

Posted by: BSchwarz In: Server Resources| Tutorials

First lets add all the Host(A) records.

Right click the domain in the left windows

Select new host record

You’ll see this:

host.PNG

Now enter the IP in the box that says IP addres. Don’t add anything to name. This will make so the main domain, in this case justbs.us, resolves to the IP.

Once you have the IP set click the Add host button. A popup will let you know the record was added sucessfully. The IP you put in will remain except for the last 2 octets. You can now add a record for www.yourdomain.tld.

To do that type www in the Name box. You’ll see the www. appear in Fully qualified domain box. Now add the last 2 digits to the IP. These will be the same as the first record you added. Unless you want www.yourdomain.tld to forward to another IP. Continue this procedure to add, mail, ftp or any other subdomain you want to add. make sure you also add a wildcard record. To do this add an * to the Fully qualified domain box and set IP. This will allow any request to non-existent subdomains to forward to the root domain.

Now let’s add an MX record(Mail Exchanger).


Pages: 1 2 3

6 Responses to "Adding A, IP, MX Records to a Windows DNS zone"

1 | elac

December 3rd, 2008 at 7:05 PM

Avatar

I did all of this…. Then I went to godaddy to change the nameservers that my domain points to and when I typed in NS.example.com and NS2.example.com 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?

2 | elac

December 3rd, 2008 at 7:38 PM

Avatar

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

3 | shey

March 29th, 2009 at 3:37 PM

Avatar

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 godaddy.com as well.

4 | BSchwarz

March 30th, 2009 at 6:59 PM

Avatar

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

5 | BSchwarz

March 30th, 2009 at 7:04 PM

Avatar

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

http://adminreports.com/setting-up-windows-server-2003-dns-server/

6 | shey

March 30th, 2009 at 11:55 PM

Avatar

BSchwarz, Thank you for your response. I’ve already done all the steps from the link you provided and went to my godaddy.com 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 both servers.
3. My DNS on Server1 is configured: abc.com+server2+hostA+192.168.1.211 this ipaddress is the ipaddress I assigned to my server2 connected to the HUB. www+Alias(CNAME)+server2.abc.com
4. My IIS Web Site settings: Description:abc.com, IPAdress:192.168.1.211, TCP Port:80, Headers Value:www.abc.com

The settings above works locally however, when I change the ipaddress on step4 with my ISP IPAddress which is I registered to GoDaddy.com, the abc.com won’t work both local & public.

Comment Form

About

Admin Reports is a resource for forum and server admins geared towards admins that run communities on Windows Servers and IIS.

You will find tutorials, tips and tricks to tweak your Windows server, howto and reviews of forum software packages.

Advertisement

 

March 2010
M T W T F S S
« Sep    
1234567
891011121314
15161718192021
22232425262728
293031  

Who’s Online