Versions in this module Expand all Collapse all v0 v0.13.1 Mar 17, 2015 v0.13.1-dev Mar 16, 2015 v0.13.0 Mar 16, 2015 v0.12.2 Mar 16, 2015 v0.12.1 Mar 11, 2015 v0.12.0 Mar 3, 2015 v0.11.0 Feb 18, 2015 v0.10.1 Feb 5, 2015 v0.10.0 Feb 3, 2015 v0.9.3 Jan 30, 2015 v0.9.2 Jan 28, 2015 v0.9.1 Jan 23, 2015 v0.9.0 Jan 21, 2015 Changes in this version + const CertACPKIX + const CertIACPKIX + const CertIPGP + const CertIPIX + const CertISPKI + const CertOID + const CertPGP + const CertPKIX + const CertSPKI + const CertURI + const ClassANY + const ClassCHAOS + const ClassCSNET + const ClassHESIOD + const ClassINET + const ClassNONE + const DH + const DSA + const DSANSEC3SHA1 + const DefaultMsgSize + const ECCGOST + const ECDSAP256SHA256 + const ECDSAP384SHA384 + const EDNS0DAU + const EDNS0DHU + const EDNS0EXPIRE + const EDNS0LLQ + const EDNS0N3U + const EDNS0NSID + const EDNS0SUBNET + const EDNS0SUBNETDRAFT + const EDNS0UL + const GOST94 + const HmacMD5 + const HmacSHA1 + const HmacSHA256 + const INDIRECT + const LOC_ALTITUDEBASE + const LOC_DEGREES + const LOC_EQUATOR + const LOC_HOURS + const LOC_PRIMEMERIDIAN + const MaxMsgSize + const MinMsgSize + const OpcodeIQuery + const OpcodeNotify + const OpcodeQuery + const OpcodeStatus + const OpcodeUpdate + const PRIVATEDNS + const PRIVATEOID + const REVOKE + const RSAMD5 + const RSASHA1 + const RSASHA1NSEC3SHA1 + const RSASHA256 + const RSASHA512 + const RcodeBadAlg + const RcodeBadKey + const RcodeBadMode + const RcodeBadName + const RcodeBadSig + const RcodeBadTime + const RcodeBadTrunc + const RcodeBadVers + const RcodeFormatError + const RcodeNXRrset + const RcodeNameError + const RcodeNotAuth + const RcodeNotImplemented + const RcodeNotZone + const RcodeRefused + const RcodeServerFailure + const RcodeSuccess + const RcodeYXDomain + const RcodeYXRrset + const SEP + const SHA1 + const SHA256 + const SHA384 + const SHA512 + const TypeA + const TypeAAAA + const TypeAFSDB + const TypeANY + const TypeATMA + const TypeAXFR + const TypeCAA + const TypeCDNSKEY + const TypeCDS + const TypeCERT + const TypeCNAME + const TypeDHCID + const TypeDLV + const TypeDNAME + const TypeDNSKEY + const TypeDS + const TypeEID + const TypeEUI48 + const TypeEUI64 + const TypeGID + const TypeGPOS + const TypeHINFO + const TypeHIP + const TypeIPSECKEY + const TypeISDN + const TypeIXFR + const TypeKEY + const TypeKX + const TypeL32 + const TypeL64 + const TypeLOC + const TypeLP + const TypeMAILA + const TypeMAILB + const TypeMB + const TypeMD + const TypeMF + const TypeMG + const TypeMINFO + const TypeMR + const TypeMX + const TypeNAPTR + const TypeNID + const TypeNIMLOC + const TypeNINFO + const TypeNS + const TypeNSAP + const TypeNSAPPTR + const TypeNSEC + const TypeNSEC3 + const TypeNSEC3PARAM + const TypeNULL + const TypeNXT + const TypeNone + const TypeOPENPGPKEY + const TypeOPT + const TypePTR + const TypePX + const TypeRKEY + const TypeRP + const TypeRRSIG + const TypeRT + const TypeReserved + const TypeSIG + const TypeSOA + const TypeSPF + const TypeSRV + const TypeSSHFP + const TypeTA + const TypeTALINK + const TypeTKEY + const TypeTLSA + const TypeTSIG + const TypeTXT + const TypeUID + const TypeUINFO + const TypeUNSPEC + const TypeURI + const TypeWKS + const TypeX25 + const ZONE + var AlgorithmToString = map[uint8]string + var CertTypeToString = map[uint16]string + var ClassToString = map[uint16]string + var DefaultServeMux = NewServeMux() + var ErrAlg error = &Error + var ErrAuth error = &Error + var ErrBuf error = &Error + var ErrConn error = &Error + var ErrConnEmpty error = &Error + var ErrExtendedRcode error = &Error + var ErrFqdn error = &Error + var ErrId error = &Error + var ErrKey error = &Error + var ErrKeyAlg error = &Error + var ErrKeySize error = &Error + var ErrNoSig error = &Error + var ErrPrivKey error = &Error + var ErrRRset error = &Error + var ErrRcode error = &Error + var ErrRdata error = &Error + var ErrSecret error = &Error + var ErrServ error = &Error + var ErrShortRead error = &Error + var ErrSig error = &Error + var ErrSigGen error = &Error + var ErrSoa error = &Error + var ErrTime error = &Error + var HashToString = map[uint8]string + var Id func() uint16 = id + var OpcodeToString = map[int]string + var RcodeToString = map[int]string + var StringToAlgorithm = reverseInt8(AlgorithmToString) + var StringToCertType = reverseInt16(CertTypeToString) + var StringToClass = reverseInt16(ClassToString) + var StringToHash = reverseInt8(HashToString) + var StringToOpcode = reverseInt(OpcodeToString) + var StringToRcode = reverseInt(RcodeToString) + var StringToType = reverseInt16(TypeToString) + var TypeToString = map[uint16]string + func ActivateAndServe(l net.Listener, p net.PacketConn, handler Handler) error + func CertificateToDANE(selector, matchingType uint8, cert *x509.Certificate) (string, error) + func CompareDomainName(s1, s2 string) (n int) + func CountLabel(s string) (labels int) + func Fqdn(s string) string + func Handle(pattern string, handler Handler) + func HandleFailed(w ResponseWriter, r *Msg) + func HandleFunc(pattern string, handler func(ResponseWriter, *Msg)) + func HandleRemove(pattern string) + func HashName(label string, ha uint8, iter uint16, salt string) string + func IsDomainName(s string) (labels int, ok bool) + func IsFqdn(s string) bool + func IsMsg(buf []byte) error + func IsSubDomain(parent, child string) bool + func ListenAndServe(addr string, network string, handler Handler) error + func NextLabel(s string, offset int) (i int, end bool) + func PackDomainName(s string, msg []byte, off int, compression map[string]int, compress bool) (off1 int, err error) + func PackRR(rr RR, msg []byte, off int, compression map[string]int, compress bool) (off1 int, err error) + func PackStruct(any interface{}, msg []byte, off int) (off1 int, err error) + func ParseZone(r io.Reader, origin, file string) chan *Token + func PrevLabel(s string, n int) (i int, start bool) + func PrivateHandle(rtypestr string, rtype uint16, generator func() PrivateRdata) + func PrivateHandleRemove(rtype uint16) + func ReverseAddr(addr string) (arpa string, err error) + func Split(s string) []int + func SplitDomainName(s string) (labels []string) + func StringToTime(s string) (uint32, error) + func TLSAName(name, service, network string) (string, error) + func TimeToString(t uint32) string + func TsigGenerate(m *Msg, secret, requestMAC string, timersOnly bool) ([]byte, string, error) + func TsigVerify(msg []byte, secret, requestMAC string, timersOnly bool) error + func UnpackDomainName(msg []byte, off int) (string, int, error) + func UnpackStruct(any interface{}, msg []byte, off int) (int, error) + type A struct + A net.IP + Hdr RR_Header + func (rr *A) Header() *RR_Header + func (rr *A) String() string + type AAAA struct + AAAA net.IP + Hdr RR_Header + func (rr *AAAA) Header() *RR_Header + func (rr *AAAA) String() string + type AFSDB struct + Hdr RR_Header + Hostname string + Subtype uint16 + func (rr *AFSDB) Header() *RR_Header + func (rr *AFSDB) String() string + type ANY struct + Hdr RR_Header + func (rr *ANY) Header() *RR_Header + func (rr *ANY) String() string + type CDNSKEY struct + type CDS struct + type CERT struct + Algorithm uint8 + Certificate string + Hdr RR_Header + KeyTag uint16 + Type uint16 + func (rr *CERT) Header() *RR_Header + func (rr *CERT) String() string + type CNAME struct + Hdr RR_Header + Target string + func (rr *CNAME) Header() *RR_Header + func (rr *CNAME) String() string + type Class uint16 + func (c Class) String() string + type Client struct + DialTimeout time.Duration + Net string + ReadTimeout time.Duration + SingleInflight bool + TsigSecret map[string]string + UDPSize uint16 + WriteTimeout time.Duration + func (c *Client) Exchange(m *Msg, a string) (r *Msg, rtt time.Duration, err error) + type ClientConfig struct + Attempts int + Ndots int + Port string + Search []string + Servers []string + Timeout int + func ClientConfigFromFile(resolvconf string) (*ClientConfig, error) + type Conn struct + TsigSecret map[string]string + UDPSize uint16 + func Dial(network, address string) (conn *Conn, err error) + func DialTimeout(network, address string, timeout time.Duration) (conn *Conn, err error) + func (co *Conn) Close() error + func (co *Conn) LocalAddr() net.Addr + func (co *Conn) Read(p []byte) (n int, err error) + func (co *Conn) ReadMsg() (*Msg, error) + func (co *Conn) RemoteAddr() net.Addr + func (co *Conn) SetDeadline(t time.Time) error + func (co *Conn) SetReadDeadline(t time.Time) error + func (co *Conn) SetWriteDeadline(t time.Time) error + func (co *Conn) Write(p []byte) (n int, err error) + func (co *Conn) WriteMsg(m *Msg) (err error) + type DHCID struct + Digest string + Hdr RR_Header + func (rr *DHCID) Header() *RR_Header + func (rr *DHCID) String() string + type DLV struct + type DNAME struct + Hdr RR_Header + Target string + func (rr *DNAME) Header() *RR_Header + func (rr *DNAME) String() string + type DNSKEY struct + Algorithm uint8 + Flags uint16 + Hdr RR_Header + Protocol uint8 + PublicKey string + func (k *DNSKEY) KeyTag() uint16 + func (k *DNSKEY) NewPrivateKey(s string) (PrivateKey, error) + func (k *DNSKEY) ReadPrivateKey(q io.Reader, file string) (PrivateKey, error) + func (k *DNSKEY) ToDS(h uint8) *DS + func (r *DNSKEY) Generate(bits int) (PrivateKey, error) + func (r *DNSKEY) PrivateKeyString(p PrivateKey) (s string) + func (rr *DNSKEY) Header() *RR_Header + func (rr *DNSKEY) String() string + type DS struct + Algorithm uint8 + Digest string + DigestType uint8 + Hdr RR_Header + KeyTag uint16 + func (rr *DS) Header() *RR_Header + func (rr *DS) String() string + type Denialer interface + Cover func(name string) bool + Match func(name string) bool + type EDNS0 interface + Option func() uint16 + String func() string + type EDNS0_DAU struct + AlgCode []uint8 + Code uint16 + func (e *EDNS0_DAU) Option() uint16 + func (e *EDNS0_DAU) String() string + type EDNS0_DHU struct + AlgCode []uint8 + Code uint16 + func (e *EDNS0_DHU) Option() uint16 + func (e *EDNS0_DHU) String() string + type EDNS0_EXPIRE struct + Code uint16 + Expire uint32 + func (e *EDNS0_EXPIRE) Option() uint16 + func (e *EDNS0_EXPIRE) String() string + type EDNS0_LLQ struct + Code uint16 + Error uint16 + Id uint64 + LeaseLife uint32 + Opcode uint16 + Version uint16 + func (e *EDNS0_LLQ) Option() uint16 + func (e *EDNS0_LLQ) String() string + type EDNS0_N3U struct + AlgCode []uint8 + Code uint16 + func (e *EDNS0_N3U) Option() uint16 + func (e *EDNS0_N3U) String() string + type EDNS0_NSID struct + Code uint16 + Nsid string + func (e *EDNS0_NSID) Option() uint16 + func (e *EDNS0_NSID) String() string + type EDNS0_SUBNET struct + Address net.IP + Code uint16 + DraftOption bool + Family uint16 + SourceNetmask uint8 + SourceScope uint8 + func (e *EDNS0_SUBNET) Option() uint16 + func (e *EDNS0_SUBNET) String() (s string) + type EDNS0_UL struct + Code uint16 + Lease uint32 + func (e *EDNS0_UL) Option() uint16 + func (e *EDNS0_UL) String() string + type EID struct + Endpoint string + Hdr RR_Header + func (rr *EID) Header() *RR_Header + func (rr *EID) String() string + type EUI48 struct + Address uint64 + Hdr RR_Header + func (rr *EUI48) Header() *RR_Header + func (rr *EUI48) String() string + type EUI64 struct + Address uint64 + Hdr RR_Header + func (rr *EUI64) Header() *RR_Header + func (rr *EUI64) String() string + type Envelope struct + Error error + RR []RR + type Error struct + func (e *Error) Error() string + type GID struct + Gid uint32 + Hdr RR_Header + func (rr *GID) Header() *RR_Header + func (rr *GID) String() string + type GPOS struct + Altitude string + Hdr RR_Header + Latitude string + Longitude string + func (rr *GPOS) Header() *RR_Header + func (rr *GPOS) String() string + type HINFO struct + Cpu string + Hdr RR_Header + Os string + func (rr *HINFO) Header() *RR_Header + func (rr *HINFO) String() string + type HIP struct + Hdr RR_Header + Hit string + HitLength uint8 + PublicKey string + PublicKeyAlgorithm uint8 + PublicKeyLength uint16 + RendezvousServers []string + func (rr *HIP) Header() *RR_Header + func (rr *HIP) String() string + type Handler interface + ServeDNS func(w ResponseWriter, r *Msg) + type HandlerFunc func(ResponseWriter, *Msg) + func (f HandlerFunc) ServeDNS(w ResponseWriter, r *Msg) + type Header struct + Ancount uint16 + Arcount uint16 + Bits uint16 + Id uint16 + Nscount uint16 + Qdcount uint16 + type IPSECKEY struct + Algorithm uint8 + Gateway string + GatewayType uint8 + Hdr RR_Header + Precedence uint8 + PublicKey string + func (rr *IPSECKEY) Header() *RR_Header + func (rr *IPSECKEY) String() string + type KEY struct + type KX struct + Exchanger string + Hdr RR_Header + Preference uint16 + func (rr *KX) Header() *RR_Header + func (rr *KX) String() string + type L32 struct + Hdr RR_Header + Locator32 net.IP + Preference uint16 + func (rr *L32) Header() *RR_Header + func (rr *L32) String() string + type L64 struct + Hdr RR_Header + Locator64 uint64 + Preference uint16 + func (rr *L64) Header() *RR_Header + func (rr *L64) String() string + type LOC struct + Altitude uint32 + Hdr RR_Header + HorizPre uint8 + Latitude uint32 + Longitude uint32 + Size uint8 + Version uint8 + VertPre uint8 + func (rr *LOC) Header() *RR_Header + func (rr *LOC) String() string + type LP struct + Fqdn string + Hdr RR_Header + Preference uint16 + func (rr *LP) Header() *RR_Header + func (rr *LP) String() string + type MB struct + Hdr RR_Header + Mb string + func (rr *MB) Header() *RR_Header + func (rr *MB) String() string + type MD struct + Hdr RR_Header + Md string + func (rr *MD) Header() *RR_Header + func (rr *MD) String() string + type MF struct + Hdr RR_Header + Mf string + func (rr *MF) Header() *RR_Header + func (rr *MF) String() string + type MG struct + Hdr RR_Header + Mg string + func (rr *MG) Header() *RR_Header + func (rr *MG) String() string + type MINFO struct + Email string + Hdr RR_Header + Rmail string + func (rr *MINFO) Header() *RR_Header + func (rr *MINFO) String() string + type MR struct + Hdr RR_Header + Mr string + func (rr *MR) Header() *RR_Header + func (rr *MR) String() string + type MX struct + Hdr RR_Header + Mx string + Preference uint16 + func (rr *MX) Header() *RR_Header + func (rr *MX) String() string + type Msg struct + Answer []RR + Compress bool + Extra []RR + Ns []RR + Question []Question + func Exchange(m *Msg, a string) (r *Msg, err error) + func ExchangeConn(c net.Conn, m *Msg) (r *Msg, err error) + func (dns *Msg) Copy() *Msg + func (dns *Msg) IsEdns0() *OPT + func (dns *Msg) IsTsig() *TSIG + func (dns *Msg) Len() int + func (dns *Msg) Pack() (msg []byte, err error) + func (dns *Msg) PackBuffer(buf []byte) (msg []byte, err error) + func (dns *Msg) SetAxfr(z string) *Msg + func (dns *Msg) SetEdns0(udpsize uint16, do bool) *Msg + func (dns *Msg) SetIxfr(z string, serial uint32) *Msg + func (dns *Msg) SetNotify(z string) *Msg + func (dns *Msg) SetQuestion(z string, t uint16) *Msg + func (dns *Msg) SetRcode(request *Msg, rcode int) *Msg + func (dns *Msg) SetRcodeFormatError(request *Msg) *Msg + func (dns *Msg) SetReply(request *Msg) *Msg + func (dns *Msg) SetTsig(z, algo string, fudge, timesigned int64) *Msg + func (dns *Msg) SetUpdate(z string) *Msg + func (dns *Msg) String() string + func (dns *Msg) Unpack(msg []byte) (err error) + func (u *Msg) Insert(rr []RR) + func (u *Msg) NameNotUsed(rr []RR) + func (u *Msg) NameUsed(rr []RR) + func (u *Msg) RRsetNotUsed(rr []RR) + func (u *Msg) RRsetUsed(rr []RR) + func (u *Msg) Remove(rr []RR) + func (u *Msg) RemoveName(rr []RR) + func (u *Msg) RemoveRRset(rr []RR) + func (u *Msg) Used(rr []RR) + type MsgHdr struct + AuthenticatedData bool + Authoritative bool + CheckingDisabled bool + Id uint16 + Opcode int + Rcode int + RecursionAvailable bool + RecursionDesired bool + Response bool + Truncated bool + Zero bool + func (h *MsgHdr) String() string + type NAPTR struct + Flags string + Hdr RR_Header + Order uint16 + Preference uint16 + Regexp string + Replacement string + Service string + func (rr *NAPTR) Header() *RR_Header + func (rr *NAPTR) String() string + type NID struct + Hdr RR_Header + NodeID uint64 + Preference uint16 + func (rr *NID) Header() *RR_Header + func (rr *NID) String() string + type NIMLOC struct + Hdr RR_Header + Locator string + func (rr *NIMLOC) Header() *RR_Header + func (rr *NIMLOC) String() string + type NINFO struct + Hdr RR_Header + ZSData []string + func (rr *NINFO) Header() *RR_Header + func (rr *NINFO) String() string + type NS struct + Hdr RR_Header + Ns string + func (rr *NS) Header() *RR_Header + func (rr *NS) String() string + type NSAP struct + Hdr RR_Header + Length uint8 + Nsap string + func (rr *NSAP) Header() *RR_Header + func (rr *NSAP) String() string + type NSAPPTR struct + Hdr RR_Header + Ptr string + func (rr *NSAPPTR) Header() *RR_Header + func (rr *NSAPPTR) String() string + type NSEC struct + Hdr RR_Header + NextDomain string + TypeBitMap []uint16 + func (rr *NSEC) Cover(name string) bool + func (rr *NSEC) Header() *RR_Header + func (rr *NSEC) Match(name string) bool + func (rr *NSEC) String() string + type NSEC3 struct + Flags uint8 + Hash uint8 + HashLength uint8 + Hdr RR_Header + Iterations uint16 + NextDomain string + Salt string + SaltLength uint8 + TypeBitMap []uint16 + func (rr *NSEC3) Cover(name string) bool + func (rr *NSEC3) Header() *RR_Header + func (rr *NSEC3) Match(name string) bool + func (rr *NSEC3) String() string + type NSEC3PARAM struct + Flags uint8 + Hash uint8 + Hdr RR_Header + Iterations uint16 + Salt string + SaltLength uint8 + func (rr *NSEC3PARAM) Header() *RR_Header + func (rr *NSEC3PARAM) String() string + type Name string + func (n Name) String() string + type OPENPGPKEY struct + Hdr RR_Header + PublicKey string + func (rr *OPENPGPKEY) Header() *RR_Header + func (rr *OPENPGPKEY) String() string + type OPT struct + Hdr RR_Header + Option []EDNS0 + func (rr *OPT) Do() bool + func (rr *OPT) ExtendedRcode() uint8 + func (rr *OPT) Header() *RR_Header + func (rr *OPT) SetDo() + func (rr *OPT) SetExtendedRcode(v uint8) + func (rr *OPT) SetUDPSize(size uint16) + func (rr *OPT) SetVersion(v uint8) + func (rr *OPT) String() string + func (rr *OPT) UDPSize() uint16 + func (rr *OPT) Version() uint8 + type PTR struct + Hdr RR_Header + Ptr string + func (rr *PTR) Header() *RR_Header + func (rr *PTR) String() string + type PX struct + Hdr RR_Header + Map822 string + Mapx400 string + Preference uint16 + func (rr *PX) Header() *RR_Header + func (rr *PX) String() string + type ParseError struct + func (e *ParseError) Error() (s string) + type PrivateKey interface + type PrivateRR struct + Data PrivateRdata + Hdr RR_Header + func (r *PrivateRR) Header() *RR_Header + func (r *PrivateRR) String() string + type PrivateRdata interface + Copy func(PrivateRdata) error + Len func() int + Pack func([]byte) (int, error) + Parse func([]string) error + String func() string + Unpack func([]byte) (int, error) + type Question struct + Name string + Qclass uint16 + Qtype uint16 + func (q *Question) String() (s string) + type RFC3597 struct + Hdr RR_Header + Rdata string + func (rr *RFC3597) Header() *RR_Header + func (rr *RFC3597) String() string + func (rr *RFC3597) ToRFC3597(r RR) error + type RKEY struct + Algorithm uint8 + Flags uint16 + Hdr RR_Header + Protocol uint8 + PublicKey string + func (rr *RKEY) Header() *RR_Header + func (rr *RKEY) String() string + type RP struct + Hdr RR_Header + Mbox string + Txt string + func (rr *RP) Header() *RR_Header + func (rr *RP) String() string + type RR interface + Header func() *RR_Header + String func() string + func Copy(r RR) RR + func NewRR(s string) (RR, error) + func ReadRR(q io.Reader, filename string) (RR, error) + func UnpackRR(msg []byte, off int) (rr RR, off1 int, err error) + type RRSIG struct + Algorithm uint8 + Expiration uint32 + Hdr RR_Header + Inception uint32 + KeyTag uint16 + Labels uint8 + OrigTtl uint32 + Signature string + SignerName string + TypeCovered uint16 + func (rr *RRSIG) Header() *RR_Header + func (rr *RRSIG) Sign(k PrivateKey, rrset []RR) error + func (rr *RRSIG) String() string + func (rr *RRSIG) ValidityPeriod(t time.Time) bool + func (rr *RRSIG) Verify(k *DNSKEY, rrset []RR) error + type RR_Header struct + Class uint16 + Name string + Rdlength uint16 + Rrtype uint16 + Ttl uint32 + func (h *RR_Header) Header() *RR_Header + func (h *RR_Header) String() string + type RT struct + Hdr RR_Header + Host string + Preference uint16 + func (rr *RT) Header() *RR_Header + func (rr *RT) String() string + type ResponseWriter interface + Close func() error + Hijack func() + LocalAddr func() net.Addr + RemoteAddr func() net.Addr + TsigStatus func() error + TsigTimersOnly func(bool) + Write func([]byte) (int, error) + WriteMsg func(*Msg) error + type SIG struct + func (rr *SIG) Sign(k PrivateKey, m *Msg) ([]byte, error) + func (rr *SIG) Verify(k *KEY, buf []byte) error + type SOA struct + Expire uint32 + Hdr RR_Header + Mbox string + Minttl uint32 + Ns string + Refresh uint32 + Retry uint32 + Serial uint32 + func (rr *SOA) Header() *RR_Header + func (rr *SOA) String() string + type SPF struct + Hdr RR_Header + Txt []string + func (rr *SPF) Header() *RR_Header + func (rr *SPF) String() string + type SRV struct + Hdr RR_Header + Port uint16 + Priority uint16 + Target string + Weight uint16 + func (rr *SRV) Header() *RR_Header + func (rr *SRV) String() string + type SSHFP struct + Algorithm uint8 + FingerPrint string + Hdr RR_Header + Type uint8 + func (rr *SSHFP) Header() *RR_Header + func (rr *SSHFP) String() string + type ServeMux struct + func NewServeMux() *ServeMux + func (mux *ServeMux) Handle(pattern string, handler Handler) + func (mux *ServeMux) HandleFunc(pattern string, handler func(ResponseWriter, *Msg)) + func (mux *ServeMux) HandleRemove(pattern string) + func (mux *ServeMux) ServeDNS(w ResponseWriter, request *Msg) + type Server struct + Addr string + Handler Handler + IdleTimeout func() time.Duration + Listener net.Listener + Net string + NotifyStartedFunc func() + PacketConn net.PacketConn + ReadTimeout time.Duration + TsigSecret map[string]string + UDPSize int + Unsafe bool + WriteTimeout time.Duration + func (srv *Server) ActivateAndServe() error + func (srv *Server) ListenAndServe() error + func (srv *Server) Shutdown() error + type TA struct + Algorithm uint8 + Digest string + DigestType uint8 + Hdr RR_Header + KeyTag uint16 + func (rr *TA) Header() *RR_Header + func (rr *TA) String() string + type TALINK struct + Hdr RR_Header + NextName string + PreviousName string + func (rr *TALINK) Header() *RR_Header + func (rr *TALINK) String() string + type TKEY struct + Algorithm string + Error uint16 + Expiration uint32 + Hdr RR_Header + Inception uint32 + Key string + KeySize uint16 + Mode uint16 + OtherData string + OtherLen uint16 + func (rr *TKEY) Header() *RR_Header + func (rr *TKEY) String() string + type TLSA struct + Certificate string + Hdr RR_Header + MatchingType uint8 + Selector uint8 + Usage uint8 + func (r *TLSA) Sign(usage, selector, matchingType int, cert *x509.Certificate) (err error) + func (r *TLSA) Verify(cert *x509.Certificate) error + func (rr *TLSA) Header() *RR_Header + func (rr *TLSA) String() string + type TSIG struct + Algorithm string + Error uint16 + Fudge uint16 + Hdr RR_Header + MAC string + MACSize uint16 + OrigId uint16 + OtherData string + OtherLen uint16 + TimeSigned uint64 + func (rr *TSIG) Header() *RR_Header + func (rr *TSIG) String() string + type TXT struct + Hdr RR_Header + Txt []string + func (rr *TXT) Header() *RR_Header + func (rr *TXT) String() string + type Token struct + Comment string + Error *ParseError + type Transfer struct + DialTimeout time.Duration + ReadTimeout time.Duration + TsigSecret map[string]string + WriteTimeout time.Duration + func (t *Transfer) In(q *Msg, a string) (env chan *Envelope, err error) + func (t *Transfer) Out(w ResponseWriter, q *Msg, ch chan *Envelope) error + func (t *Transfer) ReadMsg() (*Msg, error) + func (t *Transfer) WriteMsg(m *Msg) (err error) + type Type uint16 + func (t Type) String() string + type UID struct + Hdr RR_Header + Uid uint32 + func (rr *UID) Header() *RR_Header + func (rr *UID) String() string + type UINFO struct + Hdr RR_Header + Uinfo string + func (rr *UINFO) Header() *RR_Header + func (rr *UINFO) String() string + type URI struct + Hdr RR_Header + Priority uint16 + Target []string + Weight uint16 + func (rr *URI) Header() *RR_Header + func (rr *URI) String() string + type WKS struct + Address net.IP + BitMap []uint16 + Hdr RR_Header + Protocol uint8 + func (rr *WKS) Header() *RR_Header + func (rr *WKS) String() (s string) + type X25 struct + Hdr RR_Header + PSDNAddress string + func (rr *X25) Header() *RR_Header + func (rr *X25) String() string