From 7e380bde7e02c26b0ba96305a8bc0671ed7102b1 Mon Sep 17 00:00:00 2001 From: John Maguire Date: Mon, 10 Jul 2023 15:19:05 -0400 Subject: [PATCH] Document new DNS config options (#879) --- examples/config.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/examples/config.yml b/examples/config.yml index a7acb737c..23ff50561 100644 --- a/examples/config.yml +++ b/examples/config.yml @@ -21,6 +21,19 @@ pki: static_host_map: "192.168.100.1": ["100.64.22.11:4242"] +# The static_map config stanza can be used to configure how the static_host_map behaves. +#static_map: + # cadence determines how frequently DNS is re-queried for updated IP addresses when a static_host_map entry contains + # a DNS name. + #cadence: 30s + + # network determines the type of IP addresses to ask the DNS server for. The default is "ip4" because nodes typically + # do not know their public IPv4 address. Connecting to the Lighthouse via IPv4 allows the Lighthouse to detect the + # public address. Other valid options are "ip6" and "ip" (returns both.) + #network: ip4 + + # lookup_timeout is the DNS query timeout. + #lookup_timeout: 250ms lighthouse: # am_lighthouse is used to enable lighthouse functionality for a node. This should ONLY be true on nodes