dns

package
v1.260909.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResetDNS added in v1.260909.0

func ResetDNS()

ResetDNS restores the resolver that was active before SetDNS.

func SetDNS added in v1.260909.0

func SetDNS(server, interfaceName string) error

SetDNS installs a process-wide resolver bound to interfaceName.

Types

This section is empty.

Jump to

Keyboard shortcuts

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