[Pdns-users] Split Horizon Scripts

Daniel L. Miller dmiller at amfes.com
Tue Nov 15 06:42:10 UTC 2011


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



More information about the Pdns-users mailing list