Apply rules without restarting
DNS Firewall rules are reloaded into the running service, with no DNS outage and a warm cache.
Back to the DNS Firewall service
Change a rule in the middle of the day and nobody notices.
Apply rules loads the new DNS Firewall rules into the running service.
Answers never stop, and the DNS cache keeps every record it learned.
Benefits
- Applying a rule causes no DNS outage, not even a few seconds.
- The cache stays warm, so the first queries after a change are as fast as the ones before.
- Rules can be adjusted during business hours instead of waiting for a maintenance window.
- Artica decides by itself whether a restart is really needed, and says why in its log.
- When the reload fails, Artica restarts the service as before, so a change is never half applied.
Use cases
- A security team blocks a phishing domain the moment a campaign starts.
- A school adds a site to a category rule during lessons.
- A help desk unblocks a business domain for one group while users keep working.
- Artica Meta pushes a policy to many DNS Firewalls without cutting the DNS of each site in turn.
How it works
- Open DNS in the left menu, then Firewall Rules.
- Change a rule, an object or an item, then click Apply rules.

Artica builds the new configuration and compares it with the one the service runs.
When only the rules differ, Artica sends the new rule set to the service console.
The service swaps the whole set in one step.
A query is checked either by the old rules or by the new ones, never by a mix of both.
What still restarts the service
Some settings are read by the service only when it starts.
A change to one of them restarts the service once, for a few seconds:
- the listen interfaces and ports, including DNS-over-HTTPS and DNS-over-TLS
- the upstream DNS servers
- the cache settings
- the general settings of the service, such as logging or the statistics web server
The service also restarts when it is not running, or when the rule reload does not confirm success.
Check what happened
Artica writes one line per apply in /var/log/articarest.log:
| Line | Meaning |
|---|---|
DNS Firewall rules applied without restarting dnsdist (ARTICA-HOT-OK 8) |
The rules were reloaded. The number is the count of rules loaded. |
DNS Firewall: dnsdist restart required: listeners, backends, caches or startup settings changed |
A setting read at startup changed. The service restarted once. |
DNS Firewall hot reload failed, restarting dnsdist |
The reload did not confirm success. Artica restarted the service instead. |
grep "DNS Firewall" /var/log/articarest.log | tail -5
The process number of the service stays the same after a reload without restart:
pidof dnsdist
Good to know
- The first apply after an Artica update can restart the service once.
The next applies reload the rules without restart. - A block set by the DNS threats detection is lost when the service restarts.