1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-21 03:02:09 +00:00

add nameserver declaration to /etc/resolv.conf

This commit is contained in:
jvolkenant 2018-10-24 08:03:06 -07:00
parent f739662392
commit 290af476dc

View File

@ -321,7 +321,7 @@ fi
# download bind9 from.
rm -f /etc/resolv.conf
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.