[Pdns-users] lua script suggestions
gustavovillega at gmail.com
Wed Feb 24 17:18:12 UTC 2016
i'm trying to make a LUA script
but have some issues, apreciate your sugestions
added a class IP
and try to check if answer data is inside this class, something like:
but in postresolve i get an error when I write : badips:match(
how can ask if the resolved IP is inside the class ?
I can change the IP adderss in postresolve
how can i change the name "v:name"?
out objetive is redirect the answer if the query is inside a IP address
or how can I redirect the response to a diferent name:ip address
if the request resolved for a IP address in a specified range ?
Hope can help,
PD. sorry for my english
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pdns-users