Documentation
¶
Overview ¶
Package gnocco provides a cached DNS resolver
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gnocco ¶
type Gnocco struct {
RootsFile string
PermissionsDir string
Daemon bool
IterateResolv bool
Listen ListenCfg
MaxJobs int
MaxQueries int
Log LogCfg
Cache CacheCfg
// contains filtered or unexported fields
}
Gnocco is the configuration representing the dns-resolver
func NewFromTOML ¶
NewFromTOML creates a new Gnocco configuration from a TOML file
type Resolver ¶
type Resolver struct {
Host string
Port int
MaxJobs int
MaxQueries int
// contains filtered or unexported fields
}
Resolver implements a cached DNS resolver
func NewResolver ¶
NewResolver returns a pointer to a gnocco.Resolver from a gnocco.Gnocco pointer
Click to show internal directories.
Click to hide internal directories.