content/explugins/json.md
+++ title = "JSON" description = "json - query a JSON-formatted DNS server" weight = 10 tags = [ "plugin", "json", "external" ] categories = [ "external", "plugin" ] date = "2025-03-05T15:51:45-08:00" repo = "https://github.com/xinbenlv/coredns-json" home = "https://github.com/xinbenlv/coredns-json/blob/master/README.md" +++
json - query a JSON-formatted DNS server
The json plugin queries a JSON-formatted DNS server and returns the result as a DNS response.
json <URI>
. {
json https://your-json-dns-server.com/api/v1/dns
}
The json plugin supports the following DNS record types: