idoq 0.1.10

DNS over QUIC (DoQ) client / DNS over QUIC (DoQ) 客户端
Documentation
1
2
3
4
5
6
pub use dns_parse::parse;

/// RFC 9250: DNS message ID MUST be 0 for DoQ
pub fn build(domain: &str, qtype: u16) -> bytes::Bytes {
  dns_parse::build(0, domain, qtype)
}