Libunbound: interface to access AUTHORITY section data

Ryan Sundberg ryan at arctype.co
Thu Feb 25 07:20:02 UTC 2021


Hello unbound users,

I was looking for a way to analyze the NS records for a domain by
querying directly against the registrar. It should be useful for any use
case where the client wants to inspect the AUTHORITY response section.
Please take a look at the attached patch, which adds an `authority_data`
list to unbound.h exposing the AUTHORITY response section, following the
implementation of the `data` pointer for the ANSWER section. With this
feature I have avoided touching any core unbound code to KISS and
minimize any risk of error. Please let me know if you would find this
useful to merge. Thank you!

-- 

Sincerely,

/Ryan Sundberg/
Principal Software Engineer
Arctype Corp.
www.arctype.co <https://www.arctype.co> | 1-833-ARCTYPE

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20210224/d8a87229/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libunbound-add-interface-for-reading-authority-respo.patch
Type: text/x-patch
Size: 4562 bytes
Desc: not available
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20210224/d8a87229/attachment.bin>


More information about the Unbound-users mailing list