[Slack] Problems with named
Hi,
yesterday I installed Slackware 10.1 on my homeserver. Before that, it was running Slack 9.0. I made a backup of all my config files (apache, samba, php, named, proftpd, ...) and copied them onto the new install. Everything works fine (after some minor adjustments in de config files), except for named. It's weird actually: named does start without errors (and keeps running), but any local zone I cannot find. Here are my config files: /etc/named.conf: Code:
options { Code:
; Code:
; <<>> DiG 9.3.0 <<>> @e.root-servers.net . ns I also ran "named-checkconf /etc/named.conf", which doesn't return any errors or notices. Pinging to "www.maes.local" from any machine (client or the server itself) does not work. Pinging to "www.google.com" works from all machines. More: named-checkzone -t /var/named/pz/ maes.local maes.local: Code:
zone maes.local/IN: loaded serial 199802151 dig @localhost www.maes.local: Code:
; <<>> DiG 9.3.0 <<>> @localhost www.maes.local |
i would check /var/log/messages for any errors just after starting named.
|
Quote:
Code:
Aug 9 11:43:21 SUN named[1209]: starting BIND 9.3.0 |
where did it load 'maes.local'?
|
Quote:
|
Quote:
It does load the correct named.conf (did a search, is the only file on the whole system) Edited first post. Quote:
But euhm.. What's wrong then? |
your local zone file, maes.local, well i don't see it loading in /var/log/messages. why is it not loading? it you don't load it how would your query fetch data based on the records of that zone.
|
Quote:
What I meant was: what is wrong with my config that it doesn't load the zonefile? |
Code:
zone "maes.local" IN { |
also;
Code:
localhost A 127.0.0.1 |
You should add:
Code:
ns A 192.168.0.2 |
It notifies other DNS servers of changes (I believe).
Anyway, just to be sure I removed the line and restarted named: Code:
Aug 9 12:11:01 SUN named[1272]: starting BIND 9.3.0 Quote:
Code:
; |
Quote:
Anyway, checked google, seems others add "IN" as well, so did it as well now. Unfortunately it didn't make a difference :( |
More information:
maes.local isn't the only domain I'm running on this server. Another domain on it is datanuke.be: /var/named/datanuke.be Code:
; Although I can ping www.google.com on the servermachine (public IP), I fail to reach www.datanuke.be. This is interesting, because it means that named does "pick up" the request, but is unable to handle it. My guess is the problem lies in the zone-files.. |
Quote:
|
All times are GMT -5. The time now is 06:52 PM. |