Skip to main content

Module parse

Module parse 

Source
Expand description

User-facing nameserver type and parsing.

A nameserver can be configured by IP or hostname, with an optional port. Hostnames are resolved at interceptor startup using the host’s own resolver — never the interceptor itself — so there is no bootstrap loop.

Structs§

ParseNameserverError
Error returned when a user-supplied nameserver string can’t be parsed.

Enums§

Nameserver
A nameserver — either a literal address or a hostname to resolve later.