vagrant-hostmaster is a Vagrant plugin to manage /etc/hosts entries on both the host OS and guest VMs.
S. Brent Faulkner
gem "vagrant-hostmaster", "~> 0.7.0"