Skip to content

nebctl v0.3.0

Choose a tag to compare

@davewat davewat released this 29 Oct 13:46
· 13 commits to main since this release

Names over Nebula (DNS)

Hosts find each other by name, e.g. ssh fe01.nebula.example.com, without editing any config by hand.

  • A Nebula-only domain. nebctl ca init / ca import ask for it (default nebula.<your domain>). Short names given to ca sign are put under it.
  • Lighthouses answer it. A lighthouse can serve DNS on its Nebula IP, port 53. Nebula's firewall lets udp/53 in; nothing is exposed to the internet.
  • Every host looks the domain up through them. Linux: systemd-resolved, set by the nebula unit each time it starts. macOS: /etc/resolver/<domain>. Only that domain goes to Nebula.
  • Renaming keeps addresses. Signing a short name whose cert sits outside the domain renames it, keeping its IP and groups.
  • sudo nebctl dns turns this on for a network set up before v0.3.0 (see the README, "Turning DNS on for a network set up before v0.3.0").

The Linux resolver path is covered by tests but not yet tried on a real host.