[Pdns-users] questions of understanding pdns-recursor with hosts-file

Otto Moerbeek otto at drijf.net
Wed Sep 9 09:46:12 UTC 2020


On Tue, Sep 08, 2020 at 08:23:27AM +0200, Otto Moerbeek via Pdns-users wrote:

> On Tue, Sep 08, 2020 at 06:05:40AM +0000, Markus Ehrlicher via Pdns-users wrote:
> 
> > Hello together,
> > 
> > can anyone reproduce this problem or should I open a ticket on github?
> 
> I wanted to look into this, but I did not have time yet. Without
> looking at the code but knowing some details of the auth zone mechanism,
> I'm not surprised by what you are seeing.

Confirmed (the docs should be more explicit about this though).

I would suggest you look into Lua or RPZ zones. For Lua, see
https://docs.powerdns.com/recursor/lua-scripting/index.html

With RPZ zones you can specify alternative replies based on the qname
(but not the qtype) and they do not have the effect of covering
everything below a qname.

	-Otto


More information about the Pdns-users mailing list