Systemd/src/nss-resolve
Martin Pitt d7247512a9 nss-resolve: return NOTFOUND instead of UNAVAIL on resolution errors
It needs to be possible to tell apart "the nss-resolve module does not exist"
(which can happen when running foreign-architecture programs) from "the queried
DNS name failed DNSSEC validation" or other errors. So return NOTFOUND for these
cases too, and only keep UNAVAIL for the cases where we cannot handle the given
address family.

This makes it possible to configure a fallback to "dns" without breaking
DNSSEC, with "resolve [!UNAVAIL=return] dns". Add this to the manpage.

This does not change behaviour if resolved is not running, as that already
falls back to the "dns" glibc module.

Fixes #4157
2016-10-01 16:59:06 +02:00
..
Makefile resolved: add small NSS module that uses resolved to resolve DNS names 2014-07-16 03:31:30 +02:00
nss-resolve.c nss-resolve: return NOTFOUND instead of UNAVAIL on resolution errors 2016-10-01 16:59:06 +02:00
nss-resolve.sym resolved: add small NSS module that uses resolved to resolve DNS names 2014-07-16 03:31:30 +02:00