summaryrefslogtreecommitdiffstats
path: root/rfc1035/rfc1035resolve.c
AgeCommit message (Collapse)Author
2021-03-01Fix handling of bad DNS queries.Sam Varshavchik
2020-04-21Reindent code.Sam Varshavchik
2020-04-21Use parallel queries in rfc1035_resolve_multiple.Sam Varshavchik
2020-04-09Fix AXFR processing.Sam Varshavchik
2020-04-09Separate tcp query into rfc1035_resolve_multiple_attempt_tcp.Sam Varshavchik
Move the check for the AXFR query into _idna, and call _tcp from there. Call _tcp from _multiple_attempt too, in case of truncation.
2020-04-09Factor out rfc1035_resolve_multiple_attempt.Sam Varshavchik
The inner loop of rfc1035_resolve_multiple_idna becomes() rfc1035_resolve_multiple_attempt(). rfc1035_resolve_multiple_idna keeps the retry loop, and the loop that iterates over all NSes, then the inner part of the loop becomes rfc1035_resolve_multiple_attempt() which returns NULL on failure, keeping the loop going. A non-NULL return indicates success. The code that closes udpfd, and updates rfc1035-dns remains in rfc1035_resolve_multiple_idna().
2020-04-07Add rfc1035_udp_query_response_alloc_bis.Sam Varshavchik
2018-07-23librfc1035: use UTF8 for DNS queriesSam Varshavchik
DNS lookups use libidn to convert UTF8 hostname to ACE. DNS replies convert ACE to UTF8 hostnames.
2013-08-25Initial checkinSam Varshavchik
Imported from subversion report, converted to git. Updated all paths in scripts and makefiles, reflecting the new directory hierarchy.