diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-05-17 19:38:29 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-05-17 19:38:29 +0000 |
commit | 413b26a719d402a30e61c8f93cf7cbf2f19375e3 (patch) | |
tree | 663c7611f40817ff1d0eeb031d906ac3f5fb20d6 /src/libs6dns/s6dns_resolveq.c | |
parent | 91e808f1db0b76f3625f516ec73a95b4e32decb2 (diff) | |
download | s6-dns-413b26a719d402a30e61c8f93cf7cbf2f19375e3.tar.xz |
Fix resolveq_aaaaa
If s6dns_resolveq_aaaaa gets nodata on the AAAA query for a
qualified domain, it will now wait for the answer to the A query
on the same qualified domain before returning.
Even if it gets nodata, it still means that the domain exists, so
it will not wait for results from other qualification attempts.
Diffstat (limited to 'src/libs6dns/s6dns_resolveq.c')
-rw-r--r-- | src/libs6dns/s6dns_resolveq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs6dns/s6dns_resolveq.c b/src/libs6dns/s6dns_resolveq.c index a2933ee..3c1d22c 100644 --- a/src/libs6dns/s6dns_resolveq.c +++ b/src/libs6dns/s6dns_resolveq.c @@ -1,7 +1,9 @@ /* ISC license. */ #include <errno.h> + #include <skalibs/error.h> + #include <s6-dns/s6dns-domain.h> #include <s6-dns/s6dns-message.h> #include <s6-dns/s6dns-engine.h> |