1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-22 02:17:26 +00:00

add 'nameserver' to resolv.conf, fixes #1450

This commit is contained in:
Joshua Tauberer 2018-11-30 10:44:13 -05:00
parent ff6d8fc672
commit 9ddca42c91

View File

@ -321,7 +321,7 @@ fi
# download bind9 from. # download bind9 from.
rm -f /etc/resolv.conf rm -f /etc/resolv.conf
tools/editconf.py /etc/systemd/resolved.conf DNSStubListener=no tools/editconf.py /etc/systemd/resolved.conf DNSStubListener=no
echo "127.0.0.1" > /etc/resolv.conf echo "nameserver 127.0.0.1" > /etc/resolv.conf
# Restart the DNS services. # Restart the DNS services.