{{define "content"}} {{$s := .Data.S}}

Settings

Server configuration, stored in the database.

{{template "settingsnav" .}}
Query logging
Records are buffered in memory and written in batches, so logging never delays a DNS response. Under sustained overload entries are dropped rather than queued.
Retention
Both limits are applied on every cleanup pass: rows older than the retention period go first, then the table is trimmed to the row cap. Set a value to 0 to disable that limit — but leaving both at 0 lets the database grow without bound.
days
Currently {{num .Data.QueryLogRows}} stored
min
Exclusions
Queries from these clients are not logged.
Subdomains are excluded too. Useful for chatty monitoring checks.
Application log
Debug logs every request and resolution failure; useful when diagnosing, noisy otherwise.
Oldest entries are trimmed past this count.
Query log writer
State
{{if .Data.Stats.Enabled}}on {{else}}off{{end}}
Rows written
{{num .Data.Stats.Written}}
Buffered
{{num .Data.Stats.Buffered}}
Dropped
{{num .Data.Stats.Dropped}}
Pruned
{{num .Data.Stats.Pruned}}
{{end}}