How to connect#
Every GraceDNS configuration has an id (configid in the examples below). It is shown in your list of configurations and on the configuration's Install tab, together with ready-to-copy endpoints. There are three ways to send DNS queries to GraceDNS, and each carries that id differently. Choose the one that matches where you want protection.
DNS over TLS: id in the hostname#
Best for Android and routers with encrypted DNS support. Queries travel encrypted on port 853, and your configuration id is part of the server name: <configid>.dns.gracedns.eu. No IP linking is needed, it works on any network, and it is unaffected by changes to your IP address.
Guides: Android Private DNS, Router setup (the encrypted DNS section).
DNS over HTTPS: id in the URL#
Best for browsers and Apple devices. Queries travel as encrypted HTTPS requests to https://dns.gracedns.eu/<configid>. As with DNS over TLS, the id is part of the connection, so it works on any network and is unaffected by IP changes. Browsers accept the URL directly; iPhone, iPad and Mac use it through a configuration profile, which the Install tab generates.
Guides: Browser setup, iOS and macOS setup.
Plain DNS: id from your linked IP address#
For routers and networks that only support classic DNS (port 53). Classic DNS carries no id, so you link your network's public IPv4 address (or range) to your configuration instead, and every query arriving from it gets your rules. It works with any router, but queries are unencrypted, and the link must be updated when your public IP changes.
Guide: Router setup. Linking is described under Network rules.
Which one wins when several apply#
GraceDNS selects the configuration for each query in this order: first an id carried in the connection (the DNS over HTTPS URL or the DNS over TLS hostname), then a linked IP address. An id that matches no configuration is ignored. Queries that match neither are answered with the service's default configuration, which applies none of your settings and none of another customer's.
Back to docs.