Skip to content
Sign inDashboard

Devices

A device is a name that a client puts in its encrypted DNS address. You do not register devices. The first query that carries a new name creates the device, and logs and analytics group by it.

Transport Where the name goes Example
DNS-over-HTTPS second path segment https://dns.opdns.net/<profile-id>/kitchen-ipad
DNS-over-TLS, DNS-over-QUIC before the last hyphen of the server name kitchen-ipad-<profile-id>.dns.opdns.net
Plain DNS (IPv4 or IPv6) nowhere: plain DNS cannot name devices

opdns sanitizes names the same way everywhere:

  • Letters become lowercase.
  • Spaces, dots, underscores and hyphens become one hyphen.
  • Other characters are removed.
  • A name has 32 characters at most.

The Setup page builds the addresses of a device for you. See Identification.

The Devices page lists every device seen on the profile, with the most recently seen device first. While the page is open, it refreshes every 30 seconds.

Column Shows
Device its display name if you set one. If not, the name it sent. If not, its id. Under it, sent as … or its id, and the links Logs, Analytics, Notes and Forget
Kind Not set, Phone, Laptop, TV, Router or Other. You can change it in place
Identified by DoH path or DoT/DoQ host, the last transport, and the naming part of its address (/kitchen-ipad, or kitchen-ipad-…)
Seen when it was last seen, and since when
Queries 24 h, Blocked 24 h queries in the last 24 hours, and how many (and what share) were blocked. – when not available (see below)

Logs opens the log search filtered to the device. Analytics opens Analytics filtered to the device.

Click Rename next to a device and type a display name. The name can have up to 64 characters of any text, for example Léa’s phone. Enter saves and Escape cancels. If you save an empty name, the device goes back to the name that it sends.

The display name replaces the name of the client everywhere that the device shows: log entries, the live tail and the top devices in Analytics. This includes results relayed from your self-hosted node, and old entries too. Renaming does not change the id of the device, so filters and groupings continue to work.

Notes opens the details of the device: its id, the name it sends, its full address, and when it was first and last seen. The details include a notes field of up to 1,000 characters. Only you can see the notes.

Forget removes the device with its display name, kind and notes. Its log entries stay, under the name that the device sends. If the device sends a query again, it comes back as a new device.

The cloud learns devices from query logs. For this reason:

  • If logs are off, or the log destination is Nowhere, opdns only counts the queries and records no device. The page says This profile keeps no logs, so it records no devices.
  • Queries sent to your self-hosted node never get to the cloud. Devices that only use the node are not in the list. The cloud learns devices as usual from queries sent to its own addresses, even when the logs of the profile go to the node.
  • Plain DNS carries no device name. Those queries count for the profile, but for no device.
  • A new device appears within about a minute of its first named query. Last seen can be late by the same amount, because opdns writes each device at most every 30 seconds.
  • The 24-hour counts come from the log database of the cloud. They show only when the log destination is opdns cloud or Both. With My self-hosted node, see the queries of each device under top devices in Analytics instead.

GET /v1/profiles/{id}/devices lists the devices. PATCH /v1/profiles/{id}/devices/{deviceId} sets display_name, kind and notes (null or "" clears one). DELETE forgets a device. opdns records changes in the audit log of the account. See the API reference. Your devices and their names are also in the account export.