Android setup (Private DNS)#

Android 9 and later has encrypted DNS built in. The setup needs no app and applies on every network the phone uses: home Wi-Fi, school Wi-Fi and mobile data.

Steps#

  1. Open Settings.
  2. Go to Network and internet (on Samsung: Connections, More connection settings), then Private DNS. If your phone uses different menu names, search the settings for "Private DNS".
  3. Select Private DNS provider hostname.
  4. Enter your configuration's hostname: <configid>.dns.gracedns.eu, replacing <configid> with your configuration id (for example 7f3a9c12.dns.gracedns.eu). The Install tab of your configuration in the web app shows the complete hostname under DNS over TLS, ready to copy.
  5. Tap Save.

Verify#

Add a test domain to your configuration's denylist (Security tab, Denylist), choosing one the phone has not opened recently, because devices cache DNS answers. Select Save changes, wait about a minute for the change to reach the resolvers, then open the domain in a browser on the phone. The page should fail to load. If your configuration shows a block page, HTTPS sites display it only on devices that trust the GraceDNS block-page root certificate; on other devices the browser shows a certificate warning, which also confirms the block. See Block types. If logging is on, the Logs tab shows the blocked lookup. Remove the test entry afterwards.

Notes#

Back to docs.