This commit is contained in:
parent
d587fe4b7b
commit
6098c1a57a
|
@ -71,7 +71,7 @@ setup_dns() {
|
|||
|
||||
# Check if rdnssd is installed, if not put Google's DNS
|
||||
# into /etc/resolv.conf and install rdnssd for the next time
|
||||
if ! which rdnssd; then
|
||||
if ! apk list | grep -q ndisc6; then
|
||||
echo "nameserver 2001:4860:4860::8888" >> $etc_resolv_path
|
||||
echo "nameserver 2001:4860:4860::8844" >> $etc_resolv_path
|
||||
echo "nameserver 8.8.8.8" >> $etc_resolv_path
|
||||
|
|
Loading…
Reference in New Issue