[Pdns-users] Returning NXDOMAIN from remote backend?
bert hubert
bert.hubert at powerdns.com
Wed Jan 28 10:11:57 UTC 2015
On Wed, Jan 28, 2015 at 08:57:52AM +0100, Nagy, Attila wrote:
> Maybe I've just overlooked something, but what JSON is needed for an
> NXDOMAIN reply in the remote backend?
Hi Nagy,
To generate an NXDOMAIN:
1) return that there are no records matching the request.
2) if PowerDNS asks for ANY or SOA records for the domain, generate them
If you do 1 and 2, PowerDNS will make the NXDOMAIN for you.
Bert
>
> Thanks,
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>
More information about the Pdns-users
mailing list