Skip to content

Conversation

@pr4u4t
Copy link

@pr4u4t pr4u4t commented Nov 1, 2021

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'
}

@xiaocang
Copy link
Contributor

xiaocang commented Nov 3, 2021

And the DoH client should provide an option to setting up bootstrap DNS

@pr4u4t
Copy link
Author

pr4u4t commented Nov 19, 2021

And the DoH client should provide an option to setting up bootstrap DNS

Should I add bootstrap DNS?

@zhuizhuhaomeng
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants