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

Enhancement: use pool of DNS connections #133

Open qdm12 opened 8 months ago

qdm12 commented 8 months ago

In internal/server/exchange.go maintain a pool of connections instead of re-dialing for every exchange. This may not be possible, and might require a re-design of DoH's dial function which actually does not really dial anything.