for those who need a workaround, I share my working config:
root@proxy:~# cat /lib/systemd/system/bind9.service [Unit] Description=BIND Domain Name Server Documentation=man:named(8) After=network.target
[Service] ExecStart=/usr/sbin/named -f -4 -u bind ExecStartPre=/bin/sh -ec 'echo "nameserver 127.0.0.1" | /sbin/resolvconf -a lo.named' ExecReload=/usr/sbin/rndc reload ExecStop=/usr/sbin/rndc stop ExecStopPost=/sbin/resolvconf -d lo.named
[Install] WantedBy=multi-user.target
for those who need a workaround, I share my working config:
root@proxy:~# cat /lib/systemd/ system/ bind9.service man:named( 8) target
[Unit]
Description=BIND Domain Name Server
Documentation=
After=network.
[Service] /usr/sbin/ named -f -4 -u bind /bin/sh -ec 'echo "nameserver 127.0.0.1" | /sbin/resolvconf -a lo.named' /usr/sbin/ rndc reload /usr/sbin/ rndc stop /sbin/resolvcon f -d lo.named
ExecStart=
ExecStartPre=
ExecReload=
ExecStop=
ExecStopPost=
[Install] multi-user. target
WantedBy=