[Pdns-users] Override NXDOMAIN with A reply
bert.hubert at powerdns.com
Wed Jul 25 09:13:35 UTC 2018
On Wed, Jul 25, 2018 at 10:41:09AM +0200, Kevin Olbrich wrote:
> I set up two dnsdist instances against an internal authoritative DNS.
> To better support our users, I would like to install an intranet site which
> explains why a website ist not available (most likely typo).
Hi Kevin - we have a dedicated dnsdist list, but I think we can spare one
> Is it possible to override NXDOMAIN with an A reply?
You could achieve this easily with a wilcard record on your auth server,
perhaps that is easier?
If that is not possible, you could try something like:
addResponseAction(RCodeRule(dnsdist.NXDOMAIN), SpoofAction("22.214.171.124", "::1"))
I have not tried this and it may not work - SpoofAction might in fact only
work when it receives queries. Can you try and let us know? (on the dnsdist
More information about the Pdns-users