Varying-Vagrant-Vagrants / VVV

An open source Vagrant configuration for developing with WordPress
https://varyingvagrantvagrants.org
MIT License
4.55k stars 849 forks source link

Custom DNS #2701

Open tomjn opened 4 months ago

tomjn commented 4 months ago

This is my first attempt to fix DNS inside the VM on Parallels, on my machine it fails to resolve DNS a lot when using the DNS provided by Parallels but switching it over to googles or another fixed it for me until I reprovisioned.

So I tried to automate it and configure Netplan by replacing the DNS with my own chosen from Quad9 and Cloudflare ( is google really trustworthy enough? And probably blocked/limited in a lot of places ).

Unfortunately the results weren't great as a lot of the configs simply don't have a DNS section to be replaced.

Instead a better approach might be to include a netplan config and copy it into place

Checks