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:
parent
f739662392
commit
290af476dc
@ -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 New Issue
Block a user