mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 14:58:08 +00:00
message text
Signed-off-by: Rob Gill <rrobgill@protonmail.com>>
This commit is contained in:
parent
97809277df
commit
b89a78ce17
@ -2315,7 +2315,7 @@ main() {
|
|||||||
if (systemctl is-enabled systemd-resolved | grep -c 'enabled' || true); then
|
if (systemctl is-enabled systemd-resolved | grep -c 'enabled' || true); then
|
||||||
# if resolveconf is running unbind it from port 53
|
# if resolveconf is running unbind it from port 53
|
||||||
# Note that this breaks dns functionality on host until dnsmasq/ftl are up and running
|
# Note that this breaks dns functionality on host until dnsmasq/ftl are up and running
|
||||||
echo -e "Unbinding resolved from port 53"
|
echo -e "Disabling systemd-resolved DNSStubListener"
|
||||||
# Make a backup of the original /etc/systemd/resolveconf.d
|
# Make a backup of the original /etc/systemd/resolveconf.d
|
||||||
# (This will need to be restored on uninstallation)
|
# (This will need to be restored on uninstallation)
|
||||||
sed -i.orig 's/#DNSStubListener=yes/DNSStubListener=no/g' /etc/systemd/resolved.conf
|
sed -i.orig 's/#DNSStubListener=yes/DNSStubListener=no/g' /etc/systemd/resolved.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user