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 <mich...@winkstreaming.com
<mailto:mich...@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     <vgoncha...@nic.ru>           RU-Center
NET Department                            http://www.nic.ru
NET-SYS Group             phone:+7(495)737-7646  (ext.4019)
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to