resolved: when synthesizing RR responses, own the name fully
authorLennart Poettering <lennart@poettering.net>
Fri, 22 Jan 2016 11:22:05 +0000 (12:22 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 Jan 2016 16:19:19 +0000 (17:19 +0100)
commit528e685ebd3657f2531f8666c9e4bba6fbd38acd
treecc3223c934baa57a2ef66b48f42d0dbdf9f73966
parent0791110fbee9d7dfcabd6e338c290e90aeb79644
resolved: when synthesizing RR responses, own the name fully

When we synthesize A/AAAA for domains like "localhost", then make sure we generate ENODATA if the user asks for RR
types such a RP to be solved on the name. Previously, we'd pass the error back in that case that was generated from the
usual lookup procedure.
src/resolve/resolved-dns-synthesize.c