add 'nameserver' to resolv.conf, fixes #1450
This commit is contained in:
parent
ff6d8fc672
commit
9ddca42c91
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue