dns

package
v0.0.0-...-df76fe3 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeDNS

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

KubeDNS daemon

func (*KubeDNS) Query

func (kd *KubeDNS) Query(name string, qtype uint16) ([]string, error)

Query the DNS server. Returns the DNS records as strings.

func (*KubeDNS) Start

func (kd *KubeDNS) Start(name string, args ...string)

Start kube DNS, passing in the desired process name and extra arguments

func (*KubeDNS) Stop

func (kd *KubeDNS) Stop()

Stop kube DNS

Jump to

Keyboard shortcuts

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