stupid lwres question

Mark_Andrews at isc.org Mark_Andrews at isc.org
Fri Oct 11 00:21:23 UTC 2002


> 
> > 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > 
> > 
> > Mark et all,
> > 
> > I'm trying to print the SIG records from the reply from lwres_getrrsetbynam
> e(
> > 3).
> > The question is how to expand the SignName field.
> > 
> > It looks like it is DN-encoded. I think that I should call dn_expand(3) to
> > expand this. 
> > 
> > According to the man page dn_expand(3), I need to tell it about the
> > dictionary for expanding it. 
> 
> 	Look at dns_rdata_fromwire() and dns_rdata_to struct() to
> 	expand the signatures.
	
	I ment to say dns_rdata_fromregion() and dns_rdata_tostruct().

	Also dns_rdata_totext().
 
> 	Mark
> > 
> > The other question is --- how do I know big the result will be?
> > 
> > ]       ON HUMILITY: to err is human. To moo, bovine.           |  firewall
> s 
> >  [
> > ]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net archit
> ec
> > t[
> > ] mcr at sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device dri
> ve
> > r[
> > ] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"
> );
> >  [
> > 
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.0.7 (GNU/Linux)
> > Comment: Finger me for keys
> > 
> > iQCVAwUBPaXUK4qHRg3pndX9AQH0bgQAk4q/y7YGB/tWXKtnSADbbc/IJ7pMjzmh
> > uL6RvK28sV+5nc7n8nnlyqSpLoBv7A63hI8ceKnBes82C2SUSoxU25y4jv4K4bfa
> > Y1LMW/pQUmkdZuh6KaMu8dlSgI+DMIXIcU008/GXrK6cpvG4q72ZIAm0vodrrEbG
> > 4uCK3Qtsm2U=
> > =iXbp
> > -----END PGP SIGNATURE-----
> > 
> --
> Mark Andrews, Internet Software Consortium
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-workers mailing list