Skip to content
Nebula logoNebula logoNebula Docs

static_map

The static map defines options which control the interpretation of the static_host_map.

Example:

static_map:
network: ip4
cadence: 30s
lookup_timeout: 5s
Default: ip4 Reloadable

Select the IP version used to communicate with hosts in the static map. Valid values are ip4, ip6, and ip (for both.)

With an IPv4 listen.host, such as the default 0.0.0.0, IPv6 results are ignored even when this is set to ip or ip6.

Default: 30s Reloadable

Interval to re-query DNS for hostnames listed in the static map. Starting a handshake with a host whose entry uses a hostname also triggers an immediate re-query.

Default: 5s Reloadable

Timeout for DNS lookup of static hosts.

A lookup that fails or times out keeps the last addresses that resolved successfully and logs DNS resolution failed for static_map host. Only a not found answer (NXDOMAIN, or no records) removes them. On macOS a lookup while offline also counts as not found; the addresses are resolved again on the next handshake.