DNS woes (not resolving internal domain)

Our OSX server is running internal dns (riverstoneibs.lan) for our domain and a split domain setup, resolving our external dns domain (riverstoneschool.org) so our mail server points to the local lan address, among other things.

External resolution (both for our domain incoming and for the web outgoing (via forwarders)) is working fine. Internal resolution results in an NXDOMAIN (domain not found) error for anything in the riverstoneschool.org zone. Looking at Server Admin, it shows DNS running and thezone is listed in the zones list, filled with all the appropriate entries. Just to be paranoid, I double-checked the named.conf file and tracked it through to the /var/named/zones/db.~ file that holds the actual data, and it's all there, too.

Resolution doesn't work on the server itself, nor on clients.

We've restarted the dns server (and the whole server, just in case) with no change in symptoms. I've looked in the DNS server logs (they're set to informational level), but don't see any items that give me clues.

Here are the results of querying using dig and nslookup, run on the server itself (I've changed the local subnet info as a security precaution). I've also quoted the publicView.conf.apple (with similar security changes) below.

Thanks in advance for any suggestions you may offer!
-Matthew (loosing hair by the hour today)


rs-server-ws:dns user$ dig mail.riverstoneschool.org

; <<>> DiG 9.4.3-P1 <<>> mail.riverstoneschool.org
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 7975
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.riverstoneschool.org. IN A

;; AUTHORITY SECTION:
riverstoneschool.org. 10800 IN SOA rs-server-ws.riverstoneschool.org. admin.riverstoneschool.org. 2009100103 86400 3600 604800 345600

;; Query time: 1 msec
;; SERVER: 10.X.Y.10#53(10.X.Y.10)
;; WHEN: Thu Oct 1 10:06:31 2009
;; MSG SIZE rcvd: 121

rs-server-ws:dns user$ dig -x 10.X.Y.10

; <<>> DiG 9.4.3-P1 <<>> -x 10.X.Y.10
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15180
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;10.Y.X.10.in-addr.arpa. IN PTR

;; ANSWER SECTION:
10.Y.X.10.in-addr.arpa. 10800 IN PTR rs-server-ws.riverstoneibs.lan.

;; AUTHORITY SECTION:
Y.X.10.in-addr.arpa. 10800 IN NS ns-rs-server-ws.riverstoneibs.lan.

;; Query time: 0 msec
;; SERVER: 10.X.Y.10#53(10.X.Y.10)
;; WHEN: Thu Oct 1 10:07:06 2009
;; MSG SIZE rcvd: 116

rs-server-ws:dns user$ nslookup mail.riverstoneschool.org
Server: 10.X.Y.10
Address: 10.X.Y.10#53

** server can't find mail.riverstoneschool.org: NXDOMAIN

rs-server-ws:dns user$ cat /etc/dns/publicView.conf.apple
acl "com.apple.ServerAdmin.DNS.public" {localnets;10.X.Z.0/24;10.X.Y.0/24;};

//
// This is the view that is shown in Server Admin
// This is an automatically generated file.
// PLEASE DO NOT MANUALLY MODIFY THIS FILE!
// Please make your changes in the named.conf file
//

view "com.apple.ServerAdmin.DNS.public" {
//GUID=CC7BDB50-011F-482B-A044-7F64C80608C2;

allow-recursion {"com.apple.ServerAdmin.DNS.public";};

zone "riverstoneibs.lan." {
type master;
file "db.riverstoneibs.lan.";
allow-transfer {any;};
allow-update {none;};
};


zone "Y.X.10.in-addr.arpa." {
type master;
file "db.Y.X.10.in-addr.arpa.";
allow-transfer {any;};
allow-update {none;};
};


zone "0.0.10.in-addr.arpa." {
type master;
file "db.0.0.10.in-addr.arpa.";
allow-transfer {none;};
allow-update {none;};
};


zone "riverstoneschool.org." {
type master;
file "db.riverstoneschool.org.";
allow-transfer {any;};
allow-update {none;};
};


zone "228.71.64.in-addr.arpa." {
type master;
file "db.228.71.64.in-addr.arpa.";
allow-transfer {none;};
allow-update {none;};
};


zone "Z.X.10.in-addr.arpa." {
type master;
file "db.Z.X.10.in-addr.arpa.";
allow-transfer {none;};
allow-update {none;};
};

zone "." {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};

};

Xserve, Mac OS X (10.5.8)

Posted on Oct 2, 2009 7:31 AM

Reply
6 replies

Oct 2, 2009 9:51 AM in response to MatthewM1970

You need one more piece of information - the name server logs.

At first glance the named.conf looks valid, but there may be other errors that are preventing the zone data from loading.

For example, the zone is defined via:

zone "riverstoneschool.org." {
type master;
file "db.riverstoneschool.org.";
allow-transfer {any;};
allow-update {none;};
};

However, that doesn't follow Apple's naming convention for zone files (unless you're running a different version of the OS than I).
Server Admin would create this zone file as 'db.riverstoneschool.org.zone.apple' wheras your definition lists the file as 'db.riverstoneschool.org.'.
The problem could be as simple as the file path being wrong, which prevents the zone from loading, which could lead to your problem.

You should look at the DNS logs - specifically /Library/Logs/named.log and/or /var/log/system.log for error messages related to this zone.

Oct 5, 2009 8:50 AM in response to Camelot

I've trolled through the logs, and didn't find anything that stuck out to me except the note that this zone has no A records (which is obviously false, since they show up in the zone file as well as Server Admin, by why does the server think this?!). The first log below is the result of clearing the log (after saving a backup, of course) and restarting the DNS server. The second log below is the result of " grep riverstoneschool.org /Library/Logs/named.log.old," truncated before September 28th, as we were not having problems before that. Following the logs, I've posted the contents of the various configuration files related to the riverstoneschool.org zone. We're running OSX Server v10.5.8, named reports version 'bind 9.4.3-P1'.

I hope you can make sense of this; I can't figure it out and it's driving me nuts.

Thank you for your assistance!

Log 1
05-Oct-2009 09:31:11.462 zone 0.0.127.in-addr.arpa/IN/com.apple.ServerAdmin.DNS.public: loaded serial 1997022700
05-Oct-2009 09:31:11.470 zone 228.71.64.in-addr.arpa/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009012600
05-Oct-2009 09:31:11.471 zone riverstoneibs.lan/IN/com.apple.ServerAdmin.DNS.public: NS 'rs-server-bw.riverstoneibs.lan' has no address records (A or AAAA)
05-Oct-2009 09:31:11.472 zone riverstoneibs.lan/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009100103
05-Oct-2009 09:31:11.472 zone localhost/IN/com.apple.ServerAdmin.DNS.public: loaded serial 42
05-Oct-2009 09:31:11.478 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009100103
05-Oct-2009 09:31:11.478 running
05-Oct-2009 09:31:11.480 zone riverstoneibs.lan/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009100103)
05-Oct-2009 09:31:11.480 zone 2.100.10.in-addr.arpa/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009093000)
05-Oct-2009 09:31:11.480 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009100103)

