JSON

Source Home

Enable with
JSON:github.com/xinbenlv/coredns-json

json - query a JSON-formatted DNS server

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