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

Hello, have you considered supporting the return format of json? #442

Open
jasonrayfan opened this issue Mar 6, 2025 · 0 comments
Open

Comments

@jasonrayfan
Copy link

For example:

curl --http2 -H 'accept: application/dns-json' https://1.1.1.1/dns-query?name=cloudflare.com

will return

{"Status":0,"TC":false,"RD":true,"RA":true,"AD":true,"CD":false,"Question":[{"name":"cloudflare.com","type":1}],"Answer":[{"name":"cloudflare.com","type":1,"TTL":142,"data":"104.16.132.229"},{"name":"cloudflare.com","type":1,"TTL":142,"data":"104.16.133.229"}]}

I hope the developers can support this feature, but even if they don't plan to support this feature, I would be very grateful.

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

1 participant