Vagrant::Config.run do |config| # ... config.vm.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] end