DNS not configured on box? (no response)

Noticed that my DNS checks all simply complain that the local host doesn’t answer DNS anymore (no response from 127.0.0.1).

I do run my own DNS servers for my domain, but this is just the mail in a box server testing itself.

I don’t see any special “mail-in-a-box” dns settings either? the mailinabox command completes without errors.

What looks wrong with any of this?

grimm@mail:~$ ls /etc/bind/
bind.keys db.255 db.root named.conf.local zones.rfc1918
db.0 db.empty named.conf named.conf.options
db.127 db.local named.conf.default-zones rndc.key
grimm@mail:~$ ls /etc/bind/

grimm@mail:~$ dig mail.n7cky.com @127.0.0.1

; <<>> DiG 9.9.5-3ubuntu0.13-Ubuntu <<>> mail.n7cky.com @127.0.0.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 50835
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;mail.n7cky.com. IN A

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat Mar 25 09:47:01 PDT 2017
;; MSG SIZE rcvd: 43

grimm@mail:~$ sudo service bind9 restart

  • Stopping domain name service… bind9
    waiting for pid 16035 to die
    …done.
  • Starting domain name service… bind9
    …done.
    grimm@mail:~$ tail -200 /var/log/syslog
    Mar 25 09:45:07 mail named[16035]: received control channel command 'stop -p’
    Mar 25 09:45:07 mail named[16035]: shutting down: flushing changes
    Mar 25 09:45:07 mail named[16035]: stopping command channel on 127.0.0.1#953
    Mar 25 09:45:07 mail named[16035]: no longer listening on 127.0.0.1#53
    Mar 25 09:45:07 mail named[16035]: exiting
    Mar 25 09:45:08 mail named[9477]: starting BIND 9.9.5-3ubuntu0.13-Ubuntu -u bind -4
    Mar 25 09:45:08 mail named[9477]: built with ‘–prefix=/usr’ ‘–mandir=/usr/share/man’ ‘–infodir=/usr/share/info’ ‘–sysconfdir=/etc/bind’ ‘–localstatedir=/var’ ‘–enable-threads’ ‘–enable-largefile’ ‘–with-libtool’ ‘–enable-shared’ ‘–enable-static’ ‘–with-openssl=/usr’ ‘–with-gssapi=/usr’ ‘–with-gnu-ld’ ‘–with-geoip=/usr’ ‘–with-atf=no’ ‘–enable-ipv6’ ‘–enable-rrl’ ‘–enable-filter-aaaa’ 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2’
    Mar 25 09:45:08 mail named[9477]: ----------------------------------------------------
    Mar 25 09:45:08 mail named[9477]: BIND 9 is maintained by Internet Systems Consortium,
    Mar 25 09:45:08 mail named[9477]: Inc. (ISC), a non-profit 501©(3) public-benefit
    Mar 25 09:45:08 mail named[9477]: corporation. Support and training for BIND 9 are
    Mar 25 09:45:08 mail named[9477]: available at https://www.isc.org/support
    Mar 25 09:45:08 mail named[9477]: ----------------------------------------------------
    Mar 25 09:45:08 mail named[9477]: adjusted limit on open files from 4096 to 1048576
    Mar 25 09:45:08 mail named[9477]: found 1 CPU, using 1 worker thread
    Mar 25 09:45:08 mail named[9477]: using 1 UDP listener per interface
    Mar 25 09:45:08 mail named[9477]: using up to 4096 sockets
    Mar 25 09:45:08 mail named[9477]: loading configuration from '/etc/bind/named.conf’
    Mar 25 09:45:08 mail named[9477]: reading built-in trusted keys from file '/etc/bind/bind.keys’
    Mar 25 09:45:08 mail named[9477]: using default UDP/IPv4 port range: [1024, 65535]
    Mar 25 09:45:08 mail named[9477]: using default UDP/IPv6 port range: [1024, 65535]
    Mar 25 09:45:08 mail named[9477]: no IPv6 interfaces found
    Mar 25 09:45:08 mail named[9477]: listening on IPv4 interface lo, 127.0.0.1#53
    Mar 25 09:45:08 mail named[9477]: generating session key for dynamic DNS
    Mar 25 09:45:08 mail named[9477]: sizing zone task pool based on 5 zones
    Mar 25 09:45:08 mail named[9477]: using built-in root key for view _default
    Mar 25 09:45:08 mail named[9477]: set up managed keys zone for view _default, file 'managed-keys.bind’
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 10.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 16.172.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 17.172.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 18.172.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 19.172.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 20.172.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 21.172.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 22.172.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 23.172.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 24.172.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 25.172.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 26.172.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 27.172.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 28.172.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 29.172.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 30.172.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 31.172.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 168.192.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 64.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 65.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 66.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 67.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 68.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 69.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 70.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 71.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 72.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 73.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 74.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 75.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 76.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 77.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 78.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 79.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 80.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 81.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 82.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 83.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 84.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 85.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 86.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 87.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 88.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 89.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 90.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 91.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 92.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 93.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 94.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 95.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 96.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 97.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 98.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 99.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 100.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 101.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 102.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 103.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 104.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 105.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 106.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 107.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 108.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 109.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 110.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 111.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 112.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 113.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 114.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 115.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 116.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 117.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 118.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 119.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 120.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 121.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 122.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 123.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 124.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 125.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 126.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 127.100.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 254.169.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 2.0.192.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 100.51.198.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 113.0.203.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 255.255.255.255.IN-ADDR.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: D.F.IP6.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 8.E.F.IP6.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 9.E.F.IP6.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: A.E.F.IP6.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: B.E.F.IP6.ARPA
    Mar 25 09:45:08 mail named[9477]: automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA
    Mar 25 09:45:08 mail named[9477]: command channel listening on 127.0.0.1#953
    Mar 25 09:45:08 mail named[9477]: managed-keys-zone: loaded serial 403
    Mar 25 09:45:08 mail named[9477]: zone 0.in-addr.arpa/IN: loaded serial 1
    Mar 25 09:45:08 mail named[9477]: zone 127.in-addr.arpa/IN: loaded serial 1
    Mar 25 09:45:08 mail named[9477]: zone localhost/IN: loaded serial 2
    Mar 25 09:45:08 mail named[9477]: zone 255.in-addr.arpa/IN: loaded serial 1
    Mar 25 09:45:08 mail named[9477]: all zones loaded
    Mar 25 09:45:08 mail named[9477]: running