hosts
plugin configured with fallthrough
does not fall through for TXT records
#6672
Labels
hosts
plugin configured with fallthrough
does not fall through for TXT records
#6672
What happened:
Requests for
TXT IN google.com.
will not fall through with a config like the following:They receive no answer.
What you expected to happen:
I would expect requests that cannot be answered by the inlined hosts to fall through and receive an answer from the upstream DNS server.
How to reproduce it (as minimally and precisely as possible):
Note how I receive
NOERROR
with 0 answers, compared toNOERROR
with 7 answers when asking my upstream DNS server directly.Anything else we need to know?:
The code responsible for this appears to be:
coredns/plugin/hosts/hosts.go
Lines 55 to 72 in a7ed346
Environment:
See
podman
invocation above.The text was updated successfully, but these errors were encountered: