[Unbound-users] libunbound EDNS0 rdata
W.C.A. Wijngaards
wouter at NLnetLabs.nl
Fri Oct 8 13:04:15 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Raf,
On 10/04/2010 04:08 PM, raf.unix at gmail.com wrote:
> I'm trying to make a query, using libunbound, with some RDATA within the edns
> part of the message. Is there a way to do this?
Make libunbound do such a specific query? That is not its design. It
performs recursive lookups and DNSSEC validation.
> Looking at libunbound 1.4.6, there doesn't seem be a way to add rdata entries
> to the EDNS data in a query. A quick peek inside libunbound/libworker.c
> sugests that edns0 rdata is never actually considered, only the edns flags for
> (do, ttl, etc).
What you are looking for is perhaps ldns (nlnetlabs.nl/projects/ldns) in
which you can create an ldns_resolver object, and create a packet object
that you want to send out. You then want to include this edns part into
the packet you send out with ldns_pkt_set_edns_data().
Best regards,
Wouter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAkyvFs8ACgkQkDLqNwOhpPjQbwCeJHXF7oWgw9ZUtR16DqJDxJrO
MiYAnA3EydUuXlcngtjPnVhmIpvB0r6t
=277+
-----END PGP SIGNATURE-----
More information about the Unbound-users
mailing list