Skip to content
Sign inDashboard

Nodes

The Nodes page lists the self-hosted nodes enrolled to this profile. For each node, it shows the name, online or offline, the versions, when the node was last seen, and how many log batches wait for the node.

  1. Click Add a node and give it a name, for example Living room Pi.

  2. Click Create enrollment code. The dashboard shows a one-time code (opdnsenrol_…) and two ready-made commands. The code works once and expires after 15 minutes.

  3. Run one of the commands on the machine that will run the node. See Enroll a node.

The node shows as pending until it uses the code. Then it shows as enrolled.

A node is online while its link to opdns is up. The node shows as offline when the link closes. It also shows as offline a short time after opdns stops hearing from it, for example when its connection drops without closing. An offline node continues to resolve with its last profile and lists. See Offline behavior.

When a node is offline for 10 minutes, the owners of the account get an email. The email names the node and its profile, says when opdns last saw the node, and links to this page. When the node is back online, a second email says so. It also says that opdns now delivers the logs that the cloud queued while the node was offline. Each node sends at most one such pair of emails every 6 hours, so an unstable connection does not fill your inbox.

The alerts are on by default. To turn them off, go to the Account page, under Preferences. Only owners receive the alerts. Cloud profiles without a node never trigger them.

After you click Revoke, opdns refuses the token of the node and closes its link within seconds. The node continues to resolve with the last profile and lists that it had, but it does not receive changes from opdns any more. Its link status shows revoked (The link’s state). To use the node again, create a new code and enroll it again, or switch it to standalone mode.

On the node, opdns-node unenrol does the same from the other side. It revokes the node in the cloud with its own token, then removes the token locally. If the node cannot connect to opdns at that moment, it unenrolls locally and asks you to revoke it on this page. See Unenroll.

To keep the logs of this profile at home, set the log destination to My self-hosted node or Both. See Logs on your node.