Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultNSv4 ¶
func GetDefaultNSv6 ¶
Types ¶
type Nameservers ¶
func New ¶
func New() *Nameservers
func NewfromResolvConf ¶
func NewfromResolvConf(ipv6 bool) (*Nameservers, error)
func (*Nameservers) Add ¶
func (nameservers *Nameservers) Add(ip net.IP)
func (*Nameservers) ToString ¶
func (nameservers *Nameservers) ToString() []string
Click to show internal directories.
Click to hide internal directories.