BIND - can't get answer for domain but can for other domain
Hi,
Once again, my apologies for asking so many questions. If I can get BIND working, I've got an almost fully functional server (except for mail, which I have not even attempted to get working yet). My config files are included at the bottom of this post (of course, I have blanked out my domain and IPs and made it mydomain.com, which is of course not my domain). I've set up BIND 9 (the latest version available) on my server. For some reason, dig does not show a response for the domain I set it up to respond on, but it shows a response to any other domain such as google.com. Here are some examples from my computer, not the server (I use Mac OS X, so I have dig). google.com Code:
; <<>> DiG 9.2.2 <<>> google.com @dns.server.ip Code:
; <<>> DiG 9.2.2 <<>> mydomain.com @dns.server.ip As I am using IP-based hosting, the domain responds whenever I type in the IP address directly, so I know it is not the HTTP server. The HTTP server is Apache 2.2.4, the latest version. On BIND, I am also using logging. It would be too long to post every log file here, so I have included only an important one - general.log. Please let me know if you need more logs, and which ones, and I will get them for you. Of course, site details and IP addresses have been blanked out. Code:
12-Jan-2007 20:09:59.084 named.local:1: no TTL specified; using SOA MINTTL instead Here are my configuration files, of course with site details and IP addresses blanked out (as normal). These are not very long, so I will paste them here. /etc/named.conf Code:
options { Code:
$TTL 604800 Code:
$TTL 86400 I won't bother pasting this one, since all it is is the contents of the following. Code:
dig @a.root-servers.net > named.cache Splenden |
Looks like you have some error in the zone file of your domain.
Did you install Bind from source, or did you use a package manager to install it (apt-get, yum, yast)? If you installed from source, you should get tools like named-checkzone, which can tell you problems with the zone file in question. From the DNS server itself, not your mac, please enter these commands, and post the output here - Code:
dig google.com @localhost Peace, JimBass |
Actually, I ended up reinstalling BIND and it works now. I forgot to update this. So I guess it was an issue with the installation.
Thank you. Splenden |
All times are GMT -5. The time now is 04:59 PM. |