DNS queries are small, but rules, caches, query logs, encrypted upstreams and other router services consume resources together. Decide whether filtering belongs on the router or a separate host before choosing capacity. Installing a package does not prove that large lists and long-term logs remain manageable, or that every client actually uses the service.
Give each resolver a clear role
A router-based resolver is convenient to advertise through DHCP, but ties DNS maintenance to the main gateway. A separate maintained host can isolate updates and storage while adding requirements for power, addressing and fallback. Reusing an existing server may be sensible; overloading a small router is not automatically the simpler design.
Check IPv6 and applications using their own encrypted DNS. Advertising one resolver does not establish control of every request. Redirection, exceptions and encrypted-DNS policy require explicit goals and testing. DNS blocking also does not inspect every page element or guarantee removal of every advertisement.
Size the real resource requirements
| Resource | Relevant demand | Verify |
|---|---|---|
| RAM | Lists, cache, processes and concurrency | Actual list workload and headroom |
| Flash | Packages, configuration and updates | Writable space, not nominal capacity |
| Persistent storage | Query history and statistics | Retention and write volume |
| CPU | Encrypted upstreams and shared services | VPN/SQM concurrency |
| Availability | Upstream and service dependencies | Restart and failure behavior |
Rule count alone is not a reliable memory formula: formats, duplicates and implementations differ. Start with trusted lists and a clear false-positive process rather than maximizing the blocked-query counter. Local names, DNSSEC, encrypted upstreams and time synchronization address different concerns and need compatible configuration.
Plan ports, logs and privacy
Existing OpenWrt DNS and DHCP components may already own the relevant listeners. Decide who supplies DHCP, resolves local names and answers clients before adding another resolver. Combining fragments from different tutorials can create loops or a configuration that fails after restart.
Query history can reveal household or guest activity. Define whether it is needed, who can read it and how long it persists. Do not expose the administration interface publicly or write unlimited high-frequency logs to limited internal flash. An external drive adds power, filesystem and mounting dependencies; it is not automatically reliable database storage.
Accept failure behavior as well as successful filtering
Test normal lookups, unreachable upstreams, service stops, restart and failed list updates on actual clients. Confirm IPv4, IPv6, local names and important applications. When a resolver works until reboot, inspect startup and storage dependencies before assuming more RAM will help.
If more blocks produce more broken work or payment applications, evaluate false positives rather than treating the larger count as success. A fallback can prioritize availability, filtering continuity or temporary maintenance access, but those goals differ and must be deliberate. The right hardware supports this service design with headroom and an understandable recovery path.
Validate the complete setup
For local names, filtering and encrypted upstream DNS, map the query chain before increasing list size. Check competing listeners and loops. Test phones, television and work applications, documenting narrow exceptions rather than disabling all rules to fix one service. Compare cold and warm cache separately. Observe list rebuilds and restart peaks, limit query-history retention and verify a working fallback that introduces no forwarding cycle.
Confirm the device before purchasing
- Match the full model, revision, region and selected release.
- Confirm image, checksum, required backups and the documented recovery limits.
- Test the actual services together; retain a wired management path.
- Save versions and source dates; recheck stable and SNAPSHOT separately.
Comments