catalyst-auto: Ensure 'options edns0' is in /etc/resolv.conf

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner 2020-04-25 22:23:48 -07:00
parent e9ea15ab8b
commit e24e331fa3

View file

@ -243,6 +243,11 @@ verify_dnssec() {
echo "DNSSEC does not appear to be working. Bailing out" echo "DNSSEC does not appear to be working. Bailing out"
exit 1 exit 1
fi fi
if ! grep -q '^options \<edns0\>' /etc/resolv.conf; then
echo "DNSSEC is not enabled in /etc/resolv.conf"
exit 1
fi
} }
run_catalyst_commands() { run_catalyst_commands() {