15 lines
672 B
Bash
15 lines
672 B
Bash
# Copied to .env for local runs (auto-loaded by godotenv). Real env vars win over .env.
|
|
ZONE=home
|
|
LOG_LEVEL=INFO # ERROR|WARN|INFO|DEBUG
|
|
DNS_ADDR=:5353
|
|
UPSTREAM_MODE=recursive # recursive | forward
|
|
# UPSTREAM_SERVERS=1.1.1.1,tls://9.9.9.9:853#dns.quad9.net
|
|
DNSSEC_MODE=strict # strict | permissive | off
|
|
CACHE_MAX_MB=64
|
|
# REDIS_ADDR=127.0.0.1:6379 # optional shared cache
|
|
API_TOKEN=change-me # enables admin API + replica sync
|
|
CONFIG_FILE=./config.example.yaml
|
|
# DOT_ADDR=:8853 # DNS-over-TLS (needs cert)
|
|
# DOH_ADDR=:8443 # DNS-over-HTTPS
|
|
# DNS_TLS_CERT=./tls/c.pem
|
|
# DNS_TLS_KEY=./tls/k.pem
|