Systemd/src/resolve
Lennart Poettering 9318cdd374 resolved: change error code when trying to resolve direct LLMNR PTR RRs
If we try to resoolve an LLMNR PTR RR we shall connect via TCP directly
to the specified IP address. We already refuse to do this if the address
to resolve is of a different address family as the transaction's scope.
The error returned was EAFNOSUPPORT. Let's change this to ESRCH which is
how we indicate "not server available" when connecting for LLMNR or DNS,
since that's what this really is: we have no server we could connect to
in this address family.

This allows us to ensure that no server errors are always handled the same
way.
2015-08-24 23:47:28 +02:00
..
.gitignore resolve: add more record types and convert to gperf table 2014-08-03 22:02:32 -04:00
dns-type.c treewide: fix typos 2015-07-29 12:29:46 +02:00
dns-type.h resolved: rr - ignore pseudo types in NSEC(3) bitmaps 2015-07-23 18:06:50 +02:00
Makefile resolved: add daemon to manage resolv.conf 2014-05-19 18:14:56 +02:00
org.freedesktop.resolve1.conf resolved: add legacy dbus service and policy files 2014-07-16 03:41:39 +02:00
org.freedesktop.resolve1.service resolved: add legacy dbus service and policy files 2014-07-16 03:41:39 +02:00
resolved-bus.c resolved: remove duplicate handling of "no servers" query result 2015-08-24 23:44:33 +02:00
resolved-bus.h resolved: rename resolved.h to resolved-manager.h 2014-08-01 16:14:59 +02:00
resolved-conf.c resolve: remove unused variable 2014-11-30 02:04:50 +01:00
resolved-conf.h resolved: rename resolved.h to resolved-manager.h 2014-08-01 16:14:59 +02:00
resolved-def.h resolved: allow passing on which protocol, family and interface to look something up 2014-08-14 01:01:43 +02:00
resolved-dns-answer.c resolved: rework synthesizing logic 2015-08-21 12:41:08 +02:00
resolved-dns-answer.h resolved: rework synthesizing logic 2015-08-21 12:41:08 +02:00
resolved-dns-cache.c resolved: only maintain one question RR key per transaction 2015-08-21 22:55:01 +02:00
resolved-dns-cache.h resolved: only maintain one question RR key per transaction 2015-08-21 22:55:01 +02:00
resolved-dns-packet.c resolved: when passing RRs across the bus, make sure not to use name compression 2015-08-21 16:04:59 +02:00
resolved-dns-packet.h resolved: when passing RRs across the bus, make sure not to use name compression 2015-08-21 16:04:59 +02:00
resolved-dns-query.c resolved: remove duplicate handling of "no servers" query result 2015-08-24 23:44:33 +02:00
resolved-dns-query.h resolved: rework synthesizing logic 2015-08-21 12:41:08 +02:00
resolved-dns-question.c resolved: only maintain one question RR key per transaction 2015-08-21 22:55:01 +02:00
resolved-dns-question.h resolved: only maintain one question RR key per transaction 2015-08-21 22:55:01 +02:00
resolved-dns-rr.c resolved: rework synthesizing logic 2015-08-21 12:41:08 +02:00
resolved-dns-rr.h resolved: rework synthesizing logic 2015-08-21 12:41:08 +02:00
resolved-dns-scope.c resolved: replace transaction list by hashmap 2015-08-24 23:15:51 +02:00
resolved-dns-scope.h resolved: replace transaction list by hashmap 2015-08-24 23:15:51 +02:00
resolved-dns-server.c resolved: transaction - exponentially increase retry timeouts 2015-08-03 14:06:58 +02:00
resolved-dns-server.h resolved: transaction - exponentially increase retry timeouts 2015-08-03 14:06:58 +02:00
resolved-dns-stream.c util: introduce CMSG_FOREACH() macro and make use of it everywhere 2015-06-10 19:29:47 +02:00
resolved-dns-stream.h remove unused includes 2015-02-23 23:53:42 +01:00
resolved-dns-transaction.c resolved: change error code when trying to resolve direct LLMNR PTR RRs 2015-08-24 23:47:28 +02:00
resolved-dns-transaction.h resolved: only maintain one question RR key per transaction 2015-08-21 22:55:01 +02:00
resolved-dns-zone.c resolved: only maintain one question RR key per transaction 2015-08-21 22:55:01 +02:00
resolved-dns-zone.h resolved: make sure we don't mark the wrong zone RRs conflicting 2014-08-11 15:06:22 +02:00
resolved-gperf.gperf resolved: beef up DNS server configuration logic 2014-08-01 16:06:39 +02:00
resolved-link.c resolved: rework synthesizing logic 2015-08-21 12:41:08 +02:00
resolved-link.h sd-netlink: rename from sd-rtnl 2015-06-13 19:52:54 +02:00
resolved-llmnr.c resolved: use a #define for LLMNR port 2015-07-13 11:28:29 -04:00
resolved-llmnr.h resolved: use a #define for LLMNR port 2015-07-13 11:28:29 -04:00
resolved-manager.c remove unused variables 2015-08-21 22:19:10 +02:00
resolved-manager.h resolved: rework synthesizing logic 2015-08-21 12:41:08 +02:00
resolved.c everywhere: port everything to sigprocmask_many() and friends 2015-06-15 20:13:23 +02:00
resolved.conf.in Do not advertise .d snippets over main config file 2015-03-03 19:10:21 -05:00