On 11/14/2011 1:28 PM, Erik Weber wrote:
In Lua you have to escape the dash in string.find with a %-sign.

if string.find(domain,"lv%-mircom.us.") ......
I figured it would be something like that - thanks!!!

Is there a "better" way to do this (read: more efficient or scalable)? I assume the processing overhead is negligible due to the caching? - when watching the logs, looks like the script only gets run once for a given query.
--
Daniel
_______________________________________________
Pdns-users mailing list
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to