dnspod

package
v0.0.0-...-ba9e13a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2018 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DNSpodIPs = []string{
	`119.29.29.29`, `119.28.28.28`,
	`182.254.118.118`, `182.254.116.116`,
}

DNSpodIPs 119.29.29.29 or 182.254.116.116

Functions

This section is empty.

Types

type DNSPOD

type DNSPOD struct {
	EDNS net.IP
	// contains filtered or unexported fields
}

DNSPOD is the DNSPOD DNS-over-HTTP provider;

func NewDNSPOD

func NewDNSPOD(EDNS string) (dp *DNSPOD)

NewDNSPOD creates a DNSPOD

func (*DNSPOD) DNSHandleFunc

func (dp *DNSPOD) DNSHandleFunc(w dns.ResponseWriter, req *dns.Msg)

DNSHandleFunc provider miekg/dns.HandleFunc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL