Table of contents

Fix issues with vagrant-dns

If after updating Vagrant, you get errors regarding vagrant-dns when provisioning the VM you will need to reinstall the vagrant-dns plugin:

vagrant plugin uninstall vagrant-dns
vagrant plugin install vagrant-dns

You may see an error like:

/opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'celluloid' (>= 0.16.0) among 45 total gem(s) (Gem::LoadError)

It looks like this might be a problem with Vagrant 1.9.0, because installing 1.8.6 fixes the problem. The issue has been raised with vagrant-dns, so they may have a better workaround:

You may also need to make sure the plugin has been started:

vagrant dns --start

If you’re having issues with your host machine resolving hosts, try purging and reinstalling the DNS config:

vagrant dns --purge
vagrant dns --install
vagrant dns --start

In order to check if the plugin started correctly, you can run:

ps aux | grep vagrant-dns
vagrant dns --start -o

If you’re still having issues you can try to update the vagrant-dns plugin:

vagrant plugin update vagrant-dns
This page is owned by #2ndline and needs to be reviewed