cocool97 / rhole

Rust DNS adblocker and privacy guardian
MIT License
3 stars 0 forks source link

How to add DoH URL #22

Open deepakvinod opened 5 months ago

deepakvinod commented 5 months ago

Hi,

Thanks for building this really cool project :) I was trying to get it to work and couldn't figure out how to use a DoH URL like: https://doh.dns.sb/dns-query and what exactly the tls_dns_name field is.

cocool97 commented 5 months ago

Hey ! Thanks for (trying) to use it, I hope you'll enjoy !

The tls_dns_name is used to check the server name when using TLS.

When looking at the code, I do not think that we may add a URL like yours... I would love to review a PR to add this !