dns

package
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNS

type DNS struct {
	Type
	Server string
}

func (*DNS) SetDefault

func (s *DNS) SetDefault() error

type Type

type Type string
const (
	TypeDefault Type = ""
	TypeCommon  Type = "common" // only supported now
	TypeDOT     Type = "dot"
	TypeDOH     Type = "doh"
)

Jump to

Keyboard shortcuts

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