dnsserver

package
v0.0.0-...-a8aec34 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer() Server

func (Server) DeregisterAllRecords

func (s Server) DeregisterAllRecords()

func (Server) RegisterAAAARecord

func (s Server) RegisterAAAARecord(domainName string, ipAddress net.IP)

func (Server) RegisterARecord

func (s Server) RegisterARecord(domainName string, ipAddress net.IP)

func (Server) RegisterMXRecord

func (s Server) RegisterMXRecord(domainName string, target string, preference uint16)

func (Server) SetTruncateDNS

func (s Server) SetTruncateDNS(domainName string)

func (Server) Start

func (s Server) Start()

func (Server) Stop

func (s Server) Stop() error

func (Server) URL

func (Server) URL() string

Jump to

Keyboard shortcuts

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