This is weird, or not. I don’t know much about DNS so any help is greatly appreciated. My primary DNS server is returning non-authoritative answers for nslookups on external addresses.
On internal addresses, I get SERVFAIL, and then it goes to my backup DNS:
andrew-caldwells-macbook-pro:~ andrew$ nslookup mail.mnn.org
;; Got SERVFAIL reply from 192.168.1.32, trying next server
Server: 192.168.1.27
Address: 192.168.1.27#53
mail.mnn.org canonical name = od-replica.mnn.org.
Name: od-replica.mnn.org
Address: 192.168.1.27
What’s the deal? It’s worthwhile noting that this is a recent development in the past day.
I also did a tail -f /var/log/system.log and stopped then started dns. these are the results of that:
Jan 30 12:44:51 od-master bootpd[986]: service time 0.000821 seconds
Jan 30 12:44:52 od-master bootpd[986]: DHCP REQUEST [en0]: 1,0:1c:b3:75:1a:87
Jan 30 12:44:52 od-master bootpd[986]: service time 0.000197 seconds
Jan 30 12:45:10 od-master bootpd[986]: DHCP REQUEST [en0]: 1,0:21:e9:61:f1:63
Jan 30 12:45:10 od-master bootpd[986]: dhcpd: INIT-REBOOT host 1,0:21:e9:61:f1:63 binding for 192.168.2.165 with another server
Jan 30 12:45:10 od-master bootpd[986]: service time 0.000280 seconds
Jan 30 12:45:16 od-master sudo: admin : TTY=ttyp1 ; PWD=/Users/admin ; USER=root ; COMMAND=/usr/sbin/named-checkconf /etc/named.conf
Jan 30 12:46:55 od-master bootpd[986]: DHCP REQUEST [en0]: 1,0:1d:4f:aa:d9:a1
Jan 30 12:46:55 od-master bootpd[986]: dhcpd: INIT-REBOOT host 1,0:1d:4f:aa:d9:a1 binding for 192.168.2.179 with another server
Jan 30 12:46:55 od-master bootpd[986]: service time 0.000549 seconds
Jan 30 12:47:43 od-master sudo: admin : TTY=ttyp1 ; PWD=/Users/admin ; USER=root ; COMMAND=/usr/sbin/serveradmin stop dns
Jan 30 12:47:44 od-master serveradmin: servermgr_dns: hostname and DNS entries for this server are synchronized
Jan 30 12:47:58 od-master sudo: admin : TTY=ttyp1 ; PWD=/Users/admin ; USER=root ; COMMAND=/usr/sbin/serveradmin start dns
Jan 30 12:48:05 od-master serveradmin: servermgr_dns: no name available via DNS for 192.168.1.32
Jan 30 12:48:05 od-master serveradmin: servermgr_dns: no reverse DNS entry for server, various services may not function properly
Jan 30 12:48:05 od-master named[1517]: starting BIND 9.3.5-P2 -f
Jan 30 12:48:05 od-master named[1517]: command channel listening on 127.0.0.1#54
<<>> DiG 9.4.2-P2 <<>> @192.168.1.32 http://www.apple.com
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9270
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 9, ADDITIONAL: 4
;; QUESTION SECTION:
;www.apple.com. IN A
;; ANSWER SECTION:
http://www.apple.com. 1800 IN CNAME http://www.apple.com.akadns.net. http://www.apple.com.akadns.net. 60 IN A 17.251.200.32
;; AUTHORITY SECTION:
akadns.net. 172741 IN NS zc.akadns.org.
akadns.net. 172741 IN NS zd.akadns.org.
akadns.net. 172741 IN NS eur1.akadns.net.
akadns.net. 172741 IN NS use3.akadns.net.
akadns.net. 172741 IN NS use4.akadns.net.
akadns.net. 172741 IN NS usw2.akadns.net.
akadns.net. 172741 IN NS asia9.akadns.net.
akadns.net. 172741 IN NS za.akadns.org.
akadns.net. 172741 IN NS zb.akadns.org.
;; ADDITIONAL SECTION:
za.akadns.org. 3541 IN A 195.219.3.169
zb.akadns.org. 3441 IN A 12.183.125.5
zc.akadns.org. 3341 IN A 124.211.40.4
zd.akadns.org. 3141 IN A 204.2.178.133
I think it’s worthwhile to mention that internal addresses do not seem to resolve properly. I’ve posted the results of a dig to mail.mnn.org using both the primary and the backup DNS
Comments are closed