server

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Configs = &ServerConfs{EnableRecursiveDnsServer: true,
		UpStreamDnsServer: "8.8.8.8",
		HADomain:          "ha.local",
		ListenPort:        "53",
		ListenIP:          "0.0.0.0",
		TTL:               "60",
	}
)

Functions

func Start

func Start()

Types

type ServerConfs

type ServerConfs struct {
	EnableRecursiveDnsServer bool
	UpStreamDnsServer        string
	HADomain                 string
	ListenPort               string
	ListenIP                 string
	TTL                      string
	UpdateInterval           int
}

Jump to

Keyboard shortcuts

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