-   Linux - Software (
-   -   How do I confiure BIND 9 to resolve my domain name? (

Glenjosh 04-20-2006 06:06 AM

How do I confiure BIND 9 to resolve my domain name?
I am trying to setup my owm DNS server using Bind 9 to relsove my registered domain name, but it refuses to work.

I am using a cable modem (broadband) that is connected to my Belkin router. The ISP's assigned ip address on the router has been the same for months.

I Have port 80 and 53 opened on the router's firewall. I can access the website from the internet when I use the ip address in a browser.

RedHat 4 Enterprise edition is installed on the machine.

At my registrar's website I have the domain pointing to: , using the ip address from my ISP.(ns1 is the name of my machine, and is hosted on ns1).

Is that setup correct?

I checked to make sure that named.conf and the zone files are correctly configured. They seem to look ok.

I checked the log file and there are no error messages. Bind is running and the zones have been loaded.

Can someone who is familiar with this point me in the right direction.

Thanks for any help

Wells 04-21-2006 03:14 PM

Well...first of all, is your ISP allowing access to port 53 from the outside world? You can check this by trying to connect to it from the outside world using nslookup:


$ nslookup
> server
Default server:
> testip.test

Name: testip.test
Change the IP I listed there ( to whatever your home IP is (the one that the rest of the world sees, not the firewalled ones. If you can connect and do queries against that DNS server, then the problem is very likely with your hosting service. If not, then you know that either DNS connections are blocked by your ISP, or you have not configured your DNS server properly.

mmerner 04-21-2006 04:30 PM

yes, this isn't what you want, but try a nice free (up to 5) dns service.

All times are GMT -5. The time now is 05:07 AM.