Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TypeA represents th resource record type A, an IPv4 address. TypeA = dns.TypeA // TypeAAAA represents the resource record type AAAA, an IPv6 address. TypeAAAA = dns.TypeAAAA )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proxy ¶
type Proxy struct { Handler Handler // contains filtered or unexported fields }
Proxy represents a DNS proxy.
func (*Proxy) ListenAndServe ¶
ListenAndServe listens on the network address addr and uses the server to process requests.
Click to show internal directories.
Click to hide internal directories.