Comment 7 for bug 1536181

Revision history for this message
dino99 (9d9) wrote :

Glancing at bind's bugs, i've opened that one to read it; and have checked the yakkety status about it: so i've edited the file proposed in #4 above, to looks like:

 [Unit]
Description=local BIND via resolvconf
Documentation=man:named(8) man:resolvconf(8)
Requires=bind9.service
After=bind9.service
ConditionFileIsExecutable=/sbin/resolvconf

[Service]
ExecStart=/bin/sh -c 'echo nameserver 127.0.0.1 | /sbin/resolvconf -a lo.named'
ExecStop=/sbin/resolvconf -d lo.named
RemainAfterExit=yes # added as per #4 comment

[Install]
WantedBy=bind9.service

next i will check the logs again after a reboot to know if it help.

note: bind has a new stable version with many Security Fixes & bugs fixes. Hopes both Debian & Ubuntu will upgrade asap
ftp://ftp.isc.org/isc/bind9/9.10.4/RELEASE-NOTES-bind-9.10.4.txt