On Tue, 2024-10-29 at 22:14 +0000, Djerk Geurts via Pdns-users wrote:
> Hi all,
> 
> Is there a way to return NXDOMAIn instead of a valid response?
> 
> test IN LUA CNAME 
> "view({{{'10.0.0.0/16'},{‘ns0.internal.domain.com.'}},{{'0.0.0.0/0'},{''}}})”
> 
> I would like to return NXDOMAIN instead of SERVFAIL for sources outside 
> 10.0/16.

returning a CNAME to a name that does not exist will generate NXDOMAIN in
the end.

Kind regards,
-- 
Peter van Dijk
PowerDNS.com B.V. - https://www.powerdns.com/
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to