Added DoH support GET/POST
This adds DoH support with POST and GET requests, this requests could be cached.
local r, err = resolver:new{ nameservers = { "https://cloudflare-dns.com/dns-query" }, retrans = 5, -- 5 retransmissions on receive timeout timeout = 2000, -- 2 sec no_random = true, -- always start with first nameserver, doh = 'POST' }
And the DoH client should provide an option to setting up bootstrap DNS
And the DoH client should provide an option to setting up bootstrap DNS
Should I add bootstrap DNS?
And the DoH client should provide an option to setting up bootstrap DNS
Should I add bootstrap DNS?
you need to add test cases for the new feature. And the bootstrap DNS option is still needed.