DNS-over-TLS, DoQ and DoH3
Answer Android Private DNS and other encrypted DNS clients on port 853, with DNS-over-QUIC and DNS-over-HTTP/3 on Debian 13.
Back to the DNS Firewall service
Phones and laptops now ask for encrypted DNS on their own.
Android calls it Private DNS and iOS takes it from a configuration profile.
With DNS-over-TLS, the DNS Firewall answers those devices on port 853.
Their queries stay encrypted on the network, and they still go through your filtering rules.
Benefits
- Nobody on the local network or the Wi-Fi can read or rewrite the names your users resolve.
- Phones keep using your DNS Firewall in Private DNS mode instead of falling back to a public resolver.
- The rules, categories, reputation lists and logs you already use apply to encrypted queries as well.
- DNS-over-TLS has its own certificate, so DoH and DoT can show different names.
- The status card proves the listener answers: Artica sends a real encrypted query to it.
- Artica Meta can turn it on for a whole fleet, each node keeping its own certificate.
Use cases
- A company enrolls its Android phones with Private DNS set to the name of the DNS Firewall.
- A school wants the laptops of pupils to stay filtered even when the browser asks for encrypted DNS.
- A hospital must keep DNS traffic encrypted between buildings that share a network with third parties.
- A branch office forwards its queries to the head office over DNS-over-TLS instead of plain UDP.
Where to find it
- Open DNS in the left menu.
- The page is titled DNS Load-balancing service.
- Open the DNS-over-HTTPS (DoH) tab.
The DNS-over-TLS card sits under the DoH cards.
Turn on DNS-over-TLS
- Click Edit settings.
- The DNS over TLS section is at the bottom of the window.
- Check Enable DNS over TLS.
- Keep port 853 unless your clients use another one.
- Choose the certificate in Certificate.
- Click Apply and restart.

DNS-over-TLS listens on the interfaces chosen in Listen Network Interfaces, the same as DoH.
The loopback interface is never published.
Applying restarts the DNS service once, because a new listener cannot be added while it runs.
Answers pause for a few seconds.
Artica refuses the settings in three cases:
- no certificate is selected, or it no longer exists in the certificates center
- no listen interface is selected
- the port is already used by DNS-over-HTTPS, or by a port the service keeps for itself (53, 5598, 5599, 5600 and 3199)
Choose the certificate
Clients connect to the name written in the certificate.
That name must resolve to the DNS Firewall.
- Android and iOS only accept a certificate signed by a public authority.
A Let's Encrypt certificate from the certificates center works. - Computers of an Active Directory domain accept a certificate from your internal authority.
- Artica sends the intermediate chain with the certificate.
Android refuses a chain that stops at the server certificate.
Check the status

| Item | Meaning |
|---|---|
| Running | Artica sent an encrypted query to the listener and got an answer. |
| Not published | The setting is on, but the running configuration has no DNS-over-TLS listener. |
| Error | The listener does not answer. |
| Name to give to clients | The name written in the certificate, with a copy button. Type it in the Private DNS setting of Android. |
| Published addresses | Each interface, IP address and port that answers in DNS-over-TLS. |
| Queries received | Queries received on the DNS-over-TLS listeners since the DNS service last started. |
| DNS-over-QUIC (DoQ) | Whether DoQ is on, off, or not available with the installed package. |
The tiles at the top of the tab give the state of the four protocols at a glance.

To test from a Linux computer:
dig +tls @192.168.4.199 -p 853 www.wikipedia.org A
The answer shows SERVER: 192.168.4.199#853 (TLS) when the query went through DNS-over-TLS.
Configure the clients
- Android: Settings, Network & internet, Private DNS, then Private DNS provider hostname with the name of the certificate.
- iOS and macOS: install a configuration profile that declares the server name and the address.
- Windows clients use DNS-over-HTTPS: see Deploy DNS-Over-HTTPS (DoH) with DNS Firewall.
DNS-over-QUIC and DNS-over-HTTP/3
DNS-over-QUIC (DoQ) carries DNS over QUIC, in UDP.
DNS-over-HTTP/3 (DoH3) is DoH over HTTP/3, also in UDP.
Both need a DNS service package built with QUIC support.
The Debian 13 package has it.
When the installed package lacks QUIC, the cards show Not available with this dnsdist and the switches stay hidden.
- DoQ uses the DNS-over-TLS port and certificate, in UDP.
The switch DNS-over-QUIC (DoQ) is in the DNS over TLS section. - DoH3 uses the DoH port and certificate, in UDP.
The switch DNS-over-HTTP/3 (DoH3) is in the DoH section. - Open these UDP ports on any firewall in front of the server.
Browsers fall back to HTTP/2 when the UDP port does not answer.
To check the package from a shell:
dnsdist --version
The line Enabled features: must list dns-over-quic and dns-over-http3.
Artica Meta
The DNS Firewall policy carries the settings in its DNS-over-HTTPS section: DNS-over-TLS, DNS-over-TLS port, DNS-over-QUIC (DoQ) and DNS-over-HTTP/3 (DoH3).
The certificate is never sent by Meta.
Each node keeps its own, chosen in its console.
A node that receives DNS-over-TLS without a certificate reports the policy as pending until a certificate is selected.
A node whose package lacks QUIC ignores DoQ and DoH3.
Troubleshooting
| Symptom | Cause and fix |
|---|---|
| Not published | The certificate was deleted from the certificates center, or no listen interface is left. Open Edit settings, select them again and apply. |
| Android shows "Private DNS server cannot be accessed" | The name does not resolve to the DNS Firewall, the certificate is not signed by a public authority, or port 853 is blocked on the way. |
| Error on the card | The listener does not answer. Restart the service from the Status tab. |
| Queries received stays at 0 | Clients still use plain DNS. Check their Private DNS or adapter settings. |
Reference
- Settings:
DNSDistDOT,DNSDistDOTPort,DNSDistDOTCertificate,DNSDistDOQ,DNSDistDOH3 - REST API of the appliance:
GET /dnsfw/dotandPOST /dnsfw/dot - Certificate files written for the service:
/etc/dnsdist/ssl/Dot.pemand/etc/dnsdist/ssl/Dot.key - The Artica AI assistant reads and changes these settings with the skills
dnsfw.dot.statusanddnsfw.dot.set, after confirmation