DLZ $client% parameter segfault

Vadim S. Goncharov vgoncharov at nic.ru
Tue Apr 2 10:03:44 UTC 2013


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, alas.

In all others 'client' struct member just becomes NULL, so leads to segfault 
(yes, that's a bug).

> 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, Michael McConnell <michael at winkstreaming.com
> <mailto:michael at winkstreaming.com>> wrote:
>
>> 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 lookup, not the zone
>> transfer. Is this possible?
>>
>> Thanks so much,
>> Michael


-- 
Vadim Goncharov     <vgoncharov at nic.ru>           RU-Center
NET Department                            http://www.nic.ru
NET-SYS Group             phone:+7(495)737-7646  (ext.4019)


More information about the bind-users mailing list