DLZ $client% parameter segfault

Mark Andrews marka at isc.org
Tue Apr 2 02:23:54 UTC 2013


In message <DFC61998-BC52-41C1-86D3-B6F8D4D8015C at winkstreaming.com>, 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...
> 
> Ideas?

* Run named in a debugger. 
	gdb /path/to/named
	run -f [the rest of named's usual arguements]
	thread apply all bt full

* Load the named and the core file into a debugger.
	gdb /path/to/named /path/to/core
	thread apply all bt full
 
> Thanks again,
> Mike
> 
> On Apr 1, 2013, at 2:51 PM, Michael McConnell =
> <michael at winkstreaming.com> wrote:
> 
> > Hello All,
> >=20
> > 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$
> >=20
> > {SELECT SQL_CACHE zone_name FROM dns_zones =85 }
> > {{select zone_ttl AS ttl =85. WHERE geo_ip LIKE '$client$'}
> >=20
> > I am trying to user $client$ in the A record lookup, not the zone =
> transfer. Is this possible?
> >=20
> > Thanks so much,
> > Michael
> >=20
> > _______________________________________________
> > Please visit https://lists.isc.org/mailman/listinfo/bind-users to =
> unsubscribe from this list
> >=20
> > bind-users mailing list
> > bind-users at lists.isc.org
> > https://lists.isc.org/mailman/listinfo/bind-users
> 
> 
> --Apple-Mail=_D1B66773-B991-4C3C-9832-14222DFFE4D9
> Content-Transfer-Encoding: quoted-printable
> Content-Type: text/html;
> 	charset=windows-1252
> 
> <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
> charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
> -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The =
> $client$ parameter appears to work for zone transfers, as per this =
> example <a =
> href=3D"https://github.com/opennetadmin/ona/wiki/bind-dlz">https://github.=
> com/opennetadmin/ona/wiki/bind-dlz</a><div>However if I use $client$ on =
> any other queries bind segfaults.</div><div><br></div><div>Strace =
> doesn't seem to show anything =
> useful...</div><div><br></div><div>Ideas?</div><div><br></div><div>Thanks =
> again,</div><div>Mike<br><div apple-content-edited=3D"true">
> <div style=3D"color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
> medium; font-style: normal; font-variant: normal; letter-spacing: =
> normal; line-height: normal; orphans: 2; text-align: -webkit-auto; =
> text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
> word-spacing: 0px; -webkit-text-size-adjust: auto; =
> -webkit-text-stroke-width: 0px; word-wrap: break-word; =
> -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span =
> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
> border-spacing: 0px; "><div style=3D"font-weight: normal; =
> "><br></div></span></div></div><div><div>On Apr 1, 2013, at 2:51 PM, =
> Michael McConnell <<a =
> href=3D"mailto:michael at winkstreaming.com">michael at winkstreaming.com</a>&gt=
> ; wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
> type=3D"cite"><meta http-equiv=3D"Content-Type" content=3D"text/html =
> charset=3Dwindows-1252"><div style=3D"word-wrap: break-word; =
> -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello =
> All,<div><br></div><div>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$</div><div><br></div><div>{SELECT SQL_CACHE zone_name FROM =
> dns_zones =85 }</div><div>{{select zone_ttl AS ttl =85. WHERE geo_ip =
> LIKE '$client$'}</div><div><br></div><div>I am trying to user $client$ =
> in the A record lookup, not the zone transfer. Is this =
> possible?</div><div><div><br =
> class=3D"webkit-block-placeholder"></div><div>Thanks so =
> much,</div><div>Michael</div><div apple-content-edited=3D"true">
> <div style=3D"font-family: Helvetica; font-size: medium; font-style: =
> normal; font-variant: normal; letter-spacing: normal; line-height: =
> normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; =
> text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
> -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; =
> word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
> after-white-space; "><span class=3D"Apple-style-span" =
> style=3D"border-collapse: separate; border-spacing: 0px; "><div =
> style=3D"font-weight: normal; "><br =
> class=3D"Apple-interchange-newline"></div></span></div></div></div></div>_=
> ______________________________________________<br>Please visit <a =
> href=3D"https://lists.isc.org/mailman/listinfo/bind-users">https://lists.i=
> sc.org/mailman/listinfo/bind-users</a> to unsubscribe from this =
> list<br><br>bind-users mailing list<br><a =
> href=3D"mailto:bind-users at lists.isc.org">bind-users at lists.isc.org</a><br>h=
> ttps://lists.isc.org/mailman/listinfo/bind-users</blockquote></div><br></d=
> iv></body></html>=
> 
> --Apple-Mail=_D1B66773-B991-4C3C-9832-14222DFFE4D9--
> 
> 
> --===============5099056141735232217==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
> 
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
> --===============5099056141735232217==--
> 
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org


More information about the bind-users mailing list