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.
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] man:named( 8) man:resolvconf(8) bind9.service Executable= /sbin/resolvcon f
Description=local BIND via resolvconf
Documentation=
Requires=
After=bind9.service
ConditionFileIs
[Service] /sbin/resolvcon f -d lo.named
ExecStart=/bin/sh -c 'echo nameserver 127.0.0.1 | /sbin/resolvconf -a lo.named'
ExecStop=
RemainAfterExit=yes # added as per #4 comment
[Install] bind9.service
WantedBy=
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 isc.org/ isc/bind9/ 9.10.4/ RELEASE- NOTES-bind- 9.10.4. txt
ftp://ftp.