mirror of
https://github.com/coredns/coredns.io.git
synced 2026-10-20 08:17:35 +00:00
* Add coredns-json plugin Signed-off-by: xinbenlv <zzn-github@zzn.im> Signed-off-by: Zainan Victor Zhou <zzn+github@zzn.im> * doc: update json.md Signed-off-by: xinbenlv <zzn-github@zzn.im> Signed-off-by: Zainan Victor Zhou <zzn+github@zzn.im> * doc: fix format Signed-off-by: xinbenlv <zzn-github@zzn.im> Signed-off-by: Zainan Victor Zhou <zzn+github@zzn.im> --------- Signed-off-by: xinbenlv <zzn-github@zzn.im> Signed-off-by: Zainan Victor Zhou <zzn+github@zzn.im>
790 B
790 B
+++ 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" +++
Name
json - query a JSON-formatted DNS server
Description
The json plugin queries a JSON-formatted DNS server and returns the result as a DNS response.
Syntax
json <URI>
- URI (required): The URI of the JSON-formatted DNS server.
Example
. {
json https://your-json-dns-server.com/api/v1/dns
}
Supported record types
The json plugin supports the following DNS record types:
- A
- AAAA
- CNAME
- MX
- TXT