From ae0b4562aee0b1fd01c70a1ccf17e7093f69a3c0 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 5 May 2024 20:31:14 +0100 Subject: [PATCH] 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 --- src/setup.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.30.2