We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now


need help setting up a public DNS server

Medium Priority
Last Modified: 2012-05-11
I have my local DNS server in my domain environment , but want to have a Public dns server to use for times when my ISPs dns server fails to respond.

I already registered a free host/domain at dyndns.org, and i tried to look into the options for free users where to add my primary dns nameserver but i couldnt find anything.

i dont know if that feature is for paid users.

so is there any free domain hosting websites that allow users to  add nameservers for their dns server??

and after that, i would need to add my dns records in my DNS server??????
Watch Question

If you're just looking for a dns server to respond to requests, google has a free offering ( and


Open DNS is also an option: http://en.wikipedia.org/wiki/OpenDNS (resolver1.opendns.com) (resolver2.opendns.com)


oh no. i mean i want to use my own dns server besides my ISP dns server.

i mean an external dns server.  like if my ISPs dns fails, i can switch and use my own dns server.

in that case what should i do?

The way I'm reading it, you have forwarders setup to handle DNS requests for your domain.  These forwarders are provided by your ISP.  

You can add more forwarders (external DNS servers) to handle DNS requests, and if the forwarders you already have fail, requests will go to the next forwarder listed (like the google or openDNS ip addresses).  You just have to add additional foorwarders: http://technet.microsoft.com/en-us/library/cc754941.aspx.  


i dont think what you say is what i am looking for.

i want to do something like this: http://forums.devshed.com/dns-36/bet-you-want-to-setup-a-dns-server-huh-141940.html

i dont want to use third party dns. i want to be able to use my own.

but on windows. not linux.

I think i need to register a nameserver for a domain first. but im not clear.

how should i go about it????


i want to be able to give my dns server ip to someone else to use it over the internet.

how should i do that?
Ah, I got it.  What you want is to make an internal server accessible to the internet.  

Can you request a static IP address from your ISP?  That's all you really need.  

If not, I use to use a service called no-ip: http://www.no-ip.com/.  The free version sounds like what you want.


well, i am on ADSL , and my IP barely changes. i mean if i turn off the router and turn it on i might get a different ip, and i might not.

so i register a host name on that website, and then what would be the next step???

You sign up, install their client program, then you might have to configure your router or firewall to accept and direct incoming connections. http://www.no-ip.com/support/guides/other/using_cable_dsl_router.html

You should know that they the free version of the service is only supposed to be for personal use.


I signed up and created a free  host. downloaded the program.

my host is now mydnsserver.hopto.org.

what i should do now?

do i have to register a domain for what i i want to do ?

i dont want to host a web server. i just want to host a dns server.

Let's take a step back, because I'm a bit confused.

In a 2008 domain, you have to have dns setup, or else you don't have a domain.  So, you are already hosting your own dns server by default.

In your original post, you say that your ISP's dns is unreliable.  Do you use DHCP for your client computers, or do you set up their network aadapters manually?


manually. and yes i already have DNS server by default.

but I want my dns server to be accessible over the internet, for times when my ISPs dns server wouldnt work.

so for the sole purpose of this and not creating any records for now, then what should i do???

just make sure that the udp and tcp port of 53 is open on my router/NAT?????

Hi Johnsar,

I'm reluctant to jump in here, but....

Do you mean that you want to have a DNS server that is serving name resolution for your domain(s), so that if a third party wants to look up, say, the MX record for a domain that you own, your nameserver will provide it (rather than the third party being reliant upon your registrar's nameserver)?

Do you want to set up a nameserver to be the authoritative nameserver for your domain(s)?



ahh no.

i think registering the domain is not necessary as of now, because i dont want to have DNS records.

right now, i just want to get working the basics. such as just making my dns server accessible over the internet or that i can give my dns server ip to my friend to use it.

then after that, i will add other requirements.

you know what i want to do now?
why not just have your friend use a public DNS server?  maintaining one for external use doesn't seem worth it unless you're hsoting yor own mail/website/etc.


well, my reason is to learn and gaining knowledge and also to have something as a backup in case if my providers DNS goes down. and i can always build up on it if i need more.
Unless you specifically configured your local DNS server to use your ISP server as forwarder, it should be a fully featured recursive DNS server, which seems to be what you want. If you query it for some remote name like www.example.com, it will probably not forward the query to your ISP but rather check its preconfigured hints file for root name servers, which will authoritatively inform your of the servers responsible for "com", which in turn will inform your servre about the name servers reposnsible for "example.com" which will ultimately hand out an ip address for www.example.com.
Since you might expose internal information (yourdomain.local) to the outide, simply making your Windows DNS server available to the outside world may not be a good idea after all.
One more thing that comes to mind: I hope that there is a firewall between your box and the internet. For your friend to be able to use your DNS server, you need to allow inbound UDP traffic on port 53 and redirect it to your server.


I will do that and report back.

I use double NATing in my network. 1 would be at my router which does NATing another one would be the built in NAT for VMware workstation in which I installed the win 2008 Server on.

But i have to portforwrd the UDP and TCP port 53 on my router if i want my DNS server to be accessible from the internet.


well. i have port forwarded the port 53 on my router to my Host machine where the VMware server is hosted on, and I went to my VMware 2008 server, in DNS forwarders section, there was an IP of my router as the forwarder, i deleted the ip and afterwards i didnt have any connectivity to any website.

instead of having my routers IP in there, i tried to put my public IP as dns forwarder but it didnt work either.

so i put back my routers IP and i left the Primary DNS field of my TCP/IP settings of my vmware adapter to be the static ip of and then everything worked fine.

I appreciate it if you can test my DNS server externally to see if it works, my IP is

I tested it from my laptop, i put that IP as my primary DNS in TCP/IP settings and I had my connectivity to the internet.

but i want to be sure.

can anyone please do that?


also i tried to use the root hints instead of my routers IP as DNS forwarder but nothing worked.

is this normal??


in the DNS forwarders section, if i put the public Google DNS it works, but if i put any Root servers, it doesnt work.

is this normal???

what should i put if i dont want to use my ISPs DNS to query requests?
I'd say just set your DNS server to use forwarders, then make sure that your ISP is not one of the forwarders.
Test you server's ability to forward requests by setting your TCP/IP dns serve address to
This tells your server to use itself for dns resolution.


im going to use roothints to test. see if it works.


Can anyone tell me if there is any performance benefits between using a forwarder and a  root hint??

As far as i understand, using a Forwarder like my ISPs DNS means thats the queries are sent to my ISPs dns server and then they send and get the reply from the Root hint servers and then my query gets processed that way.

but if i use a root hint, i directly talk to the main root server and im not dependent on others DNS server to process the query for me. am i correct?

and hence if i use a root hint server, because i talk directly then i get better performance???

Not likely, but possible.

Firstly, and most importantly, you are connected to your ISP, so using their DNS server(s) is likely the fastest option, and if the result you want is cached there, it won't even go outside for a lookup (which is also true if you are using caching on your own nameserver, and bear in mind that your machine, and even yuor browser (I believe) can cache lookups).

However, your ISP's servers might be very slow, in which case, you might get faster results with a different public nameserver.



i dont know why but if i choose not to use use any Forwards and instead use Root hints, everything works, but i cant use my public IP to connect to any website from my laptop.

if i use the servers private IP, it works but not the public IP.

I also port forwarded the port 53 on my router.

is this normal????


Ok my DNS is working now.

I set my DNS server to use root hints and now from my laptop i  can use my public ip as DNS server to connect to websites, etc...
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.