-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
C-API-requestCategory: API requestCategory: API request
Description
resolv.h
exposes facilities to resolve DNS records. See:
- Google Bionic
- GNU C Library (I admit that I am slightly confused why it is not mentioned in the GNU C Library Manual.)
- musl
- FreeBSD
I would like to understand whether there is a particular reason why the symbols in resolv.h
are not covered by the libc
crate. If there is no particular reason, I would like to start working on inclusion. My original motivation is to resolve DNS records (of type SRV, TXT) and realized that the Rust standard library does not support this. My next natural step was to check the libc
crate.
Target Triples: *-unknown-linux-gnu
, *-unknown-android
, *-unknown-freebsd
(*
to be narrowed down by testing).
References:
- Zig seems to support it: zig cc not creating libresolv stubs ziglang/zig#12628
- There's a
resolv
crate, which wrapslibresolv-sys
. It might benefit from this API.
clayrosenthal
Metadata
Metadata
Assignees
Labels
C-API-requestCategory: API requestCategory: API request