Versions in this module Expand all Collapse all v0 v0.6.12 Apr 17, 2024 v0.6.11 Mar 15, 2024 v0.6.10 Nov 8, 2023 v0.6.9 Aug 10, 2023 v0.6.8 May 14, 2023 v0.6.7 Apr 27, 2023 v0.6.6 Mar 9, 2023 v0.6.5 Mar 6, 2023 v0.6.4 Feb 20, 2023 v0.6.3 Feb 17, 2023 Changes in this version + var ErrNotError = errors.New("not an error") + func InitLogger(verbosity int) (log *logawl.Logger) + func ParseSubnet(subnet string, opts *Options) error + func ReverseDNS(address string, querInt uint16) (string, error) + type Display struct + Additional bool + Answer bool + Authority bool + Comments bool + HumanTTL bool + Opt bool + Question bool + ShowClass bool + ShowQuery bool + Statistics bool + TTL bool + UcodeTranslate bool + type EDNS struct + BufSize uint16 + Cookie bool + DNSSEC bool + EnableEDNS bool + Expire bool + KeepOpen bool + Nsid bool + Padding bool + Subnet dns.EDNS0_SUBNET + Version uint8 + ZFlag uint16 + type ErrHTTPStatus struct + Code int + func (e *ErrHTTPStatus) Error() string + type HTTPSOptions struct + Endpoint string + Get bool + type HeaderFlags struct + AA bool + AD bool + CD bool + QR bool + RA bool + RD bool + TC bool + Z bool + type Options struct + BadCookie bool + DNSCrypt bool + Display Display + HTTPS bool + IPv4 bool + IPv6 bool + Identify bool + JSON bool + Logger *logawl.Logger + QUIC bool + Reverse bool + Short bool + TCP bool + TLS bool + TLSHost string + TLSNoVerify bool + Trace bool + Truncate bool + Verbosity int + XML bool + YAML bool + type Request struct + Class uint16 + Name string + Port int + Retries int + Server string + Timeout time.Duration + Type uint16 + type Response struct + DNS *dns.Msg + RTT time.Duration