Re: DLZ $client% parameter segfault

2013-04-04 Thread Vadim S. Goncharov
On 04.04.2013 04:35, Evan Hunt wrote: Thanks certainly blows up the possibility of doing native GeoDNS at the moment? Any chance I am overlooking a method which I could effectively get the clients address into a MySQL query with the current 9.9.2 release? It's not quite the same as %client%, bu

Re: DLZ $client% parameter segfault

2013-04-03 Thread Evan Hunt
> Thanks certainly blows up the possibility of doing native GeoDNS at the > moment? Any chance I am overlooking a method which I could effectively > get the clients address into a MySQL query with the current 9.9.2 > release? It's not quite the same as %client%, but I suggest you take a look at co

Re: DLZ $client% parameter segfault

2013-04-03 Thread Michael McConnell
Thanks certainly blows up the possibility of doing native GeoDNS at the moment… Any chance I am overlooking a method which I could effectively get the clients address into a MySQL query with the current 9.9.2 release? Thanks again, Michael -- Michael McConnell WINK Streaming; email: mich...@wi

Re: DLZ $client% parameter segfault

2013-04-03 Thread Vadim S. Goncharov
On 02.04.2013 01:13, Michael McConnell wrote: Unfortunatelly, $client$ is only supported in allowzonexfr() method (see e.g. http://bind-dlz.sourceforge.net/mysql_driver.html for some info about SDLZ methods). It would be nice to have it in others, too, but BIND does not pass it via current API

Re: DLZ $client% parameter segfault

2013-04-03 Thread Mark Andrews
In message , Michael McConnell writes: > > The $client$ parameter appears to work for zone transfers, as per this = > example https://github.com/opennetadmin/ona/wiki/bind-dlz > However if I use $client$ on any other queries bind segfaults. > > Strace doesn't seem to show anything useful... >

Re: DLZ $client% parameter segfault

2013-04-01 Thread Michael McConnell
The $client$ parameter appears to work for zone transfers, as per this example https://github.com/opennetadmin/ona/wiki/bind-dlz However if I use $client$ on any other queries bind segfaults. Strace doesn't seem to show anything useful... Ideas? Thanks again, Mike On Apr 1, 2013, at 2:51 PM, M

DLZ $client% parameter segfault

2013-04-01 Thread Michael McConnell
Hello All, I am trying to use Bind 9.9.2-P2 with the DLZ module, however I continue to run into segfault issues when trying to use $client$ {SELECT SQL_CACHE zone_name FROM dns_zones … } {{select zone_ttl AS ttl …. WHERE geo_ip LIKE '$client$'} I am trying to user $client$ in the A record looku