Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-24 | question: drop dns_question_is_superset() which we don't use anymore | Lennart Poettering | |
2015-11-23 | resolved: add ResolveService() bus call for resolving SRV and DNS-SD services | Lennart Poettering | |
This also adds client-side support for this to systemd-resolve-host. Note that the ResolveService() API can deal both with DNS-SD service (consisting of service name, type and domain), as well as classic SRV services (consisting just of a type and a domain), all exposed in the same call. This patch also reworks CNAME handling in order to reuse it between hostname, RR and service lookups. In contrast to Avahi and Bonjour, this new API will actually reolve the A/AAAA RRs the SRV RRs point to in one go (unless this is explicitly disabled). This normally comes for free, as these RRs are sent along the SRV responses anyway, hence let's make use of that. This makes the API considerably easier to use, as a single ResolveService() invocation will return all necessary data to pick a server and connect() to it. Note that this only implements the DNS-SD resolving step, it does not implement DNS-SD browsing, as that makes sense primarily on mDNS, due to its continuous nature. | |||
2015-09-16 | resolved: rr - introduce dns_resource_key_new_redirect() | Tom Gundersen | |
Takes a key and CNAME RR and returns the canonical RR of the right type. Make use of this in dns_question_redirect(). | |||
2015-08-21 | resolved: only maintain one question RR key per transaction | Lennart Poettering | |
Let's simplify things and only maintain a single RR key per transaction object, instead of a full DnsQuestion. Unicast DNS and LLMNR don't support multiple questions per packet anway, and Multicast DNS suggests coalescing questions beyond a single dns query, across the whole system. | |||
2015-07-28 | resolved: compare dns question arrays properly | Lennart Poettering | |
Let's optimize things a bit and properly compare DNS question arrays, instead of checking if they are mutual supersets. This also makes ANY query handling more accurate. | |||
2014-07-29 | resolved: when resolving an address PTR record via llmnr, make a tcp ↵ | Lennart Poettering | |
connection by default | |||
2014-07-23 | resolved: rework logic so that we can share transactions between queries of ↵ | Lennart Poettering | |
different clients |