Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

DNS not resolvable #66

Open
gavin-webstuff opened this issue Jun 5, 2014 · 0 comments
Open

DNS not resolvable #66

gavin-webstuff opened this issue Jun 5, 2014 · 0 comments

Comments

@gavin-webstuff
Copy link

Probably an edge case but some scenarios domain names are not resolvable and vague errors like unable to fetch packages etc.
The solution is simple in the vagrant box run

$ echo 'nameserver 8.8.8.8' | sudo tee /etc/resolvconf/resolv.conf.d/tail && sudo resolvconf -u 

which outputs the google dns server into a tail file which gets appended to resolv.conf and is persistent across reboots.

resolvconf -u rebuilds the resolv.conf file

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant