Expand description
DNS implementation in Rust with no dependencies other than Rand
See DNS RFC Notes for notes on DNS protocols.
Modules§
- classes
- CLASS values, all of which are a subset of QCLASS values.
- dns_
packet - DNS packet structures and operations.
- domain_
name - DNS Domain Name operations.
- opcodes
- DNS OPCODE values.
- qclasses
- QCLASS values, used in the question section of a DNS packet.
- qtypes
- QTYPE values, used in the question section of a DNS packet.
- query_
examples - Example DNS query packets in network format
- rcodes
- RCODE values.
- types
- TYPE values, all of which are a subset of QTYPE values.
Constants§
- DNS_
HEADER_ SIZE - The size of a valid DNS packet header.
- DNS_
PORT - Default DNS protocol port.
Functions§
- resolve_
domain_ name - Resolve a domain name via DNS through a Google recursive resolver
- send_
dns_ query_ to - Send a DNS packet to the given destination, returns the response