conf

package
v0.6.12 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package conf contains helper functions for getting local nameservers

Currently supported: Unix, Windows, Plan 9 (tested on 9front)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDNSConfig

func GetDNSConfig() (*dns.ClientConfig, error)

GetDNSConfig gets the DNS configuration, either from /etc/resolv.conf or somewhere else.

Types

This section is empty.

Jump to

Keyboard shortcuts

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