vagrant-cassandra icon indicating copy to clipboard operation
vagrant-cassandra copied to clipboard

Ensure DNS works for the 1.Base Template

Open pchng opened this issue 8 years ago • 2 comments

It seems that it's a common issue that DNS may not work inside of a VirtualBox VM. [1] The fix is straightforward [2], and involves setting the --natdnshostresolver1 option to on.

Testing done:

  1. Run vagrant up from a new state.
  2. vagrant ssh into the new VM.
  3. Run curl google.com and verify get back a response.

References:

  1. https://www.vagrantup.com/docs/virtualbox/common-issues.html
  2. https://serverfault.com/questions/453185/vagrant-virtualbox-dns-10-0-2-3-not-working

pchng avatar May 11 '17 04:05 pchng

@pchng thanks for this and my apologies for being slow to respond. What type of host OS/version are you using? (Mac, Win, Linux, etc.) I haven't personally seen this issue yet but I it sounds like it's not uncommon.

bcantoni avatar Jun 22 '17 23:06 bcantoni

@bcantoni Not a problem! At the time, I was running:

OS Name:                   Microsoft Windows 10 Home
OS Version:                10.0.14393 N/A Build 14393
Vagrant 1.9.4

Thanks for the update!

pchng avatar Jun 23 '17 02:06 pchng