[−][src]Crate rusty_dns
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 |