Structs§
- DnsHeader
- DnsRequest
Answer - DnsRequest
Header - DnsRequest
Payload - A request payload with (request) lines.
- DnsResponse
Payload - A response section
- DnsSoa
- Status
Bits - Flags which control the status of th DNS query
Enums§
- DnsRdata
- QClass
- A two octet code that specifies the class of the query.
- QDns
Name - An structure for the target in request. Implements From for IpAddr, Ipv4Addr, Ipv6Addr, str In case if IP address is in the human readable ‘string’ format it will be stored as Name. And later the code will try to convert it to IP address before returing as string.
- QType
- A two octet code which specifies the type of the query. TYPE fields are used in resource records. Note that these types are a subset of QTYPEs. QTYPE fields appear in the question part of a query. QTYPES are a superset of TYPEs, hence all TYPEs are valid QTYPEs.
Constants§
- HOST_
CFG_ PATH - A hosts file location on disk
- IPV4_
BIND_ ALL - Default BIND for IPv4
- IPV6_
BIND_ ALL - Default BIND for IPv6
- NSSWITCH_
CFG_ PATH - A nsswitch location
- RESOLV_
CFG_ PATH - A location on the disk where resolv.conf is located