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
1 changed files with 1 additions and 1 deletions

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.