Skip to content

DNS setup broken on some Windows installations #9

@WalternativE

Description

@WalternativE

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions