Christian Heimes <li...@cheimes.de> added the comment:

Thanks for filing this feature request!

The DNS lookup part is out of scope for the ssl module. I don't want to get 
into the DNS business. At $WORK I work on BIND, DNSSEC and DNS over TLS. Secure 
DNS (and DNS in general) is already complicated when you control the entire 
stack and only have to deal with one family of Linux distros. AFAIK there isn't 
even a platform-independent way to perform lookups with abitrary RRTYPEs. 
res_nquery() is only available on some platforms and doesn't work reliable with 
some libcs. I have had issues with EDNS0 on musl in the past. KRB5KDC SRV looks 
with large responses where unreliable. Let's offload the DNS part of consumers 
of the ssl module. They can use python-dns or c-ares.

The ECH part and callback look sensible, though. I'll include the APIs as soon 
as OpenSSL support them.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45567>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to