mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-03-04 01:38:12 +08:00
Update check-dns.sh
This commit is contained in:
parent
296cff7f5c
commit
6a06804255
1 changed files with 1 additions and 1 deletions
|
@ -10,5 +10,5 @@ if [ $? -eq 0 ]; then
|
|||
echo "DNS server ${DNS_SERVER} already exists in ${RESOLV_CONF}."
|
||||
else
|
||||
echo "Adding DNS server ${DNS_SERVER} to ${RESOLV_CONF}..."
|
||||
echo "nameserver ${DNS_SERVER}" >> ${RESOLV_CONF}
|
||||
echo -e "nameserver 1.1.1.1\nnameserver 8.8.8.8\nnameserver 8.8.4.4\nnameserver 2606:4700:4700::1111\nnameserver 2001:4860:4860::8888\nnameserver 2001:4860:4860::8844" >> ${RESOLV_CONF}
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue