-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
t/util.h uses undocumented and non-standard ns_* APIs #217
Comments
Thank you for reporting the issue as well as working for a fix. I am happy to look into a PR if it solves the issue without introducing additional complexity. The reason I state that is because the code exists solely for testing. Use of ESNI is meaningless without a trusted channel to the DNS recursor (either by using DoH or DoT). However, it is my understanding is that it's not easy to find a DNS stub library that supports either of the two. Considering the facts, I am fine with disabling the feature on platforms where the |
Thank you for your rapid response.
Unfortunately no, we will need to check if
Unbound, the resolver developed by the same organization as LDNS, has support for DoT (both upstream and downstream) so they probably provide a solution IMHO.
I am OK with this direction. |
I will make the feature optional for platforms without required APIs when I have time. While actually off-topic, @kazuho, my understanding is that DoT/DoH protect answers by hop-by-hop principle, so practically DNSSEC is also needed to verify if an answer is an unmodified copy of one provided by a content server. Is it correct? |
resolve_esni_keys
inutil.h
usesns_
resolver APIs originated from BSD (BIND8's libbind more specifically, which is no longer maintained by ISC). They have some problems:res_
anddn_
APIs but notns_
ones. (This is the major problem to me who use h2o with OpenBSD.)ns_
APIs, but not ones we use.It would be great if the code is migrated to a cross-platform and well-maintained DNS parsing library. I am trying to port the code to LDNS now.
The text was updated successfully, but these errors were encountered: