Situation
John Smith Ltd wants the office PCs (lan zone, 192.168.10.0/24) and the guests’
devices (guests zone, for the guests, VLAN 20, 192.168.20.0/24):
- not to reach malware and phishing sites, advertising and tracking;
- not to open adult and gambling sites;
- not to be able to get around the filter by using another DNS;
- not to reach some domains the company keeps in a list of its own, published on the internal web server (192.168.10.40).
The filter is the appliance’s resolver: to a blocked name it answers that the name does not exist. The lists are for the network’s clients, not for the appliance: its own downloads (the updates, the lists themselves, the intelligence feeds, the list of Tor nodes) do not go through the filter. When a work site is blocked by mistake, you unblock it with the allowlist; to find out why a name is blocked there is Diagnostics, which tells you the category.
What you need
- The appliance’s DNS protection: it is switched on in DNS and DHCP → DNS protection.
- The clients must use the appliance as their DNS: DHCP scopes with an empty “DNS servers” field hand it out by themselves; forced DNS also covers anyone with a DNS typed in by hand.
- For the company list: an http(s) address the appliance can download it from,
with one entry per line in one of the accepted formats (hosts file, AdGuard
||domain^, plain domain or*.domain), at most 32 MiB. Herehttp://192.168.10.40/blocchi-aziendali.txt.
Warning The categories and the lists apply to all the clients that use the resolver, in every zone. To block something in one zone only (for example social networks for the guests) use application control: see Blocking applications in a zone.
Steps
Switching the filter on and choosing the categories
-
Open DNS and DHCP → DNS protection. The subtitle says “Off”.
-
In the “Resolver” block switch on “Enable DNS protection”. Leave “Port” at 53 (it answers the LAN directly) and “Queries/second per client” at 0 (no limit). “Forwarding DNS (optional)” already proposes two forwarders; leaving it empty means full recursion.
-
In the “Blocklists” block you find the categories, each with its switch and, once downloaded, its number of domains. When first switched on, “Threats”, “Advertising”, “Tracking” and “General” are on. Switch on as well:
- “Adult”;
- “Gambling”;
- “Filter bypass” (DNS-over-HTTPS, VPN and proxy services a client could use to get around the filter).
Leave “Social networks” off: it would apply to the offices too.


The DNS protection block with the chosen categories -
In the “Force the appliance’s DNS” block switch on LAN and GUESTS. The wan does not appear: DNS is never forced on the wan.
-
Press “Save settings”. The appliance downloads the lists of the categories just switched on, merges them into a single list without duplicates and restarts the resolver. “DNS settings applied — the forced zones follow the change once the firewall is applied (header)” appears. The first download may take a few minutes; next to “Refresh lists” appears the number of “domains blocked in total”.
-
Forced DNS is made of firewall rules: open the firewall button in the header (“Unapplied changes”), choose “Apply” and, in the “Keep the new ruleset?” dialog, press “Confirm” within 60 seconds.
From here on, in the lan and guests zones:
- every DNS query (udp and tcp 53) is answered by the appliance’s resolver, whatever server the client asked;
- DNS over TLS or QUIC (port 853) towards the outside is refused;
- the zone accepts the resolver’s port by itself: there is no need to add a DNS
service to the
guestszone.
The lists refresh by themselves every night; “Refresh lists” downloads them again at once. A list that fails to download keeps its previous copy.
For the technician The resolver is Unbound. The downloaded lists are merged into
/var/lib/unbound/argos-blocklist.conf: onelocal-zone "<domain>." staticper domain, grouped by category, for which the resolver answers NXDOMAIN for the domain and every name under it. Forced DNS is aredirectto the resolver’s port in the nat table, for the interfaces of the chosen zones, plus accepting that port in the zone’s inbound side and arejectof 853 in its forwarding (in the Firewall log: rulezone-guests-dot). The nightly refresh isargos-dns-refresh.timer.
Adding the company list
- Still in DNS and DHCP → DNS protection, in the “Your lists” block press “Add list”.
- In the dialog fill in “Name”
Company blocklist, “Address”http://192.168.10.40/blocchi-aziendali.txt, “Category” “General”, and press “Add list”. - The appliance downloads only this list and adds it to the merged list: “List applied” appears. In the list’s row you see the number of domains and a switch (on). Switching it off or on again takes effect after “Save settings”; the pencil edits it, the bin deletes it.
You can have up to 32 lists of your own. The lists shipped with the appliance cannot be edited and are not shown one by one: they are switched on and off by category.
A work site blocked by mistake
An employee reports that a supplier’s portal, portal.supplier.test, opens
but the login does not go through.
-
Open Events and diagnostics → DNS protection. In the “Domain or client” field type the address of their PC (for example 192.168.10.57) and press “Filter”. In the “Latest blocks” table you find, shortly before the report,
cdn.supplier.test: the “Blocked zone” column gives the domain of the list that decided (it may be a parent domain), “Category” the category the lists file it under, “Type” the type of record asked for.

The DNS protection log filtered on the employee's PC -
Open Events and diagnostics → Diagnostics → DNS lookup. Type “Name”
cdn.supplier.test, leave “Record type” on “A + AAAA” and “Server” on “Local (the appliance’s DNS resolver, port 53)”, press “Run”. Above the answer appears “Blocked by DNS protection for the network’s clients — category: Advertising”. The console names the category, never the list. The answer below is the appliance’s own, which the lists do not filter: the clients are told the name does not exist.

