LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to run "Closed" DNS on CentOS using BIND (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-run-closed-dns-on-centos-using-bind-433360/)

PhilipTodd 04-09-2006 10:56 AM

How to run "Closed" DNS on CentOS using BIND
 
I've been told that I need to run a "Closed" DNS on my server. Can someone help with how to do this? Can I set this through CPANEL ?

THanks!

acid_kewpie 04-09-2006 01:14 PM

closed?? I assume that simply means a server that does not have internet based forwarders for it, so will only resolve local addresses. if that's so, then that's just a bog standard bind install with your own domain and forwarding denied. Personally i'd suggest using dnsmasq instead though if it's only a little thing you're after. just fill the /etc/hosts file on the server it's running on and then other local machiens can use it as a dns server for local machines.

gmcmaster 04-09-2006 01:16 PM

Are you trying to do this on a web host? If so do you have root access?

PhilipTodd 04-09-2006 11:25 PM

WHen I look at my domain name on dnsreports.com, it suggests the following:

ERROR: One or more of your nameservers reports that it is an open DNS server. This usually means that anyone in the world can query it for domains it is not authoritative for (it is possible that the DNS server advertises that it does recursive lookups when it does not, but that shouldn't happen). This can cause an excessive load on your DNS server. Also, it is strongly discouraged to have a DNS server be both authoritative for your domain and be recursive (even if it is not open), due to the potential for cache poisoning (with no recursion, there is no cache, and it is impossible to poison it). Also, the bad guys could use your DNS server as part of an attack, by forging their IP address.

Thanks,

Philip

PhilipTodd 04-09-2006 11:26 PM

It's dnsreport.com

Sorry

acid_kewpie 04-10-2006 01:26 AM

well that's down to your existing dns servers for your domain. if you're not running them then you can't do anything about them. if you are running that server then either firewall that port so external users can't hit it, or just remove the forwrding options as mentioned above.


All times are GMT -5. The time now is 10:47 PM.