mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
message text
Signed-off-by: Rob Gill <rrobgill@protonmail.com>>
This commit is contained in:
parent
97809277df
commit
b89a78ce17
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue