[Pdns-users] lua variables
bert.hubert at netherlabs.nl
Tue Sep 17 11:26:58 UTC 2013
On Thu, Sep 12, 2013 at 01:39:31PM -0700, chayes wrote:
> I'd like to isolate the domain inside of an lua script.
> I know about the "domain" variable ... but it can contain subdomain like
> Is there a variable that only contains the "google.com" in the above
> Or do I have to do the string manipulation to get it?
Yes - there is no clean definition of what is "the domain name".
PowerDNS internally does have a guess, but it does not send this to Lua.
> View this message in context: http://powerdns.13854.n7.nabble.com/lua-variables-tp10335.html
> Sent from the PowerDNS mailing list archive at Nabble.com.
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
More information about the Pdns-users