dnsc

package
v0.0.0-...-f54603f Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSClient

type DNSClient struct {
	MasterDNS     string
	MasterDNSPort string
	Debug         bool
}

func Init

func Init(sp *DNSClient) DNSClient

func (*DNSClient) AddDNS

func (s *DNSClient) AddDNS(zone string, fqdn string, ip string, ttl uint32) error

func (*DNSClient) DelAllDNS

func (s *DNSClient) DelAllDNS(zone string, fqdn string) error

func (*DNSClient) DelDNS

func (s *DNSClient) DelDNS(zone string, fqdn string, ip string, ttl uint32) error

func (*DNSClient) SendMsg

func (s *DNSClient) SendMsg(m *dns.Msg) (msgAnswer []dns.RR, err error)

Jump to

Keyboard shortcuts

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