qdm12 / dns

Docker DNS server on steroids to access DNS-over-TLS from Cloudflare, Google, Quad9, Quadrant or CleanBrowsing
https://hub.docker.com/r/qmcgaw/cloudflare-dns-server
MIT License
219 stars 37 forks source link

Redirect hostnames to IPs for `v2.0.0-beta` #87

Closed qdm12 closed 5 months ago

qdm12 commented 3 years ago

As JSON format

{
  "version": 1,
  "A": {
    "domain.com": ["1.2.3.4"]
  },
}

Note: initially proposed in #64

qdm12 commented 5 months ago

Done in 156a6957ad2bfe579469f0fc85ae0931828c5c81 by using MIDDLEWARE_SUBSTITUTER_SUBSTITUTIONS