Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

DNS not working

Opening a new Thread regarding this matter as I'm close to solving the problem but stil not completely there.

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)

Posted on Jan 24, 2006 12:48 PM

Reply
18 replies

Jan 25, 2006 2:00 PM in response to davidh

GRR, I can't edit my own post once a thread is "closed" ? C'mon guys (forum moderators) :P

If you change it as I mention, please make the first line as appears here ⚠ :

macmanagement.nl. IN NS mail.macmanagement.nl.
macmanagement.nl. IN A 10.0.13.100
mail IN A 10.0.13.100
server IN CNAME mail
www IN CNAME mail
ftp IN CNAME mail
macmanagement.nl. IN MX 0 mail

Jan 26, 2006 1:20 AM in response to davidh

Well I start to like making changes in de the /var/named and /etc/named.conf. I changed the setting as recommended by you and it's working fine.

macmanagement.nl. IN NS mail.macmanagement.nl.
macmanagement.nl. IN A 10.0.13.100
mail IN A 10.0.13.100
server IN CNAME mail
www IN CNAME mail
ftp IN CNAME mail
macmanagement.nl. IN MX 0 mail

Made a backup of the settings just in case. So like I said to the other David thx for the time and help, it works like never before. :-))

DNS not working

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.