Package github.com/artyom/dot got me thinking if I could do the same for DNS caching, and also DNS over HTTPS.
So github.com/ncruces/go-dns is my attempt. Replacing
net.DefaultResolver with a caching DNS over HTTPS resolver using 188.8.131.52 as the name server should be this simple:
net.DefaultResolver = dns.NewCachingResolver(dns.NewHTTPSResolver( "184.108.40.206", "2606:4700:4700::1111", "220.127.116.11", "2606:4700:4700::1001"))
What do you guys thing? Do you know of any other implementations that allow replacing