Hi to all.
I'm new into administration environment and I'm a bit confused by the Windows DNS thing.
The procedure for 2008 and 2003 is identical, so it can help if you know either.
Now, lets get to the point:
I have a dedicated server behind a firewall. I got IPs assigned to my NIC correctly, and this works nice.
IIS also serves the default web site correctly on all available IP addresses.
However, to map domains onto IP addresses, I need a nameserver. Either one of the hosting company or my own.
I wish to use my own as client (a real owner) wants his clients to use his domain name for a nameserver.
So, I have now installed DNS service on the server and now I am a bit lost about what to do next.
I know I should add zones, etc, but due to the absolute lack of appropriate documentation I'm completely confused with all this and how it works. The mere concept is clear to me, but adding records to DNS service in Windows is kinda complicated and does not
base on txt file which I consider would be easier to do and comprehend.
So, what should I do now?
Let's take for example that I have registered domain mynsdomain.com to be a pure nameserver domain and hosting company website.
I have added 83.125.35.20 and 83.125.35.21 to ns1.mynsdomain.com and ns2.mynsdomain.com respectively as my name servers in my registrar.
Those IP addresses (they are made up for demonstration purposes) map via NAT to 192.168.30.20 and 192.168.30.21 respectively.
The first thing that came across my mind is to add a Forward Lookup Zone (Primary zone) for the domain mynsdomain.com.
I did so.
I've also added two A records: ns1 and ns2 record mapping to 192.168.30.20 and 192.168.30.21 respectively for my two name servers.
Now, I have opened zone properties and this is where my problems begin:
- in SOA tab, as entry in Primary server field I have a cryptic name consisting of my system name and my hosting company name separated by dots (a87dhd9machine.planet.local).
I presume TTL and interval values don't matter atm, so let's move onto Name Servers tab.
- in Name Servers tab I have the same cryptic name as a FQDN and no IP addresses mapped to it.
I did what seems logical to me and I've added
192.168.30.20 and 192.168.30.21 IP addresses there. Both validated OK.
Now, I'm asking, what to do next and what I did wrong if I did?
What do I need to change in this zone configuration and how do I add hosted websites that use this name server.
From what I've understood so far, I have to add a new zone for each website (domain) I'm hosting.
But, what about their SOA and Name Servers tabs? What to do there? How I map those to my ns1.mynsdomain.com and ns2.mynsdomain.com?
What is this "add new Domain" thing inside a zone when adding new records? Should I maybe use that?
If I want this machine to be a host for one more ns domain, do I just repeat procedure?
These are my questions. Thank you for your assistance and kindness in helping.
DNS translates a domain name to a IP Address. Fist you setup your registered domain name with your DNS servers. Depending on the registar it could take some time for that change to occur. You can ping your domain name to see what IP it is being mapped to.
On your server you will need to create a "A record" to point to the IP Address (server) on your network that is hosting the site. As far as adding a new domain, you do not need to do that. Do not confuse your local network with your domain name of your website.
sxt
0 Points
3 Posts
Configuring a custom Windows 2003/8 DNS server for webhosting (asking for help)
Apr 25, 2008 09:45 AM|LINK
rfwilliams77...
Participant
851 Points
411 Posts
Re: Configuring a custom Windows 2003/8 DNS server for webhosting (asking for help)
Sep 04, 2008 07:10 PM|LINK
One tool that helped me when I set up DNS servers is www.dnsstuff.com.
jthomas8946
Member
181 Points
240 Posts
Re: Configuring a custom Windows 2003/8 DNS server for webhosting (asking for help)
Sep 04, 2008 07:28 PM|LINK
DNS translates a domain name to a IP Address. Fist you setup your registered domain name with your DNS servers. Depending on the registar it could take some time for that change to occur. You can ping your domain name to see what IP it is being mapped to. On your server you will need to create a "A record" to point to the IP Address (server) on your network that is hosting the site. As far as adding a new domain, you do not need to do that. Do not confuse your local network with your domain name of your website.
jthomas8946
Member
181 Points
240 Posts
Re: Configuring a custom Windows 2003/8 DNS server for webhosting (asking for help)
Sep 04, 2008 07:31 PM|LINK
Sorry, this post was made in April; I thought it was more recent. I assume you have your issues solved by now.