-
I want to use Nebula as alternative to Tailscale, but, in the requirements I read: "A lighthouse is the only node in a Nebula network whose IP should not change". I want to setup lighthouse with dynamic IP (of course with a DNS that updates on each IP change). Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I run my secondary lighthouse on a dynamic IP with a domain name pointing to it. It seems to work fine. |
Beta Was this translation helpful? Give feedback.
-
A DNS re-resolving PR is currently being discussed (#796) and our goal is to have support for this merged in time for the v1.7.0 release. It would still be a best practice to run lighthouses with a static public ipv4 address since the primary purpose of a lighthouse is for overlay to underlay IP address discoverability and UDP hole punching when one or more hosts are trying to connect through a NAT. Using DNS for lighthouse underlay IP address discovery is a choice that trades some reliability for convenience. |
Beta Was this translation helpful? Give feedback.
A DNS re-resolving PR is currently being discussed (#796) and our goal is to have support for this merged in time for the v1.7.0 release.
It would still be a best practice to run lighthouses with a static public ipv4 address since the primary purpose of a lighthouse is for overlay to underlay IP address discoverability and UDP hole punching when one or more hosts are trying to connect through a NAT.
Using DNS for lighthouse underlay IP address discovery is a choice that trades some reliability for convenience.
nebula
will not be able to query the lighthouse during the time between a dynamic IP address change, DNS record update, DNS record TTL expiry/cache flush, and finally a re-query of …