dns

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigureConsulDNSInput

type ConfigureConsulDNSInput struct {
	// Used only for unit tests
	ETCResolvConfFile string
}

func (*ConfigureConsulDNSInput) ConfigureConsulDNS

func (i *ConfigureConsulDNSInput) ConfigureConsulDNS() error

ConfigureConsulDNS reconstructs the /etc/resolv.conf file by setting the consul-dataplane's DNS server (i.e. localhost) as the first nameserver in the list.

Jump to

Keyboard shortcuts

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