Skip to content
Sign inDashboard

Android

Android 9 and later can send every DNS query over TLS to a host name that you choose. This setting covers all apps, on Wi-Fi and on mobile data.

Before you start, get your profile id and choose a name for this phone.

  1. Open Settings → Network & internet → Private DNS.

    On Samsung phones: Settings → Connections → More connection settings → Private DNS. On other brands, search Settings for “Private DNS”.

  2. Choose Private DNS provider hostname.

  3. Enter:

    <device>-<profile-id>.dns.opdns.net

    For example, enter pixel-8-abc123.dns.opdns.net. Use only letters, digits and hyphens. The part after the last hyphen must be your 6-character profile id.

  4. Tap Save. If Android says “Couldn’t connect”, look for typos at the end of the name (.dns.opdns.net).

  5. Check it works. The queries of the phone must appear in the log of the profile, under the device name that you chose.

  • If a host name is set, Android never goes back to the DNS of your network. If Android cannot reach opdns, name resolution fails until you set Private DNS back to Automatic.
  • Some hotel and airport Wi-Fi sign-in pages (captive portals) need the DNS of the network. To sign in, set Private DNS to Automatic. Then set it back.
  • The Use secure DNS setting of Chrome and some apps use their own resolver. If Private DNS is set, Chrome follows it.
  • Work profiles and VPNs: while a VPN app is connected, it can override Private DNS.