From: Ian Jackson Date: Sun, 5 May 2024 19:31:14 +0000 (+0100) Subject: Ignore resolv.conf option `trust-ad` X-Git-Tag: adns-1.6.1~4 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=ae0b4562aee0b1fd01c70a1ccf17e7093f69a3c0;p=adns.git Ignore resolv.conf option `trust-ad` I went through the resolv.conf(5) manpage and nothing else needs to be ignored. But, also, `trust-ad` wasn't listed? Fixes Debian #1028112 --- diff --git a/src/setup.c b/src/setup.c index 3646968..772c727 100644 --- a/src/setup.c +++ b/src/setup.c @@ -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;