You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In light of work on transport-indication, it would be good to be able to get more DNS results than just A / AAAA records back from a query: SVCB requests would be interesting, as would be TLSA records for setting up TLS.
The current getaddrinfo based interface doesn't provide anything exceeding A/AAAA records.
Trouble is: getaddrinfo appears to be the last portable thing.
On the C side there is libresolv. No clue how well that works outside of Linux. On Android (termux) it works with the libresolv-wrapper package, provided its libresolv_wrapper.so is symlinked to libresolv.so and LD_PRELOAD=. (or comparable tricks). A Python ctypes wrapper exists and would need some patching to do anything but MX.
There are various DNS based tools that'll ask the system for its resolver, eg. dnspython or Rust's hickory_resolver. They don't really do anything other than read /etc/resolv.conf.
In light of work on transport-indication, it would be good to be able to get more DNS results than just A / AAAA records back from a query: SVCB requests would be interesting, as would be TLSA records for setting up TLS.
The current getaddrinfo based interface doesn't provide anything exceeding A/AAAA records.
Trouble is: getaddrinfo appears to be the last portable thing.
The text was updated successfully, but these errors were encountered: