Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 772 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 772 Bytes

harderdns

a dns server that proxies queries concurrently to multiple upstreams, retries and timeouts faster

$ harderdns 8.8.8.8:53 1.1.1.1:53
2022/02/03 10:24:11 Starting at :53 using udp
49fe59a6-ace6-4c73-9358-8552ca508c03  QUERY A www.microsoft.com.
49fe59a6-ace6-4c73-9358-8552ca508c03  GOT A www.microsoft.com. 1.1.1.1:53 61.682057ms
49fe59a6-ace6-4c73-9358-8552ca508c03  GOT A www.microsoft.com. 8.8.8.8:53 61.582191ms
49fe59a6-ace6-4c73-9358-8552ca508c03  ANSWER A www.microsoft.com. NOERROR 4,0,0

development

go run main.go -devMode -resolv -resolvSearch time -stats 1 1.1.1.1:53
# appends .time and uses 138.197.68.199 (dns.toys) for "helsinki"
dig @localhost helsinki
# goes to 1.1.1.1
dig @localhost helsinki.fi