Nebula can now set your system's DNS on macOS and Windows
Nebula 1.12.0 and DNClient 1.0.0 can set your system's DNS resolvers on macOS and Windows, built on dnsconfig, our new MIT-licensed Go library.
Reusable enrollment for CI runners, autoscaling groups, and device rollouts
Until recently, enrolling a server in Managed Nebula meant creating its host first. You gave it a name, role, and tags, and got an enrollment code that works once and expires after a day. That suits a laptop or database server you know by name, but it’s a poor fit for short-lived CI runners or servers in an autoscaling group that spin up and down with demand. You could script it with the API, one host and one code per machine, but that API key can create a host in your organization with any role.
A join key is an enrollment code you can reuse: any number of machines can enroll with it, and each one joins as a new host with the key’s network, role, and tags.
Join keys support both long-lived and ephemeral hosts, and they’re available to everyone now. Use a join key to roll out Managed Nebula to a fleet of devices through Group Policy, or an ephemeral key to clean up automatically after machines with a short shelf life, like GitHub Actions runners or instances in an autoscaling group.
Go to Settings, then Host join keys, and click Add. You pick a name, network, role, tags, and an expiration. On a dual-stack network, you also choose whether enrolled hosts get an IPv4 address alongside their IPv6 one. For short-lived machines, you can also make the key ephemeral.

Once you create a key, its network, role, and tags are locked. Only the name and expiration can change. A token can only ever make one kind of host, so if one leaks, you know exactly what someone could add with it. Revoke it and make a new one.
After you save, the token appears once. Copy it then, and enroll each machine with it the same way you would with a single-use code:
sudo dnclient enroll -code dnjoin-XXXX
Each host is named after the first part of the machine’s hostname (web01.prod.example.com joins as web01), or after the key, like ci-runners-k3x9q2ab, when the machine doesn’t report one. DNClient 1.0.0 and later also let you pick the name with -hostname. The audit log records which key enrolled each host.
A CI runner that lives for twenty minutes still leaves its host behind when it’s gone, holding an IP address and counting against your host limit. For machines like that, check Delete enrolled hosts after they stop checking in when you create the key, which makes it ephemeral. Managed Nebula then deletes each host the key enrolls once it stops checking in, usually within 1-2 hours.
API keys can now carry the join-keys scopes, which lets the provisioning tools you already run manage join keys too.
When you want to name and configure a machine ahead of time, create the host and enroll it with an enrollment code. When you want to enroll many hosts with the same configuration, use a join key. The managing hosts guide covers when to use each, and the join keys guide covers the details, including how hosts are named and how to rotate join keys.
Nebula 1.12.0 and DNClient 1.0.0 can set your system's DNS resolvers on macOS and Windows, built on dnsconfig, our new MIT-licensed Go library.
Use the Defined Networking API to sync your Nebula host names to your DNS provider, so your hosts are reachable by name from anywhere.
A free, hosted managed lighthouse is now part of every new Managed Nebula network — sign up, enroll two machines, and they'll be instantly connected.
Connectivity that just works. Connect up to 100 devices free, no credit card required.