DNS Monitor
Network → Bandix → DNS shows the DNS queries made by devices on your LAN and the responses they received, with filters, response-time statistics and top lists of domains, devices, servers and record types.
The backend captures plain DNS packets with its eBPF programs. As the page itself warns: it "Does not include DoH and DoT". Queries sent over DNS-over-HTTPS or DNS-over-TLS (common in modern browsers and on Android's Private DNS) are encrypted and invisible.
Enabling the DNS Monitor
Tick Enable DNS Monitoring in DNS Monitor Settings and click Save & Apply, or:
uci set bandix.dns.enabled='1'
uci commit bandix
/etc/init.d/bandix restart
Related options:
| Option | Default | Description |
|---|---|---|
dns_max_records |
10000 |
Records kept; the oldest are deleted beyond this |
dns_enable_storage |
0 |
Persist DNS records to disk |
dns_flush_interval |
900 (15 minutes) |
Flush interval when persistence is on |
Until the monitor is enabled, the page shows DNS Monitoring Disabled with a Go to Settings button, and the RPC methods return "DNS monitoring is not enabled".
Statistics Cards
The cards at the top come from getDnsStats and are refreshed every second (the code comment says every 5 seconds, but the poller is registered with a 1-second interval):
| Card | Content |
|---|---|
| Query & Response | Total count, with Queries and Responses separately |
| Response Time | Latest response time, plus Average, Min and Max Response Time in ms |
| Top Query Types | Most frequent record types with counts |
| Top Domains | Most queried domains |
| Top Devices | Most active devices |
| Top DNS Servers | Most used DNS servers |
The top-list cards appear only when the backend returns entries for them.
Query Records
The DNS Query Records table lists individual packets, newest first as returned by the backend.
| Column | Content |
|---|---|
| Time | Timestamp as formatted by the backend |
| Domain | Queried name |
| Query Type | A, AAAA, HTTPS, … |
| Type | Query or Response badge |
| Response Time | Milliseconds, for responses |
| Device | Device name and IP. For a query this is the packet's source address; for a response, its destination |
| DNS Server | For a query, the destination address; for a response, the source address |
| Response Result | Up to 5 answer records as badges, then ...; hover for the full list |
Filters
| Filter | Type | Sent as |
|---|---|---|
| Type Filter | All, Queries Only, Responses Only | is_query = empty, true, false |
| Domain Filter | Text | domain |
| Query Type | All, A, AAAA, CNAME, MX, TXT, NS, PTR, SOA, SRV, HTTPS, SVCB | query_type |
| Device Filter | Text | device |
| DNS Server Filter | Text | dns_server |
Text filters apply 300 ms after you stop typing; the drop-downs apply immediately. Every filter change returns to page 1. All filtering happens in the backend; how text is matched (substring, case) is the backend's choice.
Paging and Refresh
The page size can be 10, 20 (default), 50 or 100 records, with Previous / Next buttons and "Page n of m" information.
The record list does not refresh by itself. Click Refresh to reload both the records and the statistics.
Example: Which Device Contacts a Domain?
- Type part of the domain in Domain Filter, for example
doubleclick. - Set Type Filter to Queries Only.
- The Device column shows which devices asked for it.
Example: Is the DNS Server Slow?
Watch the Response Time card. If the average is high, filter by DNS Server to compare upstream servers, and look at Top DNS Servers to confirm which servers devices actually use (devices with hard-coded DNS servers bypass the router's resolver and show up here).
Limits
- DoH and DoT traffic is not captured.
- Only traffic crossing the monitored interface is seen.
- With persistence off, records are kept only in memory and are lost when the backend restarts.
dns_max_recordscaps memory use; on busy networks, 10000 records may cover only a short period.