Closed Ptolom closed 8 years ago
This script is causing DNS leaks.
echo -n "$R" | $RESOLVCONF -a "${dev}.inet" Does not remove the old DNS servers from resolv.conf.
echo -n "$R" | $RESOLVCONF -a "${dev}.inet"
Adding the exclusive flag (-x) to resolvconf will stop the old DNS from being used. echo -n "$R" | $RESOLVCONF -a -x "${dev}.inet"
echo -n "$R" | $RESOLVCONF -a -x "${dev}.inet"
Hello @Ptolom What are the drawbacks of using -x for the other DNS servers?
-x
Nevermind my previous comment. Just re-read the issue.
This script is causing DNS leaks.
echo -n "$R" | $RESOLVCONF -a "${dev}.inet"
Does not remove the old DNS servers from resolv.conf.Adding the exclusive flag (-x) to resolvconf will stop the old DNS from being used.
echo -n "$R" | $RESOLVCONF -a -x "${dev}.inet"