]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
resolv.conf: Add "trust-ad" option
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Feb 2020 11:45:47 +0000 (11:45 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 26 Mar 2020 10:06:31 +0000 (10:06 +0000)
Since we are running unbound locally which always runs DNSSEC
validation, we can simply trust it and pass the ad flag on to
applications which make use of it.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/initscripts/system/localnet

index a16b32e46df665afaed12ed1dad04be649aec85a..0d01bd3003996ba0c6e62cafc4bdb10f855c8f5a 100644 (file)
@@ -19,6 +19,7 @@ write_resolv_conf() {
        (
                [ -n "${DOMAINNAME}" ] && echo "search ${DOMAINNAME}"
                echo "nameserver 127.0.0.1"
+               echo "options trust-ad"
        ) > /etc/resolv.conf
 }