LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How do I confiure BIND 9 to resolve my domain name? (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-confiure-bind-9-to-resolve-my-domain-name-437048/)

Glenjosh 04-20-2006 05: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: ns1.mydomain.com. , using the ip address from my ISP.(ns1 is the name of my machine, and mydomain.com 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 02: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:

Quote:

$ nslookup
> server 172.30.0.5
Default server: 172.30.0.5
Address: 172.30.0.5#53
> testip.test
Server: 172.30.0.5
Address: 172.30.0.5#53

Name: testip.test
Address: 172.30.0.5
Change the IP I listed there (172.30.0.5) 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 03:30 PM

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


All times are GMT -5. The time now is 02:03 AM.