chiark / gitweb /
Ignore resolv.conf option `trust-ad`
[adns.git] / src / setup.c
index 3646968cd7a3b27d9126f412f749212464abae6c..772c727111efb1e5de49d997a7dbecd5fbe74268 100644 (file)
@@ -348,6 +348,8 @@ static void ccf_options(adns_state ads, const char *fn,
        /* adns normally does IPv6 if the application wants it; control
         * this with the adns_af: option if you like */
        WORD_IS("inet6") ||
+       /* adns trusts the resolver anyway */
+       WORD_IS("trust-ad") ||
        /* adns does not do edns0 and this is not a problem */
        WORD_IS("edns0"))
       continue;