• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 786
  • Last Modified:

need help setting up a public DNS server

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??????
0
johnsar
Asked:
johnsar
  • 16
  • 7
  • 2
  • +3
1 Solution
 
npinfotechCommented:
If you're just looking for a dns server to respond to requests, google has a free offering (8.8.8.8 and 8.8.4.4):

http://code.google.com/speed/public-dns/

Open DNS is also an option: http://en.wikipedia.org/wiki/OpenDNS

208.67.222.222 (resolver1.opendns.com)
208.67.220.220 (resolver2.opendns.com)
208.67.222.220
208.67.220.222
0
 
johnsarAuthor Commented:
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?

0
 
npinfotechCommented:
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.  
0
Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

 
johnsarAuthor Commented:
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????
0
 
johnsarAuthor Commented:
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?
0
 
npinfotechCommented:
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.
0
 
johnsarAuthor Commented:
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???

0
 
npinfotechCommented:
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.
0
 
johnsarAuthor Commented:
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.

0
 
npinfotechCommented:
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?
0
 
johnsarAuthor Commented:
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?????
0
 
AlanConsultantCommented:
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)?

Alan.

0
 
johnsarAuthor Commented:
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?
0
 
npinfotechCommented:
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.
0
 
johnsarAuthor Commented:
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.
0
 
thehagmanCommented:
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.
0
 
johnsarAuthor Commented:
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.



0
 
johnsarAuthor Commented:
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 192.168.172.27 and then everything worked fine.

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

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?



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

is this normal??
0
 
johnsarAuthor Commented:
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?
0
 
npinfotechCommented:
I'd say just set your DNS server to use forwarders, then make sure that your ISP is not one of the forwarders.
0
 
LinuxNinjaCommented:
Test you server's ability to forward requests by setting your TCP/IP dns serve address to 127.0.0.1
This tells your server to use itself for dns resolution.
0
 
johnsarAuthor Commented:
im going to use roothints to test. see if it works.
0
 
johnsarAuthor Commented:
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???
0
 
AlanConsultantCommented:
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.

Alan.
0
 
johnsarAuthor Commented:
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????
0
 
johnsarAuthor Commented:
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...
0
 
ee_autoCommented:
Question PAQ'd and stored in the solution database.
0

Featured Post

A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

  • 16
  • 7
  • 2
  • +3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now