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?

1 Answer 1


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.

  • 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? Mar 25, 2010 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. Mar 25, 2010 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, 2010 at 4:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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