godnschange

package module
v0.0.0-...-77e15ad Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSInfo

type DNSInfo struct {
	NameServers  []string
	SearchDomain []string
}

type DNSStruct

type DNSStruct struct {
	NetInterface interface{}
	Success      bool
}

func NewDNSChange

func NewDNSChange() *DNSStruct

func (*DNSStruct) Change

func (d *DNSStruct) Change(dns string, domains []string, peers []string, internal string, api string) error

func (*DNSStruct) GetDNS

func (d *DNSStruct) GetDNS() *DNSInfo

func (*DNSStruct) RestoreDNS

func (d *DNSStruct) RestoreDNS(dns string)

Directories

Path Synopsis
+build windows
+build windows

Jump to

Keyboard shortcuts

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