//
pkg.gl
Category
github.com/containers/common
libnetwork
resolvconf
package
0.62.0
Repository:
https://github.com/containers/common.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
11
Dependents
5
Files
299 SLOC
#
Functions
Add
Add will add the given nameservers to the given resolv.conf file.
New
New creates a new resolv.conf file with the given params.
Remove
Remove the given nameserver from the given resolv.conf file.
#
Constants
DefaultResolvConf
DefaultResolvConf points to the default file used for dns configuration on a linux machine.
#
Structs
Params
Params for the New() function.