What it is for
DNS and DHCP → DNS protection governs the appliance’s DNS resolver (Unbound). When it is on, the appliance answers the DNS queries of the internal clients, forwards the ones it does not know to the servers you name (or resolves them itself, starting from the root servers) and blocks the domains that appear in the active lists. A client that asks for a blocked domain gets an empty answer and does not reach the site.
The same tab also decides, zone by zone, whether the clients can bypass the resolver by using another DNS: this is forced DNS.


How the page is laid out
It is a single block. In the bar at the top are the title “DNS protection”, the state (“On · N domains blocked” or “Off”) and the “Reload” button. Below, in order:
- Resolver: the switch, the port, the per-client limit, the forwarders and DNS over TLS.
- Blocklists: the categories of lists supplied with the appliance, then “Your lists”.
- Force the appliance’s DNS: one row per zone, with its switch.
- Keep the site’s name visible (turn ECH off): a switch, on by default.
- DNS query analysis: a switch, on by default.
- A row with “Refresh lists”, the total of blocked domains and, on the right, “Save settings”.
All the resolver’s fields, the switches of the categories, those of your lists, those of the forced zones, “Keep the site’s name visible” and “DNS query analysis” are saved together with “Save settings”. The dialogs of your lists and the “Refresh lists” button, on the other hand, act at once, each on its own.
The resolver
| Field | What it does | Values | Default |
|---|---|---|---|
| “Enable DNS protection” | Switches on the appliance’s resolver with the lists’ filtering | on / off | off |
| “Port” | The port the resolver answers on | 1–65535 | 53 |
| “Queries/second per client” | How many queries per second it accepts from a single client; past the limit 9 queries in 10 go unanswered | 0–100000; 0 = no limit | 0 |
| “Forwarding DNS (optional)” | The servers the resolver asks about what it does not know | one per line; empty = full recursion | two public resolvers (Quad9 and Cloudflare) on a new installation |
| “Encrypt upstream queries (DNS-over-TLS)” | Encrypts the queries towards the forwarders | on / off | off |
The port. Leave 53 when the appliance serves the LAN directly: it is the port the clients use. A different port (for example 5335) is only needed when you chain the appliance behind another resolver. With a port other than 53 the clients do not reach it on their own: that is why, in that case, the appliance’s DHCP hands the clients the forwarders instead of its own address — except in the forced zones, where the firewall redirects 53 to the resolver anyway.
Forwarding or recursion. With at least one server in “Forwarding DNS (optional)”, the resolver passes the queries it does not know to those servers. With the field empty it does full recursion: it asks the root servers itself, and then the authoritative servers of each domain. If you empty the field and save, it stays empty: the appliance does not put the default servers back.
Each line of the field has one of these forms:
| Form | Example | Meaning |
|---|---|---|
IP |
198.51.100.53 |
the server, port 53 |
IP@port |
198.51.100.53@5353 |
the server on another port |
IP#name |
198.51.100.53#dns.provider.test |
for DNS over TLS: the name the server carries in its certificate, port 853 |
IP#name@port |
198.51.100.53#dns.provider.test@853 |
as above, with the port given explicitly |
You can also separate the servers with commas: when you save, they become one per line.
DNS over TLS. With “Encrypt upstream queries (DNS-over-TLS)” on, the queries towards the forwarders travel encrypted on port 853, and each server is recognised by the name in its certificate: that is why it must be written in the form IP#name (for example the provider’s DNS, 198.51.100.53#dns.provider.test). For the most widespread public resolvers (Quad9, Cloudflare, Google and AdGuard) the name is not needed: the appliance already knows it and adds it itself. TLS applies to forwarding only: with the field empty (full recursion) it cannot be switched on.
For the technician Argos writes the snippet
/etc/unbound/unbound.conf.d/argos.confand the lists’ include/var/lib/unbound/argos-blocklist.conf(the downloaded copies are in/var/lib/argos-dns). Before replacing the files in use it tests them withunbound-checkconf: if Unbound refuses them, the ones in service stay and the console shows “Applying the DNS configuration failed” with the reason. Once they are accepted, Unbound is restarted (its cache is emptied). The resolver listens on every interface but answers only the loopback, the private networks (RFC 1918 and 100.64.0.0/10) and the appliance’s internal networks (interfaces outside the WAN side, static routes, VPNs; never a network wider than a /8): even a zone that opens 53 towards the internet by mistake does not turn it into an open resolver. Who can reach it, though, is decided by the firewall: the lan zone opens DNS (udp and tcp 53) out of the box, and every other zone that must use it needs the same inbound service, or forced DNS.
The supplied categories
The blocklists supplied with the appliance are not shown one by one and cannot be edited: they are switched on and off by category. Each row shows the category’s name, a line saying what it holds, the number of domains downloaded and the switch.
| Category | What it blocks | On a new installation |
|---|---|---|
| “Threats” | Malware, phishing and scam domains | on |
| “Adult” | Pornography and adult content | off |
| “Gambling” | Betting, casinos and lotteries | off |
| “Social networks” | Facebook, Instagram, TikTok, X and the like | off |
| “News” | Newspapers, broadcasters’ news sites, news agencies and aggregators, worldwide | off |
| “Filter bypass” | DNS-over-HTTPS, VPN and proxy services a client could use to get around the filter | off |
| “Advertising” | Ad networks and ad servers | on |
| “Tracking” | Analytics, telemetry and trackers, first-party ones included | on |
| “General” | Broad lists: ads, tracking and malware together | on |
The active lists are downloaded and merged into a single list without duplicates. A blocked domain also blocks all its subdomains. If an appliance update adds a new supplied list, you find it switched off: an update never blocks anything new by itself.
Under a category you may read:
- “N domains”: the category’s lists have been downloaded.
- “not downloaded yet”: the category is on but there is no copy yet (for example before the first save with the internet reachable).
- “N lists failed their last download: each keeps its previous copy”: the last download did not succeed; blocking carries on with the old copy.
The categories are meant to be the same for the whole appliance: the DNS filter applies to every client that uses the resolver, in any zone. To block an application in one zone only, use application control instead, described in Applications.
Your lists
Under the categories, “Your lists” shows the lists you add yourself, each with its name, address, the outcome of the last download, category, the “Edit list” and “Delete list” buttons and its switch. The “Add list” button, at the right of the title, opens the dialog.
| Field | What it does | Rules |
|---|---|---|
| “Name” | The name you see it by in the list and in the messages | required, at most 64 characters |
| “Address” | Where to download it from | an http:// or https:// address; it cannot already be in use by another list |
| “Category” | The category its domains belong to: it is the one Diagnostics names when one of them is blocked | one of the eight; default “General” |
The list can be in hosts format (0.0.0.0 domain), in AdGuard format (||domain^), one domain per line or with the wildcard (*.domain); comment lines are ignored. The file cannot exceed 32 MiB and the download has one minute to complete. You can add at most 32 lists of your own.
“Add list” (or “Save list” when you edit it) acts at once: the appliance downloads the list, merges everything again and restarts the resolver; the message is “List applied”. If you change the address, the old copy is discarded and the list is downloaded again. “Delete list” asks for confirmation (“Delete the list …? Its domains are no longer blocked.”) and removes its domains at once.
The switch next to each list, on the other hand, is part of the form: you save it with “Save settings”.
Refreshing the lists
The lists change every day. The appliance downloads them again by itself every night (around 4:30, with a random delay of up to an hour) and restarts the resolver only if something changed. A list that fails to download keeps its previous copy.
The “Refresh lists” button does the same thing now: it downloads all the active lists again, merges them again and applies the result. The total appears next to it: “N domains blocked in total”. If protection is off, the refresh downloads nothing and says so: “DNS protection is off: nothing is downloaded or blocked until it is switched on”.
The System status → Status page flags in the “Attention” strip the categories that failed to download, the lists never downloaded and the lists that have not been refreshed for more than seven days (see System status).
Forcing DNS per zone
A client can ignore the DNS that DHCP hands it and ask any public server: that way the filter does not see it. With “Force the appliance’s DNS” you switch on the redirection, zone by zone. In a forced zone:
- every DNS query on port 53 (udp and tcp), whatever server the client asked, is answered by the appliance’s resolver;
- the resolver answers the zone’s clients even if the zone has not opened DNS among its services;
- DNS over TLS or QUIC (port 853) towards the outside is refused.
Rules to know:
- The wan zone never appears in the list: you do not force the internet’s DNS.
- Forced DNS needs the resolver on. If you try to save forced zones with protection off, the console answers “Forcing DNS needs DNS protection on”. To switch protection off you must first remove all the forced zones.
- These are firewall rules: after “Save settings” the message adds “the forced zones follow the change once the firewall is applied (header)”. Apply and confirm within 60 seconds. The same goes when you change the resolver’s port while there are forced zones.
- The redirection does not stop the browsers’ DNS-over-HTTPS, which travels on 443 like the rest of the web. To close that road too, switch on the “Filter bypass” category.
- The servers of the active Forwarded domains are an exception: queries addressed to them are not redirected (see below).
For the technician For each forced zone with interfaces, the nat table redirects 53 to the resolver’s port (
redirect to :<port>, the first dstnat rule), the zone’s input chain accepts the resolver’s port first and its forward chain refuses tcp and udp 853. The refusals appear in Events and diagnostics → Firewall with the rulezone-<name>-dot. Without forced zones, or with the resolver off, the ruleset is identical to the one without the feature: the other DNS changes do not touch the firewall.
The Firefox canary
Before switching on DNS-over-HTTPS by itself, Firefox asks for the name use-application-dns.net: if it does not exist, it stays on the network’s DNS. While DNS protection is on, the appliance always answers that this name does not exist, so Firefox keeps going through the filter. There is nothing to set. A user who switches DNS-over-HTTPS on by hand in Firefox bypasses it anyway: for that you need the “Filter bypass” category.
Keeping the site’s name visible (ECH)
Recent browsers can also encrypt the name of the site they open (Encrypted Client Hello, ECH): only a cover name of the provider stays in clear, for example cloudflare-ech.com for every site Cloudflare hosts. DNS blocking is not affected, because the client still asks the resolver for the name; but everything that reads the name from the connection loses it: the blocks of Applications → Application control, the statistics of Applications → Applications, Events and diagnostics → TLS clients, Applications → Network visibility and Protection → Intelligence.
The key the browser encrypts the name with comes from DNS. With “Keep the site’s name visible (turn ECH off)” on, the resolver removes it from its answers and leaves everything else: the browser connects with the name in clear and the Inspector goes on seeing it. No certificate to hand out, no site blocked, nothing to do on the PCs.
- It is on by default, also on appliances upgraded from a release that did not have it.
- It covers the clients that use the appliance’s resolver: in forced-DNS zones, all of them. A client with its own DNS-over-HTTPS bypasses it: that is what the “Filter bypass” category is for.
- Sources exempted from DNS protection (Protection → Exemptions) get the key untouched.
- On System status → Status, below the figures of the DNS tile, a line says from how many answers the key was removed in the last 24 hours.
If the module doing the work is missing, the switch shows “Unbound’s Python module is not installed (package python3-unbound): the switch takes effect once it is.” and the Status page reports it. The package comes with Argos, which depends on it: the warning appears only if the module’s file was removed by hand, and apt install --reinstall python3-unbound puts it back (then save with “Save settings”).
For the technician Argos loads the Python module
/etc/unbound/argos-ech.pyinto Unbound (module-config: "python validator iterator"); it removes only theechparameter (RFC 9848) from HTTPS and SVCB records and keepsalpnand the address hints. A modified answer loses its DNSSEC signature (no AD bit); answers withoutechpass untouched. The exempted networks are in/etc/unbound/argos-ech.exempt. Every 15 minutes the module writes to Unbound’s journal how many answers it cleaned (argos-ech: removed the ech key from N answers…). On managed PCs the browsers’ policies do the same:EncryptedClientHelloEnabledset tofalsefor Chrome and Edge,DisableEncryptedClientHellofor Firefox.
DNS query analysis
“The resolver records the name each client asks and its answer, for Applications → Network visibility and for the warnings about DNS tunnels and generated domain names — without the advanced inspection level. Kept on the appliance for seven days; clients are named only with App-ID’s per-client detail on.”
Without this switch the DNS views of Applications → Network visibility and the “Possible DNS tunnel towards …” warning come from traffic analysis only, which runs at the Inspector’s “Advanced” level. With the switch on, the resolver feeds them too: it sees every client that asks it, in every zone and also on the links and tunnels the Inspector does not listen to, and it costs no packet capture.
- It is on by default, also on appliances upgraded from a version that did not have it.
- It counts only while DNS protection is on: with the resolver off there is nothing to record.
- The resolver does not depend on the analysis: if the service that collects the queries stops, clients go on resolving as before, and the Status page reports “DNS query analysis” stopped.
- What a client asks another DNS server the resolver does not see: that stays with traffic analysis, which flags it in “DNS · clients” as “outside resolver”.
- The records stay on the appliance, one file a day for seven days and 1 GB at most in all; they are not in the backup. If a burst of queries fills that GB within a day, the rest of that day is not recorded (DNS answers as always) and the service’s journal says so.
- With Per-client detail in Applications → App-ID options off (the default), the views and the warnings do not name clients, as with traffic analysis.
For the technician Unbound sends the answers it gives clients (dnstap,
CLIENT_RESPONSE) to the socket/run/argos-dnstap/dnstap.sock;argos-dnstap.servicecollects them, running as a dynamic user in theunboundgroup, and writes one JSON line per answer to/var/lib/argos-dnstap/dns-YYYYMMDD.log, in the format of Zeek’sdns.log. With the service stopped Unbound keeps the answers in a buffer of its own and drops them once it is full, without slowing down.
What happens when you save
| Action | What the appliance does |
|---|---|
| “Save settings” | Checks the fields, saves, downloads the newly enabled lists that have no copy yet, rewrites the resolver’s configuration and restarts it; updates the DNS that DHCP hands the clients |
| “Add list” / “Save list” | Saves the list, downloads it and applies |
| “Delete list” | Removes the list and applies from the cached copies |
| “Refresh lists” | Downloads all the active lists again and applies |
The confirmation message is “DNS settings applied”, “List applied”, “List deleted” or “Blocklists refreshed”. If the resolver refuses the configuration, “Applying the DNS configuration failed” appears, followed by the reason.
Error messages
| Message | Meaning |
|---|---|
| “Port must be 1-65535” | Port out of range |
| “Must be 0-100000” | Per-client limit out of range |
| “Not a valid forwarder (IP, optionally IP@port)” | A line of the forwarders is not in one of the allowed forms; host names are not allowed |
| “TLS needs at least one forwarder” | You switched DNS over TLS on with the servers’ field empty |
| “Under TLS a forwarder names its certificate: IP#name (9.9.9.9#dns.quad9.net)” | With TLS on, a server the appliance does not know must be written with the name of its certificate |
| “Forcing DNS needs DNS protection on” | Forced zones with the resolver off |
| “Not a valid http(s):// address” | The address of one of your lists is not an http or https URL |
| “This address is already a list” | Another list uses the same address |
| “At most 64 characters” | The list’s name is too long |
| “At most 32 lists of your own” | You have reached the maximum |
| “Choose a category” | Category missing |
| “The shipped lists are switched by category, not edited” | An attempt to edit or delete a supplied list (for example from argos-cli) |
Things to know
- Switching protection off takes DNS away from the network. When it is off, argos removes its own configuration from the resolver, which goes back to the system’s stock one and no longer answers the network’s clients. The appliance’s DHCP switches to handing out the forwarders, but the clients only find out when they renew their lease. Before switching it off during working hours, consider entering an explicit DNS in the “DNS servers” field of the DHCP server.
- Link to Atlas. If the appliance is linked to an EDON Atlas that has a domain, “Linked to Atlas: while the tunnel is up Atlas is used; these forwarders are the fallback.” appears under the servers’ field. Atlas’s domain appears among the forwarded domains as an entry managed by the link. See System.
- The blocks can be read in Events and diagnostics → DNS protection, and for a specific name Events and diagnostics → Diagnostics, “DNS lookup” tool, says which category blocks it (see Events and diagnostics).
- A source can be left out. In Protection → Exemptions, an address or a network with “DNS protection” switched on is not redirected by forced DNS, can use DNS over TLS and, when it does ask the appliance, gets answers without blocklists (local records and forwarded domains still apply). See Protection.
- A complete scenario, with categories, forced DNS and exceptions, is in Filtering domains.