try adding this config.vm.provider :virtualbox do |vb| vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] end
On Thu, Aug 8, 2019 at 9:49 PM Devils Kiddo <[email protected]> wrote: > > I am on Windows 10, using a centos 7 box, for DNS tools, mostly. I need > them for domains and DNS stuff. Unfortunately I have no idea what you are > referring to. I don't suppose this file exists anywhere, at least in the > vagrant folder? I have looked everywhere for it > On Thursday, 8 August 2019 00:05:59 UTC+3, Jim McGinness wrote: >> >> Those changes to resolv.conf should persist across ssh logins - unless >> you're doing a "vagrant reload" or otherwise recreating the VM. >> >> Something else is going on. It could be that Network Manager is rewriting >> the resolv.conf file whenever the dhcp lease is renewed. Are you in control >> of your DHCP server? Is it possible to change the DNS providers that it >> propagates to its clients? >> > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > IRC: #vagrant on Freenode > --- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/c35895bd-30fb-4660-b3ea-3f1e15264571%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/c35895bd-30fb-4660-b3ea-3f1e15264571%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Alvaro -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ewBHcVv%2BgPWwSsmSCv9zEZON%3DJpmpq2Q0vB-whPU7tn6A%40mail.gmail.com.
