For full documentation and setup guides, visit insightsplus.dev/docs.
What's New
Reverse DNS — quieter restarts (#98)
- Persistent rDNS cache. Reverse-DNS results now survive container restarts in a database-backed cache, so your resolver no longer sees a flood of PTR queries every time the container restarts.
- Per-status caching. Successful lookups cache for 24 hours, durable failures for 7 days, and transient resolver flaps for just 1 hour, broken reverse zones aren't re-asked every day, and a network blip doesn't poison the cache for a week.
- New
RDNS_ENABLEDtoggle. Operators who want zero PTR traffic from the container can disable rDNS lookups entirely via the newRDNS_ENABLEDenvironment variable or the/api/settings/rdnsendpoint. Default remains on; existing users see no behaviour change. - Daily retention sweep keeps the cache bounded so it doesn't grow unbounded on busy networks.
CSV Export — optional raw syslog column (#100)
- New "Include raw syslog" toggle in Settings → User Interface adds an extra
raw_logcolumn to CSV exports, capturing the original UniFi syslog line for each row. Useful for offline analysis, support cases, or reproducing parser issues. Off by default.
API
- New
GET /api/settings/rdnsreturns the effective rDNS-enabled flag, the stored value, and whether it's controlled by env, system_config, or default. - New
PUT /api/settings/rdnsto enable or disable rDNS at runtime (signals the receiver to reload). GET /api/confignow reports the effectiverdns_enabledvalue.rdns_enabledis included in config export/import with strict bool validation.
Bug Fixes
- Reverse DNS lookups no longer leak the 2-second resolver timeout into unrelated sockets across the process.
- Retention UI: the retention time field now uses a stable test selector and single source of truth for its default value, fixing edge cases where the field could appear empty after a save.