summaryrefslogtreecommitdiff
path: root/doc/libs6dns/s6dns-message.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-05-17 19:38:29 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-05-17 19:38:29 +0000
commit413b26a719d402a30e61c8f93cf7cbf2f19375e3 (patch)
tree663c7611f40817ff1d0eeb031d906ac3f5fb20d6 /doc/libs6dns/s6dns-message.html
parent91e808f1db0b76f3625f516ec73a95b4e32decb2 (diff)
downloads6-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 'doc/libs6dns/s6dns-message.html')
-rw-r--r--doc/libs6dns/s6dns-message.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/libs6dns/s6dns-message.html b/doc/libs6dns/s6dns-message.html
index 1c5a92d..315b375 100644
--- a/doc/libs6dns/s6dns-message.html
+++ b/doc/libs6dns/s6dns-message.html
@@ -257,7 +257,8 @@ containing <tt>s6dns_message_rr_caa_t</tt> structures.
It stores the packet header into *<em>h</em>. Then, for every RR in the answer,
authority or additional section of the packet, it calls <em>f</em> with the
relevant parameters. <em>data</em> is the extra pointer given to <em>f</em> to
-store information. The function returns 1 if the parsing succeeds. Otherwise it
+store information. If the parsing succeeds, the function returns 2 if the packet
+contains an answer section and 1 if it does not. Otherwise, it
returns -1 if there is a local error unrelated to the packet, or 0 if no
appropriate answer can be decoded from the packet. errno then contains one
of the following values: