dns

package
v0.0.0-...-3fdcba8 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LocalDNS *fdns.TrustedDNS

Functions

func DnsGetDoaminIP

func DnsGetDoaminIP(domain string) (string, error)

func Init

func Init(conf *LocalDNSConfig)

Types

type LocalDNSConfig

type LocalDNSConfig struct {
	Listen     string
	TrustedDNS []string
	FastDNS    []string
	CNIPSet    string
}

Jump to

Keyboard shortcuts

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