dns

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDnsRule

func NewDnsRule(config *configs.DnsRuleConfig, dnsServer idns.DnsServer, gh i.GeoHelper,
) (*dns.DnsRule, error)

func NewDnsServer

func NewDnsServer(config *configs.DnsServerConfig, handler i.Handler,
	ipToDomain *idns.IPToDomain, defaultNicInfo i.DefaultInterfaceInfo,
	dailer i.Dialer, ipResolver i.IPResolver,
	gh i.GeoHelper) (idns.DnsServer, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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