commit | 1eb6cedb03cb335071fda22ee7c623b2298d3729 | [log] [tgz] |
---|---|---|
author | Simon Kelley <simon@thekelleys.org.uk> | Sat Nov 14 15:29:34 2020 +0000 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Wed Dec 16 15:49:02 2020 +0000 |
tree | 66eab264f87f29cdc068164a7e2394c6a779893b | |
parent | 059aded0700309308dafd9720b0313ce52f6e189 [diff] |
Fix DNS reply when asking for DNSSEC and a validated CNAME is already cached.
diff --git a/src/rfc1035.c b/src/rfc1035.c index a8cdc6e..79af53f 100644 --- a/src/rfc1035.c +++ b/src/rfc1035.c
@@ -1359,6 +1359,8 @@ } } + else + return 0; /* give up if any cached CNAME in chain can't be used for DNSSEC reasons. */ strcpy(name, cname_target); }