hostresolver

package
v1.7.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver struct {
	CnameFlattening bool
	ResolvConfig    string
	ResolvDepth     int
	// contains filtered or unexported fields
}

Resolver used for host resolver

func (*Resolver) CNAMEFlatten

func (hr *Resolver) CNAMEFlatten(host string) (string, string)

CNAMEFlatten check if CNAME record exists, flatten if possible

Jump to

Keyboard shortcuts

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