[Unbound-users] DLV with libunbound?

W.C.A. Wijngaards wouter at nlnetlabs.nl
Mon May 7 08:11:38 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Paul,

On 05/01/2012 02:37 AM, Paul Wouters wrote:
> 
> Hi,
> 
> Looking at https://unbound.net/documentation/libunbound.html I
> don't see a method for enabling DLV, is that correct? One can load
> the DLV keys, but they don't seem to be used for any lookups. For
> example, with my libunbound code based on the tutorial, I cannot
> get a secure answer for nohats.ca.
> 
> Am I doing something wrong, or is DLV specific to the daemon code
> and not available through libunbound?

This should enable DLV for libunbound:
ub_ctx_set_option(ctx, "dlv-anchor-file:", "dlv.isc.org.key");

You should call this when you initialise the context: after creation
of the ctx, but before you perform resolves with it.

Best regards,
   Wouter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPp4O6AAoJEJ9vHC1+BF+NVVkQAIER5elotDchRxBNZVc2byJ2
IifLRUtfL89Q7BkGxerqjjfbmYfI9jVn2nFtPdJYdEx+XkCcaIHyiYEMfGMtR9Oy
/Ykidi9SUPbFSgBknlIuwRhJcRV9yCNSxYoiUNdCUwxuP0gUKUhADM3TUTih5sjp
KvY1OX9S2sHaA7FWpBJSKACt8lvjMSF5UErsTvti4LDtAcUMnh0X1Wcufu9d7DVo
aakGhsJ7q4TYFdbTKixbWx1ugM1BX5/a5BS6rMXRnfhQx8Qpqv+VPZX8sEyElH66
6vmTPZhiV9TcM02NF66jAt8e6hm2Z3rfDoPxPZ3UfaG1OLX3RZw+VEu5W/ehAGSY
5uuv5O8xtFosm3lt3AwppPg8d7Dfcm6LevS5dzIP2y+4/zZn7Ja5yuxQ+jwE4Yri
pnRZTlDZVPUMdUwbZA7A0qWoqF64TO+8zQFnNTALfwtybybjiJg7z7tx4ixsadQM
OahQOOfQyEqIBXeo/My1dAc3ox+ShmCXPDQd6bj8T9ngV4SgBnN7pOW6q1v40Jcr
3zzFMydsMJOMv9/6D6Feo5l0ccGHoiJWZ0XwN6nFxuDCGGej4cmFF0sr/N/Xv7QZ
uGMW67JEZ2TSj8IHG5pcc0Q/KuphbKteSmHBcXqpujnQDn5YIQCZ8YBAwsj0j1Pv
ctMYybUsgquxUchG61I1
=FvmN
-----END PGP SIGNATURE-----



More information about the Unbound-users mailing list