summaryrefslogtreecommitdiff
path: root/src/network/lookup_name.c
AgeCommit message (Expand)AuthorFilesLines
2023-04-07dns: check length field in tcp response messageAlexey Kodanev1-0/+1
2023-02-27prevent CNAME/PTR parsing from reading data past the response endAlexey Izbyshev1-2/+2
2022-10-19clean up dns_parse_callbackRich Felker1-13/+13
2022-10-19dns response handling: don't treat too many addresses as an errorRich Felker1-1/+1
2022-10-19dns response handling: ignore presence of wrong-type RRsRich Felker1-2/+8
2022-10-19getaddrinfo dns lookup: use larger answer buffer to handle long CNAMEsRich Felker1-3/+5
2022-09-20getaddrinfo: add EAI_NODATA error code to distinguish NODATA vs NxDomainRich Felker1-2/+2
2022-09-19dns: treat names rejected by res_mkquery as nonexistent rather than errorRich Felker1-1/+1
2022-06-03ensure distinct query id for parallel A and AAAA queries in resolverRich Felker1-0/+3
2020-08-05in hosts file lookups, honor first canonical name regardless of familyRich Felker1-1/+1
2020-08-04in hosts file lookups, use only first match for canonical nameRich Felker1-2/+7
2020-05-19fix handling of errors resolving one of paired A+AAAA queryRich Felker1-4/+7
2020-05-18set AD bit in dns queries, suppress for internal useRich Felker1-0/+1
2018-09-12overhaul internally-public declarations using wrapper headersRich Felker1-3/+1
2018-09-12move __res_msend_rc declaration to lookup.hRich Felker1-1/+0
2018-09-12move and deduplicate declarations of __dns_parse to make it checkableRich Felker1-1/+0
2018-09-02fix stack-based oob memory clobber in resolver's result sortingRich Felker1-1/+1
2018-07-11resolver: don't depend on v4mapped ipv6 to probe routability of v4 addrsRich Felker1-15/+32
2018-06-26resolver: omit final dot (root/suppress-search) in canonical nameRich Felker1-0/+4
2017-10-18in dns parsing callback, enforce MAXADDRS to preclude overflowRich Felker1-0/+1
2017-04-11fix read past end of buffer in getaddrinfo backendRich Felker1-2/+2
2016-06-29refactor name_from_dns in hostname lookup backendNatanael Copa1-14/+13
2016-06-29in performing dns lookups, check result from res_mkqueryNatanael Copa1-0/+4
2016-03-02handle non-matching address family entries in hosts fileRich Felker1-3/+11
2016-01-28reuse parsed resolv.conf in dns core to avoid re-reading/re-parsingRich Felker1-5/+6
2016-01-28add support for search domains to dns resolverRich Felker1-1/+41
2016-01-28fix handling of dns response codesRich Felker1-1/+2
2015-10-26safely handle failure to open hosts, services, resolv.conf filesRich Felker1-1/+9
2014-06-21implement result address sorting in the resolver (getaddrinfo, etc.)Rich Felker1-0/+135
2014-06-06accept trailing . and empty domain namesSzabolcs Nagy1-3/+4
2014-06-05fix the domain name length limit checksSzabolcs Nagy1-2/+2
2014-06-04add support for reverse name lookups from hosts file to getnameinfoRich Felker1-38/+3
2014-06-04add support for ipv6 scope_id to getaddrinfo and getnameinfoRich Felker1-4/+27
2014-06-03fix negative response and non-response handling for dns queriesRich Felker1-1/+4
2014-06-02remove cruft from old resolver and numeric ip parsingRich Felker1-1/+3
2014-06-02switch standard resolver functions to use the new dns backendRich Felker1-21/+61
2014-06-02fix off-by-one in checking hostname length in new resolver backendRich Felker1-2/+2
2014-05-31refactor getaddrinfo and add support for most remaining featuresRich Felker1-0/+168