Log 2
28-Sep-2009 16:58:38.737 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
28-Sep-2009 16:58:38.737 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009091500
28-Sep-2009 16:58:38.738 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009091500)
28-Sep-2009 16:59:00.736 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
28-Sep-2009 16:59:00.736 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009091500
28-Sep-2009 16:59:00.737 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009091500)
28-Sep-2009 16:59:02.081 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
28-Sep-2009 16:59:02.081 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009091500
28-Sep-2009 16:59:02.169 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
28-Sep-2009 16:59:02.169 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009091500
28-Sep-2009 16:59:02.402 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
28-Sep-2009 16:59:02.402 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009091500
28-Sep-2009 16:59:02.644 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
28-Sep-2009 16:59:02.644 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009091500
28-Sep-2009 16:59:05.737 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009091500)
28-Sep-2009 16:59:06.587 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
28-Sep-2009 16:59:06.587 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009091500
28-Sep-2009 16:59:06.596 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
28-Sep-2009 16:59:06.596 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009091500
28-Sep-2009 16:59:10.737 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009091500)
28-Sep-2009 16:59:30.176 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
28-Sep-2009 16:59:30.176 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009091500
28-Sep-2009 16:59:30.176 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009091500)
30-Sep-2009 16:04:17.883 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
30-Sep-2009 16:04:17.883 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009093000
30-Sep-2009 16:04:17.883 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009093000)
30-Sep-2009 16:04:17.886 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
30-Sep-2009 16:04:17.886 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009093000
30-Sep-2009 16:04:22.883 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009093000)
30-Sep-2009 16:04:30.492 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
30-Sep-2009 16:04:30.492 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009093001
30-Sep-2009 16:04:30.492 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009093001)
30-Sep-2009 16:04:30.498 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
30-Sep-2009 16:04:30.498 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009093001
30-Sep-2009 16:04:35.492 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009093001)
30-Sep-2009 16:04:48.797 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
30-Sep-2009 16:04:48.797 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009093002
30-Sep-2009 16:04:48.797 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009093002)
30-Sep-2009 16:04:48.800 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
30-Sep-2009 16:04:48.800 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009093002
30-Sep-2009 16:04:53.797 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009093002)
30-Sep-2009 16:05:04.491 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
30-Sep-2009 16:05:04.491 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009093003
30-Sep-2009 16:05:04.491 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009093003)
30-Sep-2009 16:05:04.496 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
30-Sep-2009 16:05:04.496 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009093003
30-Sep-2009 16:05:09.491 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009093003)
30-Sep-2009 20:49:24.904 client 10.100.2.10#65483: view com.apple.ServerAdmin.DNS.public: transfer of 'riverstoneschool.org/IN': AXFR-style IXFR started
30-Sep-2009 20:49:24.904 client 10.100.2.10#65483: view com.apple.ServerAdmin.DNS.public: transfer of 'riverstoneschool.org/IN': AXFR-style IXFR ended
01-Oct-2009 07:00:18.074 client 10.100.2.184#64310: view com.apple.ServerAdmin.DNS.public: query (cache) 'mail.riverstoneschool.org:ksaldin/A/IN' denied
01-Oct-2009 08:01:19.011 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
01-Oct-2009 08:01:19.011 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009093003
01-Oct-2009 08:01:19.012 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009093003)
01-Oct-2009 09:06:56.559 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
01-Oct-2009 09:06:56.559 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009093003
01-Oct-2009 09:06:56.604 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009093003)
01-Oct-2009 09:06:56.607 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
01-Oct-2009 09:06:56.607 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009093003
01-Oct-2009 09:06:57.676 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
01-Oct-2009 09:06:57.726 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009093003
01-Oct-2009 09:06:58.013 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
01-Oct-2009 09:06:58.013 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009093003
01-Oct-2009 09:07:01.604 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009093003)
01-Oct-2009 09:07:28.528 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
01-Oct-2009 09:07:28.528 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009093003
01-Oct-2009 09:07:28.528 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009093003)
01-Oct-2009 09:07:34.865 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
01-Oct-2009 09:07:34.865 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009093003
01-Oct-2009 09:07:34.865 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009093003)
01-Oct-2009 09:07:36.356 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
01-Oct-2009 09:07:36.356 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009093003
01-Oct-2009 09:07:36.677 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
01-Oct-2009 09:07:36.677 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009093003
01-Oct-2009 09:07:36.923 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
01-Oct-2009 09:07:36.923 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009093003
01-Oct-2009 09:07:37.196 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
01-Oct-2009 09:07:37.196 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009093003
01-Oct-2009 09:07:39.865 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009093003)
01-Oct-2009 09:21:49.334 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
01-Oct-2009 09:21:49.334 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009100100
01-Oct-2009 09:21:49.334 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009100100)
01-Oct-2009 09:21:49.338 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: riverstoneschool.org/MX 'rs-server-ws.riverstoneschool.org.riverstoneschool.org' has no address records (A or AAAA)
01-Oct-2009 09:21:49.338 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009100100
01-Oct-2009 09:21:54.334 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009100100)
01-Oct-2009 09:22:04.943 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009100101
01-Oct-2009 09:22:04.943 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009100101)
01-Oct-2009 09:22:04.948 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009100101
01-Oct-2009 09:22:09.943 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009100101)
01-Oct-2009 09:33:52.322 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009100102
01-Oct-2009 09:33:52.322 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009100102)
01-Oct-2009 09:33:52.325 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009100102
01-Oct-2009 09:33:57.322 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009100102)
01-Oct-2009 09:34:02.118 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009100103
01-Oct-2009 09:34:02.122 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: loaded serial 2009100103
01-Oct-2009 09:34:02.322 zone riverstoneschool.org/IN/com.apple.ServerAdmin.DNS.public: sending notifies (serial 2009100103)
01-Oct-2009 19:10:42.947 client 10.100.2.10#51160: view com.apple.ServerAdmin.DNS.public: transfer of 'riverstoneschool.org/IN': AXFR-style IXFR started
01-Oct-2009 19:10:42.947 client 10.100.2.10#51160: view com.apple.ServerAdmin.DNS.public: transfer of 'riverstoneschool.org/IN': AXFR-style IXFR ended