Diagnostics tells the category that blocks the name -
Open DNS and DHCP → DNS allowlist and press “+” in the list’s bar (“Add allowlist entry”). “DNS allowlist / New entry” opens.
-
Fill in “Domain”
cdn.supplier.testand “Comment”Supplier portal, login, then press “Create entry”. “Allowlist applied” appears: the list of blocks is regenerated from the copies already downloaded, without downloading anything, and the console goes back to the list, with the new entry.

The new allowlist entry -
Repeat the lookup of step 11: now it says “Not blocked: DNS protection’s allowlist lets it through”.
-
On the PC flush the DNS cache and reload the page:
ipconfig /flushdns
An allowlist entry applies to the domain and all its subdomains, and wins over
any list. Be precise: cdn.supplier.test unblocks only that name and what lies
under it; supplier.test would also unblock the supplier’s trackers.
Tip If just one PC has to use its own DNS, or the browser’s DNS (for example the production manager’s, 192.168.10.50), do not take forced DNS away from the zone and do not fill up the allowlist: exempt that PC in Protection → Exemptions with “DNS protection” on (see Protection). The rest of the LAN stays filtered.
DNS over HTTPS and “Filter bypass”
A browser can resolve names with DNS over HTTPS (DoH): the queries travel in HTTPS on port 443, like a web page, and forced DNS does not see them. Argos counters it on three fronts:
- the “Filter bypass” category blocks the names of known DoH services, VPNs and proxies: a browser that cannot resolve the name of its DoH server falls back to the system DNS, that is the appliance;
- the resolver answers “does not exist” to the canary name Firefox uses to find
out whether the network filters DNS (
use-application-dns.net): Firefox then does not switch DoH on by itself; - forced DNS refuses DNS over TLS and over QUIC (port 853) towards the outside.
What stays out is a client configured by hand to talk to a DoH server written as an IP address, or a VPN that is not in the lists. In the zones where more strictness is needed, also block the “VPNs and proxies” category with application control (Blocking applications in a zone).
Verification
-
DNS and DHCP → DNS protection: the subtitle says “On · N domains blocked”; every category switched on has its number of domains, without errors.
-
System status → Status: the “DNS filter” card shows “Blocked domains” and “Blocked queries · 24h”; the link “Open the DNS protection log” leads to the log. The “Attention” strip holds no warnings about the lists.
-
From a PC in the
guestszone, with a name from the company list (heregames.test):nslookup games.test nslookup games.test 198.51.100.53The second query asks an arbitrary outside server: with forced DNS the appliance answers anyway, and the answer arrives at once instead of timing out. In Events and diagnostics → DNS protection two blocks of
games.testfrom that client appear. -
Events and diagnostics → Diagnostics → DNS lookup on
games.testsays “Blocked by DNS protection for the network’s clients — category: General”. -
If a device tries DNS over TLS, Events and diagnostics → Firewall shows “reject” lines with the rule
zone-guests-dot(orzone-lan-dot) on port 853.
If something goes wrong
| What you see | What it means | What to do |
|---|---|---|
| “Forcing DNS needs DNS protection on” | You chose zones to force with the resolver off. | Switch on “Enable DNS protection” in the same save. |
| A category says “not downloaded yet” or “N lists failed their last download…” | The appliance did not reach the source. | Check the way out to the internet and press “Refresh lists”; meanwhile each list keeps its previous copy. |
| Status: “DNS protection, …: N lists failed their last download…” | As above, reported by the Status page. | As above. |
| “Not a valid http(s):// address” / “This address is already a list” / “At most 32 lists of your own” | The list’s address is not right, is already used, or you have too many lists. | Correct the address or delete a list you do not need. |
| “Applying the DNS configuration failed — …” | The resolver refused the new configuration: the appliance keeps the previous one. | The text says why; correct it (for example a forwarder) and save again. |
| A site stays blocked after the allowlist | The earlier answer is still in the PC’s or the browser’s cache. | ipconfig /flushdns and close and reopen the browser. |
| “This domain is already allowlisted” | There is already an entry for that domain. | Edit it from the list. |
| The PCs of a zone get around the filter with another DNS | The zone is not among the forced ones, or the firewall has not been applied. | Switch the zone on in “Force the appliance’s DNS”, save and apply. |
| A browser still opens a blocked site | It uses DNS over HTTPS. | Switch on “Filter bypass”; in the critical zones also block “VPNs and proxies” with application control. |
| Diagnostics says “DNS protection’s lists could not be read: whether they block the name is unknown” | The merged list cannot be read. | Press “Refresh lists”; if it persists, look at Events and diagnostics → System. |
In the DHCP of the guests zone: “The clients are told to ask this appliance for DNS, but zone GUESTS does not accept it: open DNS (udp 53) as one of its services.” |
The zone is not forced and has no inbound DNS service. | Force DNS on the zone, or add the udp and tcp 53 services to the guests zone in Zones and rules → Zones. |
| A client sends too many queries and slows the resolver down | A faulty or infected device. | Set “Queries/second per client” (for example 50): past the limit 9 queries in 10 go unanswered. Then look for the client in the log. |