DNS not working
server:~ root# cd /var/named
server:/var/named root# named-checkzone macmangement.nl macmanagement.nl.zone
dns masterload: macmanagement.nl.zone:2: ignoring out-of-zone data (macmanagement.nl)
dns masterload: macmanagement.nl.zone:8: ignoring out-of-zone data (macmanagement.nl)
dns masterload: macmanagement.nl.zone:9: ignoring out-of-zone data (macmanagement.nl)
dns masterload: macmanagement.nl.zone:14: ignoring out-of-zone data (macmanagement.nl)
zone macmangement.nl/IN: could not find NS and/or SOA records
zone macmangement.nl/IN: has 0 SOA records
zone macmangement.nl/IN: has no NS records
server:/var/named root#
This happens during startup
Jan 24 13:03:45 server ntpd[175]: bind() fd 5, family 2, port 123, addr 0.0.0.0, in_classd=0 flags=1 fails: Address already in use
Jan 24 13:03:47 server servermgrd: servermgr_dns: Reloaded named
Jan 24 13:03:48 server ntpd[181]: bind() fd 6, family 2, port 123, addr 127.0.0.1, in_classd=0 flags=0 fails: Address already in use
Jan 24 13:03:48 server ntpd[181]: bind() fd 6, family 2, port 123, addr 10.0.13.100, in_classd=0 flags=1 fails: Address already in use
And this is my named.conf file:
// Declares control channels to be used by the rndc utility.
// It is recommended that 127.0.0.1 be the only address used.
// This also allows non-privileged users on the local host to manage
// your name server.
//
controls {
inet 127.0.0.1 port 54 allow {any; };
};
options {
directory "/var/named";
allow-transfer {none;};
recursion true;
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
forwarders {
194.109.6.66;
194.109.9.99;
};
forward only;
listen-on {127.0.0.1;
10.0.13.100;
};
};
// a caching only nameserver config
//
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "macmanagement.nl" in {
type master;
file "macmanagement.nl.zone";
};
zone "13.0.10.in-addr.arpa" IN {
file "db.10.0.13";
type master;
};
logging {
category default {
defaultlog;
};
channel defaultlog {
file "/Library/Logs/named.log";
severity debug;
print-time yes;
};
};
And the MacManagement zone file. Which shows a SOA and NS record or am I overlooking something.
$TTL 86400
macmanagement.nl. IN SOA server.macmanagement.nl. roel.macmanagement.nl. (
2006012401 ; serial
3h ; refresh
1h ; retry
1w ; expiry
1h ) ; minimum
macmanagement.nl. IN NS server.macmanagement.nl.
macmanagement.nl. IN A 10.0.13.100
server IN A 10.0.13.100
mail.macmanagement.nl IN CNAME server
www.macmanagement.nl IN CNAME server
ftp.macmanagement.nl IN CNAME server
macmanagement.nl. IN MX 0 server
Any help would be appreciated because it's driving me nuts.
Powerbook G4, Mac OS X (10.4.4)