Documentation ¶
Index ¶
- Constants
- func BCReplayTypeA(msg *dns.Msg, q dns.Question) (resp *dns.Msg, err error)
- func BCReplyTraditionTypeA(msg *dns.Msg) (resp *dns.Msg, err error)
- func BCReplyTypeBCA(msg *dns.Msg, q dns.Question) (resp *dns.Msg, err error)
- func DNSServerDaemon()
- func DNSServerStop()
- func DeriveMsg(msg *dns.Msg, errCode int) *dns.Msg
- func DnsHandleTradition(w dns.ResponseWriter, msg *dns.Msg)
- func FailDns(ips string)
- func GetDns() string
- func MaxTimes() int
- type DR
- type ResolvStatus
Constants ¶
View Source
const ( ResolvReuseTime int64 = 86400000 //ms ResolvNormal int32 = 1 ResolvAbnormal int32 = 2 )
View Source
const (
TypeBCAddr = 65
)
Variables ¶
This section is empty.
Functions ¶
func BCReplayTypeA ¶ added in v1.1.1
func BCReplyTraditionTypeA ¶ added in v1.1.1
func BCReplyTypeBCA ¶ added in v1.1.1
func DNSServerDaemon ¶
func DNSServerDaemon()
func DNSServerStop ¶
func DNSServerStop()
func DnsHandleTradition ¶
func DnsHandleTradition(w dns.ResponseWriter, msg *dns.Msg)
Types ¶
type DR ¶
type DR struct {
BAS_Ethereum.DomainRecord
}
type ResolvStatus ¶
func (*ResolvStatus) String ¶
func (rs *ResolvStatus) String() string
Click to show internal directories.
Click to hide internal directories.