/etc/named.conf:
...
options {
include "/etc/dns/options.conf.apple";

/*
* 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;
};
//
// a caching only nameserver config
//
logging {
include "/etc/dns/loggingOptions.conf.apple";
};

// Public view read by Server Admin

include "/etc/dns/publicView.conf.apple";
...

/etc/dns/options.conf.apple:
//
// These are the options that are shown in Server Admin
// This is an automatically generated file.
// PLEASE DO NOT MANUALLY MODIFY THIS FILE!
// Please make your changes in the named.conf file
//
directory "/var/named";

forwarders { 208.XX.YYY.220; 208.XX.ZZZ.222; };

allow-transfer { none; };


/etc/dns/publicView.conf.apple:
...
view "com.apple.ServerAdmin.DNS.public" {
//GUID=CC7BDB50-011F-482B-A044-7F64C8XXXXXX;

allow-recursion {"com.apple.ServerAdmin.DNS.public";};

zone "riverstoneibs.lan." {
type master;
file "db.riverstoneibs.lan.";
allow-transfer {any;};
allow-update {none;};
};
...

zone "riverstoneschool.org." {
type master;
file "db.riverstoneschool.org.";
allow-transfer {any;};
allow-update {none;};
};


/var/named/db.riverstoneschool.org. :
;THE FOLLOWING INCLUDE WAS ADDED BY SERVER ADMIN. PLEASE DO NOT REMOVE.
$INCLUDE /var/named/zones/db.riverstoneschool.org.zone.apple

/var/named/zones/db.riverstoneschool.org.zone.apple :
;GUID=CDFB1761-C542-409F-BE5F-32B791XXXXXX

$TTL 10800
riverstoneschool.org. IN SOA rs-server-ws.riverstoneschool.org. mmiller.riverstoneschool.org (
2009100103 ;Serial
86400 ;Refresh
3600 ;Retry
604800 ;Expire
345600 ;Negative caching TTL
)

riverstoneschool.org. IN NS rs-server-ws.riverstoneschool.org.
riverstoneschool.org. IN NS rs-server.bw.riverstoneibs.lan.
mail2.riverstoneschool.org IN A 10.XXX.Z.10
mail.riverstoneschool.org IN A 10.XXX.Y.10
www IN A 64.71.228.251
helpdesk IN A 10.XXX.Y.10
rs-server-ws IN A 10.XXX.Y.10
webmail.riverstoneschool.org. IN CNAME rs-server-ws.riverstoneschool.org.
help IN CNAME helpdesk.riverstoneschool.org.
photos.riverstoneschool.org. IN CNAME rs-server-ws.riverstoneschool.org.
riverstoneschool.org. IN MX 10 rs-server-ws.riverstoneschool.org.

Oct 5, 2009 1:04 PM in response to MatthewM1970

Is this machine a gw/NAT-router between the public IP network and the 10-networks?

Probably not.

In Network config interfaces has only the server IP (public or private or 127.0.0.1) as the DNS?
If it's the public one you probably want to allow for recursive lookups from that IP, that subnet or "any" not only "localnets" (don't know if this matters on the DNS server itself though).


riverstoneschool.org. IN NS rs-server-ws.riverstoneschool.org.
riverstoneschool.org. IN NS rs-server.bw.riverstoneibs.lan.

You have another machine acting a NS for this domain? Or is it the same machine?
You didn't list any info from the riverstoneibs.lan domain other than it's supposed to be loaded.
rs-server.bw.riverstoneibs.lan is really on a subdomain bw.riverstoneibs.lan to riverstoneibs.lan.

In the logs rs-server.bw.riverstoneibs.lan isn't found.

(I can maybe understand why one would like to hide public IPs and domain names but private ones? But if you want help with DNS issues it's a bit counterproductive. And you have revealed some in the logs anyway.)


mail2.riverstoneschool.org IN A 10.XXX.Z.10
mail.riverstoneschool.org IN A 10.XXX.Y.10
www IN A 64.71.228.251
helpdesk IN A 10.XXX.Y.10
rs-server-ws IN A 10.XXX.Y.10
webmail.riverstoneschool.org. IN CNAME rs-server-ws.riverstoneschool.org.
help IN CNAME helpdesk.riverstoneschool.org.
photos.riverstoneschool.org. IN CNAME rs-server-ws.riverstoneschool.org.


Using mutiple A records for the same IP might screw up the reverse zone for that subnet.
You at least need to choose what name is used for the PTR record for that IP (it's a pop-up in the DNS gui in SA).

This looks ok now (wasn't earlier according to the logs):

riverstoneschool.org. IN MX 10 rs-server-ws.riverstoneschool.org.


And publicly:

host -v -t mx riverstoneschool.org

riverstoneschool.org. 21600 IN MX 10 mail.riverstoneschool.org.

;; ADDITIONAL SECTION:
ns4.domainservice.com. 1230 IN A 208.73.211.44
ns1.domainservice.com. 170430 IN A 208.73.210.41
ns2.domainservice.com. 156599 IN A 208.73.211.42
ns3.domainservice.com. 156599 IN A 208.73.210.43

mail.riverstoneschool.org. 17920 IN A 67.50.176.58

Are you sure you can use any of these ns (ns1-4 at domainservice.com) as forwarders from your 67.50.176.58 IP which it looks like you are using?


You should probably use something "closer to home":

whois 67.50.176.58

OrgName: Integra Telecom, Inc.
NetRange: 67.50.0.0 - 67.51.255.255

Thy seem to have other "nets" too.

Oct 6, 2009 1:25 PM in response to Leif Carlsson

I've resolved it. Ended up just deleting the zone and rebuilding from notes (which I should have done in the first place!).

Thank you, Lief Carlsson, for your suggestions. I've cleaned up the dns in several respects, thanks to the items you pointed out. Those didn't make any change in the symptoms of the initial problem, though; that was only resolved when I rebuilt the zone from scratch.

Still don't have any idea why the dns server would just suddenly stop resolving one of the zones, with no changes that I know of to cause it, but at least the solution was simple (once I broke down to trying the simple stuff, just in case!).

Nov 13, 2009 5:08 PM in response to MatthewM1970

Dear Matthew,

Im having the same problems that you got, obtaining the NXDOMAI error from:

myserver:~ maswi$ nslookup www.google.it
Server: 192.168.0.202
Address: 192.168.0.202#53

** server can't find www.google.it: NXDOMAIN

Do you have any suggestion, about how did you resolve the problem?

named.conf:
//
// Include keys file
//
include "/etc/rndc.key";

// 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.

//
// Default controls
//
controls {
inet 127.0.0.1 port 54 allow {any; }
keys { "rndc-key"; };
};


options {
include "/etc/dns/options.conf.apple";

/*
* 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;
};
//
// a caching only nameserver config
//
logging {
include "/etc/dns/loggingOptions.conf.apple";
};

// Public view read by Server Admin

include "/etc/dns/publicView.conf.apple";

// Server Admin declares all zones in a view. BIND therefore dictates
// that all other zone declarations must be contained in views.

publicView.conf.apple
acl "com.apple.ServerAdmin.DNS.public" {none;};

//
// This is the view that is shown in Server Admin
// This is an automatically generated file.
// PLEASE DO NOT MANUALLY MODIFY THIS FILE!
// Please make your changes in the named.conf file
//

view "com.apple.ServerAdmin.DNS.public" {
//GUID=44FBB9A0-2F7F-4C09-ADD8-DD4615137B72;

allow-recursion {"com.apple.ServerAdmin.DNS.public";};

zone "studioreppele." {
type master;
file "db.studioreppele.";
allow-transfer {any;};
allow-update {none;};
};


zone "0.168.192.in-addr.arpa." {
type master;
file "db.0.168.192.in-addr.arpa.";
allow-transfer {any;};
allow-update {none;};
};

zone "." {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};

};

options.conf.apple
//
// These are the options that are shown in Server Admin
// This is an automatically generated file.
// PLEASE DO NOT MANUALLY MODIFY THIS FILE!
// Please make your changes in the named.conf file
//
directory "/var/named";

forwarders { 208.67.220.220; 208.67.222.222; };

allow-transfer { none; };

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

DNS woes (not resolving internal domain)

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