There is no less than 3 different ways to add DNS servers posted all over the internet. I have been reading netplan documentation and am I still not clear on how to add dns servers to a laptop. I am in a country with censorship/surveillance and I am using a VPN that is leaking DNS information.
say what you will, at least adding nameservers to resolv.conf was simple. Here is the best example of configuring DNS with a wifi connection that I have found. https://netplan.io/examples
network: version: 2 renderer: networkd wifis: wlp2s0b1: dhcp4: no dhcp6: no addresses: [192.168.0.21/24] gateway4: 192.168.0.1 nameservers: addresses: [192.168.0.1, 188.8.131.52] access-points: "network_ssid_name": password: "**********"
This examples makes it seem that I need to configure every access point I go to, I'm really hoping that's not true. Can one of you smart people please post a realistic example for home/small business user.
Are we really expecting desktop users to write .yaml files now? I just want to put nameservers in a file and be done with it.