This is useful if you modify your /etc/hosts for whatever reason, and you want your VMs to use it.
/etc/hosts
$ VBoxManage modifyvm "VM Name" --natdnshostresolver1 on