intercept RR during recursion

Simon IJskes simon at ijskes.org
Fri Nov 11 09:55:08 UTC 2022


I've observed the following (in 1.13.1-1ubuntu5.2):


dns:

host1.dom.nl.   CNAME  host2.sub.dom.nl.
sub.dom.nl.     NS     ns.dom.nl.

ns.dom.nl:

host2.sub.som.nl.   A     1.2.3.4


config:

local-zone: "sub.dom.nl." transparent
local-data: "host2.sub.dom.nl. A 8.9.10.11"


when i query host1.dom.nl with dig i get:

;; ANSWER SECTION:
host1.dom.nl.   CNAME  host2.sub.dom.nl.
host2.sub.som.nl.   A     1.2.3.4

what i would have expected:

;; ANSWER SECTION:
host1.dom.nl.   CNAME  host2.sub.dom.nl.
host2.sub.som.nl.   A     8.9.10.11

It looks like the local-data 'intercept' only occurs on the query, and 
not in the recursion stage.

Is this as designed? a bug? fixed already?

Thanks,

Simon



More information about the Unbound-users mailing list