summaryrefslogtreecommitdiffstats
path: root/src/resolv/async_resolv.h
Commit message (Collapse)AuthorAgeFilesLines
* resolv: Use the same default timeout for SRV queries as previouslyJakub Hrozek2015-06-241-0/+6
| | | | | | | | | | | | When we changed the resolver code to use the TTL values from the DNS queries instead of harcoded ones, we changed the default value by accident. Add a separate SRV TTL that is backwards-compatible with the old harcoded value. Reviewed-by: Pavel Březina <pbrezina@redhat.com> (cherry picked from commit eafbc66c2ff6365478e62a8df3fd005bf80e5c7b)
* RESOLV: Add an internal function to read TTL from a DNS packetJakub Hrozek2015-06-241-1/+2
| | | | | | | | | | | | | Related: https://fedorahosted.org/sssd/ticket/1884 Adds an internal resolver function that reads the TTL for SRV records as specified by RFC-2181. Several internal c-ares definitions are used until c-ares contains a function that exposes all this information via a parsing function. Reviewed-by: Pavel Březina <pbrezina@redhat.com> (cherry picked from commit bf54fbed126ec3d459af40ea370ffadacd31c76d)
* Add sockaddr_storage to sdap_serviceSumit Bose2011-06-301-0/+4
|
* Switch resolver to using resolv_hostent and honor TTLJakub Hrozek2011-06-301-25/+31
| | | | | | Conflicts: src/providers/fail_over.c
* Add new resolv_hostent data structure and utility functionsJakub Hrozek2011-06-301-0/+29
|
* Add utility function to return IP address as stringJakub Hrozek2011-06-021-0/+3
|
* Sort SRV replies according to RFC 2782Jakub Hrozek2010-04-301-0/+4
| | | | | | | | | | RFC 2782 defines a way to sort replies to a SRV query. In short, the algorithm sorts all replies by priority and then does a weight-based selection for every priority level. For details, please see the sections "Usage rules" for overview of the algorithm and section "The 'Weight' field" for description on the weight selection.
* Restrict family lookupsJakub Hrozek2010-02-221-1/+9
| | | | | | | Adds a new option that tells resolver which address family to prefer or use exclusively. Fixes: #404
* Rename server/ directory to src/Stephen Gallagher2010-02-181-0/+95
Also update BUILD.txt