package
1.5.0
Repository: https://github.com/hashicorp/vic.git
Documentation: pkg.go.dev

# Functions

BindToDevice binds the socket associated with fd to device.
NewCache returns a new cache.
NewServer returns a new Server.
ReverseLookup returns a set of FQDNs for ipAddr from nameservers in /etc/resolv.conf /etc/hosts and /etc/nsswitch.conf are ignored by this function.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Cache stores dns.Msgs and their expiration time.
CacheOptions represents the cache options.
Item represents an item in the cache.
Server represents udp/tcp server and clients.
ServerOptions represents the server options.

# Type aliases

SetOfDomains is a type for storing string-type domain names as an unsorted set var f SetOfDomains f = make(map[string]bool) Store in the set f["foo.com"] = true then to check to see if something is in the 'set': if f["foo.com"] {.