Skip to content
Sign inDashboard

Identification

opdns matches every query to a profile, and optionally to a device, from the transport that the query arrived on. Each transport uses only its own source. The resolver does not guess across transports.

Transport Profile from Device from
DoH, DoH3 first path segment: https://dns.opdns.net/abc123 second segment: /abc123/Living-Room-TV
DoT, DoQ TLS server name: abc123.dns.opdns.net prefix before the last hyphen: living-room-tv-abc123.dns.opdns.net
Plain DNS over IPv6 the destination address, which encodes the profile id none
Plain DNS over IPv4 the source address, if it is a linked IP none

Profile ids are case-insensitive. They have 6 characters, a-z and 0-9, and are never 000000. opdns cleans up device names. It makes letters lowercase and changes spaces, dots and underscores to hyphens. It removes other characters. A device name has 32 characters at most. opdns derives the device id from the profile and the name. So the same name on any PoP (a server location) or node is the same device.

Each anycast IPv6 prefix is a /48. Inside it, an address of type 1 contains the profile id as a base-36 number in its low 32 bits. The 6-character id fits in about 31 bits:

<48-bit prefix> : 0 : 0 : <type> : <id as base 36, 32 bits>
2001:db8:1::1:252c:e35b type 1: profile abc123 in 2001:db8:1::/48
2001:db8:1::53 type 0: the service address (public path)

The profile prefix of opdns is 2602:81f:6000::/48, and its service addresses are 2602:81f:6000::53 and 2602:81f:6000::35. The encoding is frozen, so an address that you set up will keep working. Type 0 is the service address of the public path. opdns also answers an address of another type as the public path. The same is true for an address that encodes a profile that does not exist (see below).

Case Result
Plain DNS from an unlinked address, DoH to / or /dns-query, DoT/DoQ to dns.opdns.net itself or with no server name the public path: unfiltered, not logged, rate-limited
A well-formed id that is not a profile, or no longer is (any transport) the public path, exactly as if the query named no profile. No error says that the id is unknown.
A DoT/DoQ server name under dns.opdns.net that does not encode a well-formed id (wrong length or characters, a device name joined without its hyphen, a deeper name) the public path
A DoT/DoQ server name outside dns.opdns.net the public path
An address in the profile IPv6 range whose type is reserved the public path
A DoH path that is not an id HTTP 404

opdns does not refuse a source that asks for a profile and gets it wrong. It answers like any query without a profile: unfiltered, not logged, and under the rate limits of the public path. So a typo fails without a warning. The device keeps resolving, but without your filtering. After each setup, check that it works. A mistyped id shows as Not filtered.

A self-hosted node is different in one way. Queries that identify no profile, including the cases above, get the node’s own profile. The node serves one profile to the whole network, so it filters these queries with that profile.

A plain DNS query contains the question and nothing else. On IPv6, the profile’s own addresses tell the resolver which profile the query is for. On IPv4, the addresses are shared, so the only signal left is the source of the query. opdns chose not to guess devices from addresses (the comparison lists this). To name devices, use encrypted DNS.