X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=trusted-network;h=825604e8421e21698b066860f0fb8dfe3807b471;hb=e72acaee4cf7c394ca0e35b84d3afbd8ef5a4b32;hp=c0ed8a5094fcdadd153b291e4461dbf7251b37d2;hpb=51c8b40fd2aac71d29dc9298ca65425725ad1edd;p=distro-setup diff --git a/trusted-network b/trusted-network index c0ed8a5..825604e 100755 --- a/trusted-network +++ b/trusted-network @@ -57,13 +57,17 @@ if $trust; then fi fi - rm -fv /etc/systemd/resolved.conf.d/untrusted-network.conf + # https://github.com/jonathanio/update-systemd-resolved + # suggests this will help prevent leakage into a vpn interface + cat >/etc/systemd/resolved.conf.d/untrusted-network.conf </etc/systemd/resolved.conf.d/untrusted-network.conf <