[Pdns-users] Lua view record - how to return NXDOMAIN?

Djerk Geurts djerk at maizymoo.com
Tue Oct 29 22:14:29 UTC 2024


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.

Thanks,
Djerk Geurts




More information about the Pdns-users mailing list