Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC8427 (JSON) output format for ldns/drill ? #175

Open
hmh opened this issue Apr 29, 2022 · 2 comments
Open

RFC8427 (JSON) output format for ldns/drill ? #175

hmh opened this issue Apr 29, 2022 · 2 comments

Comments

@hmh
Copy link

hmh commented Apr 29, 2022

Would there be interest in patches to add a RFC8427 output mode to ldns, and to drill? As in: if someone else does the work, would it be accepted for merging into ldns/drill ?

If the answer is "yes", I can try to propose this to my manager...

Note that any such support would likely require adding a json output library (probably json-c), as a dependency, though. The whole thing would be optional (i.e. json lib not available, or feature not requested in build would cause the json-format code and dependencies to be ignored during build).

Currently, we're parsing dig/drill output to get structured data out of it, but that's... annoying to say the least. Getting proper structured output right out of the tool would be better. getdns has something like this, but it is way too heavy and predates RFC8427, so it is non-standard and uninteresting for our purposes...

@wtoorop
Copy link
Member

wtoorop commented Jul 12, 2022

@hmh Yes we'd be interested.
Awaiting you PR ;)

@hmh
Copy link
Author

hmh commented Jul 12, 2022

Hah, I will propose it to my managers, let's see what their reply is. Might take quite a while, though, but at least your reply makes it a real possibility...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants