package
3.4.0+incompatible
Repository: https://github.com/jigsaw-code/outline-go-tun2socks.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Accept a DNS-over-TCP socket from a stub resolver, and connect the socket to this DNSTransport.
Add EDNS padding, as defined in RFC7830, to a raw DNS message.
NewTransport returns a DoH DNSTransport, ready for use.
Servfail returns a SERVFAIL response to the query q.

# Constants

BadQuery : Malformed input.
BadResponse : Response was invalid.
Complete : Transaction completed successfully.
HTTPError : Got a non-200 HTTP status.
InternalError : This should never happen.
No description provided by the author
RFC8467 recommendation.
SendFailed : Failed to send query.

# Structs

Atomic is atomic.Value, specialized for doh.Transport.
Summary is a summary of a DNS transaction, reported when it is complete.

# Interfaces

ClientAuth interface for providing TLS certificates and signatures.
Listener receives Summaries.
A Token is an opaque handle used to match responses to queries.
Transport represents a DNS query transport.