mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-03-04 00:01:12 -05:00
JSON API for DNS queries #1292
Labels
No labels
P1: Critical
P2: High
P3: Medium
P4: Low
UI
bug
cannot reproduce
compatibility
dependencies
docker
documentation
duplicate
enhancement
enhancement
external libs
feature request
good first issue
help wanted
infrastructure
invalid
localization
needs investigation
performance
potential-duplicate
question
recurrent
research
snap
waiting for data
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AdGuardHome#1292
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zhaokelei on GitHub (Feb 5, 2020).
How to view resolution requests for a single domain name?
Querying domain name system data in JSON format
such as
curl -H 'accept: application/dns-json' 'https://cloudflare-dns.com/dns-query?name=example.com&type=AAAA'
@ameshkov commented on GitHub (Feb 5, 2020):
Would you like to have JSON API like this one or are you asking how to send a DNS request to a DOH resolver?
If you'd like to send a DNS query, you can use this https://github.com/ameshkov/dnslookup
@zhaokelei commented on GitHub (Feb 5, 2020):
I'd like to use json api
@ZeroClover commented on GitHub (Oct 29, 2020):
I also hope to be able to implement the JSON API.
Some of my DNS servers use a pound of programs such as DoH Server and Unbound to implement the functions of AdGuard Home. I hope to replace it with AGH, but it is best to support all the previous functions fully.
Another outdated DoH clients also only support JSON format and no DNS wireformat.
@1265578519 commented on GitHub (May 8, 2023):
都2023年了,什么这软件还不支持json?
https://dns.google/resolve?ct=application/dns-json&name=www.baidu.com.&type=A&edns_client_subnet=0.0.0.0/0
cf workers
https://diii.tk/https://dns.google/resolve?ct=application/dns-json&name=www.baidu.com.&type=A&edns_client_subnet=0.0.0.0/0