resolved: tweak domain routing logic a bit
authorLennart Poettering <lennart@poettering.net>
Fri, 8 Dec 2017 16:21:42 +0000 (17:21 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 8 Dec 2017 16:25:08 +0000 (17:25 +0100)
commit613dca46d22ca7d47fcbd78bfb4bca7f6541ebaf
tree06b59823638d7177495bec59080c42710c25c2b4
parentd937ef74edc405c3d0a014724a94ddd9d3d25960
resolved: tweak domain routing logic a bit

This makes sure that a classic DNS scope that has no DNS servers
assigned is never considered for routing requests to even if it has
matching search/routing domains associated.

This is inspired by #7544, where lookup requests are refused since a
scope with no DNS server is configured. This change does not deliver
what the reporter intended, but is generally useful in general, as it
makes us mor robust to misconfiguration.
src/resolve/resolved-dns-scope.c