vagrant-cassandra
vagrant-cassandra copied to clipboard
Ensure DNS works for the 1.Base Template
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:
- Run
vagrant upfrom a new state. -
vagrant sshinto the new VM. - Run
curl google.comand verify get back a response.
References:
- https://www.vagrantup.com/docs/virtualbox/common-issues.html
- https://serverfault.com/questions/453185/vagrant-virtualbox-dns-10-0-2-3-not-working
@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 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!