{
  "service": "dns.tools.town",
  "version": "1.0.0",
  "description": "DNS-over-HTTPS JSON proxy to Cloudflare 1.1.1.1 — usable from browsers without DNS APIs.",
  "limits": {
    "max_name_length": 253,
    "fetch_timeout_ms": 10000,
    "supported_types": [
      "A",
      "AAAA",
      "CNAME",
      "MX",
      "NS",
      "PTR",
      "SOA",
      "SRV",
      "TXT"
    ]
  },
  "endpoints": {
    "docs_html": "GET /",
    "lookup": "GET /v1/lookup?name=&type=",
    "types": "GET /v1/types",
    "validate": "GET /v1/validate?name=&type=",
    "embed_widget": "GET /embed/",
    "health": "GET /health",
    "discovery": "GET /meta"
  },
  "query_params": {
    "name": "DNS name (required). Trailing dot stripped; lowercase.",
    "type": "Record type (default A). See /v1/types."
  },
  "examples": {
    "a_record": "https://dns.tools.town/v1/lookup?name=cloudflare.com&type=A",
    "mx": "https://dns.tools.town/v1/lookup?name=google.com&type=MX",
    "txt": "https://dns.tools.town/v1/lookup?name=example.com&type=TXT"
  }
}