Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

So i have a domain name that i would like to host from my static ip internet connection. I have windows server 2008 r2 installed, and dns setup. The dns server is currently behind a firewall, and i have the appropriate rules to allow traffic to reach it.

My question is, what entries do i need to create in the DNS so that i can have some nameservers to use at my domain registrar, so that the domain correctly points to the server?

I know that most domains have nameservers like ns1.domain.com, ns2.domain.com, etc. What would i point those to in my DNS?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

You need a NS record that lists the hostname of your server (this defines it as a DNS name server) and you need an A record that matches that hostname to your external IP address. You then need to tell your domain registar to point to this hostname for DNS. That will get you started and then you're free to create other DNS records on your server as you wish.

share|improve this answer
    
what if i already have an A record for the hostname that points to an internal IP? do i change this to point to the external IP? –  Jason Miesionczek Mar 25 '10 at 1:39
    
The external world can not reach your internal IP addresses - if you need external access to a server, then yes, the A record needs to point to your external IP. –  Jon Rhoades Mar 25 '10 at 1:51
    
Don't forget about reverse DNS. Get your ISP to create a record for your public IP that also points to the domain you set up. –  Nic Mar 25 '10 at 4:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.