Sunday, September 25, 2016

systemd-resolved conflict with bind9

in newly ubuntu releases are shipped with systemd and by default system-resolved service are running that you won't be able to run name server such as bind, powerdns (pdns), dnsmasq on the system,

1- disable it
below are the command to stop the service and disable from start again at reboot

- disable from the startup script
$ sudo systemctl disable systemd-resolved
Removed /etc/systemd/system/multi-user.target.wants/systemd-resolved.servic
e.

- stop the service
$ sudo systemctl stop systemd-resolved


2- in case you want to enable it back follow the command below, but there's seem no reason to do, because it provides very little value or not at all

- enable it as in the startup script
$ sudo systemctl enable systemd-resolved

- stop the service
$ sudo systemctl start systemd-resolved

No comments:

Post a Comment