Artica Wiki

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

Use cases

Where to find it

Turn on DNS-over-TLS

DNS-over-HTTPS and DNS-over-TLS settings window

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:

Choose the certificate

Clients connect to the name written in the certificate.
That name must resolve to the DNS Firewall.

Check the status

DNS-over-TLS status card

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.

State of DoH, DNS over TLS, DoH3 and DoQ

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

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.

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