VBoxManage modifyvm "VM name" --natdnshostresolver1 on
-adam
I'm nearly there on getting my vagrant box set up, however I've run into an issue with DNS. I have configured my box with host only networking (as I need to access a SSL apache server and I prefer to be able to alias box.dev rather than using a port forward) and this is working great, except that my box needs to be able to access resources over a VPN. Now through host only networking, this works fine when my machine is connected to the VPN, however, DNS is not working. I fixed this by adding the VPN's DNS server to /etc/resolv.conf and adding the vpn search domain there as well. Perfect. Except, every time I reboot the vagrant box it rewrites the resolv.conf and undoes this.I'm not quite sure how I'm supposed to handle this (and it may be an obscure situation) but is there anyway I can either specify an additional nameserver to go in the resolv.conf or alternately somehow configure the vagrant box to use the nameservers the host is using?--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.