This commit is contained in:
ahmadbilalkhalid 2019-09-02 22:39:29 +05:00
parent d587fe4b7b
commit 6098c1a57a
1 changed files with 1 additions and 1 deletions

View File

@ -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