Comment 3 for bug 1565060

Revision history for this message
Thomas (t.c) wrote :

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