Closed gregor160300 closed 6 years ago
Thanks for your pull request. I run arch and this does not happen with my system. I am using dnsmasq running on localhost to provide DNS, and have systemd-resolved.service disabled. I generally expect the user to take responsibility for services they run on their own systems that mess with DNS. I am not comfortable stretching this script to make system modifications at this level. I'm not sure but I don't expect systemd-resolved randomly changes resolve.conf in the middle of a session, I think it's only done when booting up the system.
Thanks for your response, I understand your decision, but maybe consider adding a warning to the readme telling users they should take care of this themselves. As for systemd-resolved it has changed my resolve.conf mid session, it always kept adding my router as the first DNS causing PIA's to be ignored.
On Arch Linux and Arch based OSes the system service automatically adds the router as a DNS provider, this causes your ISPs DNS to be used. Upon running with the DNS option stop the service and start it again on exit.