Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save joyoyoyoyoyo/c792918352e71586794150db7f349adc to your computer and use it in GitHub Desktop.
Save joyoyoyoyoyo/c792918352e71586794150db7f349adc to your computer and use it in GitHub Desktop.
Configure Vagrant VM to use Host DNS for VPN
Vagrant::Config.run do |config|
# ...
config.vm.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment