Without encrypted DNS, anyone on the network path — a public Wi-Fi operator, ISP, or network attacker — can observe which domains are queried and forge responses. CDB Public DNS supports two encrypted protocols that prevent this. DNS queries are anonymized and processed under EU jurisdiction, and are not shared with third parties except as required by law.
DoH uses HTTPS on port 443. Because it shares the port with regular web traffic, it works on networks that block non-standard ports.
DoT uses a dedicated TLS connection on port 853. It is easier to monitor or filter at the network boundary and to configure at the OS and router level.
Resolver endpoints
Use the following addresses to configure DoH or DoT.
Protocol
Value
DoH URL
https://gcoredns.com/dns-query
DoT hostname
gcoredns.com
DoT port
853 (TCP)
DoT URI
tls://gcoredns.com
Android Private DNS
gcoredns.com
Configure DoH or DoT
Windows 11 supports DoH natively. Windows 10 does not support encrypted DNS at the OS level — use plain DNS on Windows 10, or install Stubby for DoT.
Step 1 — register the DoH server
Windows 11 knows a few DoH providers by default (Google, Cloudflare, Quad9), but CDB is not among them. The DNS over HTTPS option in Settings only appears for addresses Windows recognizes, so register CDB first. Open PowerShell as Administrator (right-click Start → Windows PowerShell (Admin)) and run both commands:
Each command registers one CDB IP address. -AllowFallbackToUdp $False prevents Windows from silently switching back to unencrypted DNS if the DoH endpoint is temporarily unreachable.
📝
If the commands fail with an access error, the device is managed by an organization. Contact IT to enable DoH or configure it centrally.
Step 2 — configure the network adapter
Open Settings > Network & internet.
Select Wi-Fi or Ethernet, then click the name of the active connection.
Scroll to DNS server assignment and select Edit.
Change the dropdown to Manual.
Enable the IPv4 toggle.
Set Preferred DNS to 95.85.95.85 and Alternate DNS to 2.56.220.2.
In the DNS over HTTPS dropdown next to each address, select On (automatic template).
Select Save.
The On (automatic template) option appears only after Step 1. If the dropdown is greyed out, repeat Step 1.
Verify
Get-DnsClientDohServerAddress
The output lists all registered DoH providers. Look for the two CDB entries — both should show AutoUpgrade: True:
Google, Cloudflare, and Quad9 entries may also appear in the list — that is expected.
What changed: DNS queries from this device are now encrypted and routed through CDB. The ISP and any network operator on the path can no longer read the queried domain names or tamper with the responses. Browsing speed and behavior are unaffected.
System-wide encrypted DNS on macOS requires a signed configuration profile (macOS Ventura 13 and later) or a third-party DNS client. Until CDB publishes an official profile, the instructions below use Stubby, which works on macOS Catalina (10.15) and later.
Until an official profile is available, install Stubby for system-wide DoT. For per-browser DoH, select the Browsers tab:
Install Stubby: brew install stubby
Edit /usr/local/etc/stubby/stubby.yml (path may vary):
Set the system DNS to 127.0.0.1 in System Settings > Network > Details > DNS.
Verify that Stubby has an active DoT connection to CDB:
sudo lsof -i TCP:853 | grep stubby
An ESTABLISHED connection in the output confirms Stubby has a live TLS session open to port 853. If no output appears, Stubby has not yet connected — check brew services list to confirm the service is running.
Select the method based on the init system: if systemd-resolved is running (Ubuntu 20.04+, Fedora, Arch), follow the systemd-resolved steps below. On all other distributions, skip to Stubby.
On systems without NetworkManager, set nameserver 127.0.0.1 in /etc/resolv.conf, though DHCP clients may overwrite it on reconnect.
Verify that Stubby has an active DoT connection to CDB:
sudo ss -tn state established '( dport = :853 )'
An output line showing a connection to port 853 confirms Stubby has a live TLS session. If no output appears, the service may not be running — check systemctl status stubby.
System-wide encrypted DNS on iOS requires a configuration profile. For per-browser DoH, Firefox on iOS supports DNS over HTTPS natively.
Open Firefox and tap the menu (...) > Settings.
Tap Privacy & Security > DNS over HTTPS.
Select Increased or Max protection.
In the custom provider field, enter https://gcoredns.com/dns-query.
Tap Save.
This applies only to DNS queries made within Firefox. Other apps and browsers on the device use the system resolver.
Android 9 (Pie) and later support DoT through the Private DNS feature. When Private DNS is configured, the system uses it on all networks including cellular.
Open Settings and search for Private DNS — the exact path varies by manufacturer.
Select Private DNS provider hostname.
Enter gcoredns.com.
Tap Save.
After saving, the DoT session is established. On stock Android the status updates to Connected — on some manufacturer interfaces (Xiaomi MIUI, Samsung One UI) only a confirmation checkmark appears, which is normal.
Android eight and earlier do not support encrypted DNS — use plain DNS resolver addresses instead.
These instructions apply to desktop browser versions. Browser DoH covers only DNS queries made within that browser — other apps on the device use the system resolver.
Firefox
Firefox routes all its DNS queries through the configured DoH provider, bypassing the system resolver.
Open Settings > Privacy & Security and scroll to the DNS over HTTPS section.
Select the strictest protection mode available (typically Max Protection or Strict).
In the provider dropdown, select the custom provider option and enter:
https://gcoredns.com/dns-query
To verify, open about:networking#dns and check that the resolver column shows gcoredns.com.
Chrome, Edge, Brave, Opera
Chrome-based browsers use the same DoH URL format. The setting applies to all DNS lookups within the browser.
Open chrome://settings/security in the address bar.
Enable the Use secure DNS toggle.
In the provider dropdown, select the option to add a custom provider.
Enter https://gcoredns.com/dns-query and confirm.
To verify, open chrome://net-internals/#dns, enter any domain in the lookup field, and run the query — a list of resolved IP addresses confirms DNS is working through the configured provider.
Configuring a router to use DoT protects all devices on the network without per-device setup. Support varies by firmware.
pfSense / OPNsense
Navigate to Services > DNS Resolver (Unbound) > General Settings.
Under DNS Query Forwarding, enable Use SSL/TLS for outgoing DNS queries.
Add the upstream servers:
IP: 95.85.95.85, port 853, TLS hostname: gcoredns.com
IP: 2.56.220.2, port 853, TLS hostname: gcoredns.com
Apply and save.
Verify that the router is forwarding DNS through CDB DoT: from a device on the network, run a lookup without specifying a resolver:
dig example.com
The SERVER: line should show the pfSense LAN address, confirming the device uses the router as its resolver. To confirm that Unbound forwards queries over TLS, check Services > DNS Resolver > Query Log — outbound queries to port 853 should appear there.
ASUS routers (Merlin firmware)
Open WAN > Internet Connection.
Set DNS Privacy Protocol to DNS-over-TLS (DoT).
Enter 95.85.95.85 in the DNS-over-TLS Server IP field and gcoredns.com in TLS hostname.
Add 2.56.220.2 as the secondary server.
Select Apply.
Verify from a device connected to the router:
nslookup example.com
The Server: line should show the router's LAN IP address, confirming the device sends DNS queries to the router. The router then forwards them to CDB over port 853 — check WAN > Internet Connection to confirm the DoT connection status is active.
Other routers
Most consumer routers do not support DoH or DoT natively. Configure the plain resolver IPs and use a device-level or browser-level client for encrypted DNS.