Versions in this module Expand all Collapse all v1 v1.1.1 Jan 31, 2017 v1.1.0 Jan 30, 2017 Changes in this version + const DNSNameMaxBytes v1.0.3 Jan 29, 2017 v1.0.2 Jan 29, 2017 v1.0.1 Jan 29, 2017 v1.0.0 Jan 29, 2017 Changes in this version + type DNSQuestion struct + Name string + Type uint16 + type DNSRR struct + Data string + Name string + TTL uint32 + Type uint16 + func (r DNSRR) RR() dns.RR + type DNSResponse struct + Answer []DNSRR + AuthenticatedData bool + Authority []DNSRR + CheckingDisabled bool + Extra []DNSRR + Question []DNSQuestion + RecursionAvailable bool + RecursionDesired bool + ResponseCode int + Truncated bool + type GDNSProvider struct + Endpoint string + Pad bool + func (g GDNSProvider) Query(q DNSQuestion) (*DNSResponse, error) + type GDNSQuestion DNSQuestion + func (r GDNSQuestion) DNSQuestion() DNSQuestion + type GDNSQuestions []GDNSQuestion + func (rs GDNSQuestions) DNSQuestions() (rqs []DNSQuestion) + type GDNSRR DNSRR + func (r GDNSRR) DNSRR() DNSRR + type GDNSRRs []GDNSRR + func (rs GDNSRRs) DNSRRs() (rrs []DNSRR) + type GDNSResponse struct + AD bool + Additional GDNSRRs + Answer GDNSRRs + Authority GDNSRRs + CD bool + Comment string + EDNSClientSubnet string + Question GDNSQuestions + RA bool + RD bool + Status int32 + TC bool + type Handler struct + func NewHandler(provider Provider, options *HandlerOptions) *Handler + func (h *Handler) Handle(w dns.ResponseWriter, r *dns.Msg) + type HandlerOptions struct + type Provider interface + Query func(DNSQuestion) (*DNSResponse, error) Other modules containing this package gopkg.in/fardog/secureoperator.v2 gopkg.in/fardog/secureoperator.v3 gopkg.in/fardog/secureoperator.v4