Skip to content
Sign inDashboard

Check it works

There are four checks, from the easiest to the most precise. After every setup, do at least one of the first two. opdns answers a mistyped profile id without a filter and without an error (see Your endpoints). Only the log proves that the device uses the profile that you meant, with the device name that you meant.

Open opdns.io/check on the device. You can also look at the Is this device using opdns? panel under Check your setup, on the Setup page of your profile in the dashboard. Both give one of these answers within a few seconds:

Answer Means
Yes The DNS of the device goes through opdns, and opdns identifies a profile. The answer shows which server answered, the profile and device name, how opdns identified the query, and the transport.
Another profile (Setup panel only) The device uses opdns, but with a different profile from the one on the page. The panel shows the id of that profile.
Not filtered The device reaches opdns, but opdns does not identify it, so no profile applies. The causes are plain IPv4 DNS from a network that is not linked, the public DoH address, or a mistyped or deleted profile id (opdns answers it as if it named no profile). Use the address of the profile, and copy it exactly.
No The DNS of the device does not go through opdns, or nothing answered within 3 seconds.

The public page works for anyone, with no account. The Setup panel also compares the answer with the profile that you are looking at. Check again runs the check one more time, for example after you change a setting.

The page makes a random name under check.opdns.io. Then your browser fetches https://<that name>/:

  1. To connect, the browser must first look up the name. It uses the DNS of the device, or the secure DNS setting of the browser if it has one. Only opdns resolvers answer names under check.opdns.io. On all other resolvers the name does not exist, so the fetch fails and the answer is No.
  2. The opdns server that answers the lookup records what it saw under that random name. It records the PoP (a server location), the profile, how opdns identified the query, the transport and the device name. It keeps these facts in memory for 60 seconds. opdns never logs the lookup, never counts it in your analytics and never counts it against rate limits.
  3. The HTTPS request then reaches an opdns PoP. The PoP returns the facts for that random name (JSON, no cookies). The name is new every time, so a cached answer can never pass for a new one. Only someone who knows the name can read the facts.

The name is not secret from your network. Like any host name, it is visible in the HTTPS connection. Someone who watches your traffic during those 60 seconds can read the same facts, your profile id and device name included.

The check sends nothing else: no account, no cookie, no analytics. The dashboard panel runs the same check from your browser. It makes no API call.

The check name must never exist in public DNS. Otherwise, a device on any other resolver can also reach it, and every answer is yes. For this reason, only opdns resolvers answer check.opdns.io. The Setup panel runs the check by itself when the page opens.

  • The check tests the browser, not the full device. If a browser has its own secure DNS setting (Firefox, Chrome, Edge, Brave), the check goes through that setting. Other apps on the same device can use the DNS of the system, or their own DNS. Test each browser or app that you set up separately, or use the log (check 2).
  • The check tests one lookup at one moment. It does not prove that every query goes to opdns. A device with a second DNS server, or a network that gives out a different resolver over IPv6, can still send some queries to a different resolver.
  • Sometimes the answer is only “yes”. If the lookup and the HTTPS request go to different opdns servers, the answer is yes, through opdns, without the profile or transport. Run the check again.
  • Behind a self-hosted node, the node answers the lookup itself. The HTTPS request then goes to the node, which has no certificate for the check name, so the page cannot complete. Use the command line below, or the log of the node.

The same name answers a TXT query with the facts, on any transport:

Terminal window
dig check.opdns.io TXT +short
kdig +https=/<profile-id>/cli-test @dns.opdns.net check.opdns.io TXT +short
"pop=ams"
"profile=abc123"
"ident=doh-path"
"transport=doh2"
"ecs=off"
"device=cli-test"

profile=none means that opdns did not identify the query. ecs tells you if the profile forwards EDNS Client Subnet. A self-hosted node adds node=<name>. A and AAAA queries for the name return an opdns address. Every answer has a TTL of 0, so nothing caches it.

  1. In the dashboard, open the Logs page of your profile. It shows the most recent queries first.
  2. On the device, open any website.
  3. The queries appear within a few seconds. The Device column shows the device name that you chose. The column is empty for plain DNS, which has no device name.

If nothing appears, one of these is the cause:

  • The device does not use the profile.
  • The logs of the profile are off.
  • The log destination of the profile is none.
  1. Add blocked.example.com to the Denylist of the profile.
  2. On the device, open http://blocked.example.com. The browser must say that it cannot find the site.
  3. Remove the rule after the test, or keep it for the next device.

Blocked answers carry an Extended DNS Error with the reason. Command-line tools print it. Keep the denylist rule from check 3, then run one of these commands:

Terminal window
kdig +https=/<profile-id>/cli-test @dns.opdns.net blocked.example.com

A block shows as NXDOMAIN (or the answer that your block mode sets), with a line like this one:

; EDE: 17 (Filtered): (denylist: blocked.example.com)

17 Filtered means that your profile blocked the name. 15 Blocked means an operator-level block, which is not one of your settings. The extra text changes with the list or rule that matched.

Every opdns server answers the standard identity queries. They tell you which PoP and node you reached:

Terminal window
dig @dns.opdns.net id.server TXT CH +short
dig @dns.opdns.net version.bind TXT CH +short

If you ask for it, the server also returns the identity of the node in the EDNS NSID option (dig +nsid).