r/dns • u/No_Weakness1732 • 15h ago
DNS-tester: checking multiple DNS resolvers at once (Do53/DoT/DoH/DoQ)
This is another DNS-related open source project, after DNS-collector.
I’ve built a small tool called DNS-tester. The idea is to query multiple DNS resolvers in parallel and compare their responses, particularly across different DNS caches.
It can be useful in different contexts:
In enterprise environments, to compare internal resolvers across datacenters, cloud or edge locations.
To compare public DNS providers such as Cloudflare, Google or Quad9, using different protocols.
DNS-tester exposes an API as its main interface. There's also a CLI for manual checks and a Prometheus exporter for monitoring.
It supports Do53, DoT, DoH and DoQ.
Example output:
Starting DNS lookup for domain: internal.company.com
DNS lookup succeeded for 7 out of 7 servers (3.2896 seconds total)
✅ udp://cache-dc1.company.com - Do53 - 18.23916ms - TTL: 600s - 10.1.1.100
✅ udp://cache-dc2.company.com:53 - Do53 - 15.13324ms - TTL: 515s - 10.1.1.100
✅ tcp://cache-aws.company.com:53 - Do53 - 29.19659ms - TTL: 8s - 10.1.1.100
✅ udp://cache-gcp.company.com:53 - Do53 - 17.18517ms - TTL: 313s - 10.1.1.100
❗ tcp://cache-edge.company.com - Do53 - 2411.55582ms - TTL: 598s - 10.1.1.100
✅ https://doh.company.com - DoH - 236.43650ms - TTL: 599s - 10.1.1.100
❗ tls://dot.company.com - DoT - 3278.41313ms - TTL: 599s - 10.1.1.100GitHub: https://github.com/dmachard/DNS-tester
Any feedback or contributions are welcome.