Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNS setup broken on some Windows installations #9

Open
WalternativE opened this issue Jun 25, 2017 · 0 comments
Open

DNS setup broken on some Windows installations #9

WalternativE opened this issue Jun 25, 2017 · 0 comments

Comments

@WalternativE
Copy link

Problem:
DNS not properly working on vagrant boxes on some Windows installations using the standard setup.

How to reproduce:
ping any host by it's hostname (eg ping google.com) it should not resolve.

How to fix:

  • Halt the vagrant box
  • In the config section of the Vagrantfile add
    config.vm.provider :virtualbox do |vb| vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] end
  • start the vagrant box again

How to validate:
Ping any host again - it should now resolve correctly

This was tested using a Win10 Pro (build 1703) - further investigation might be required.

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

No branches or pull requests

1 participant