mirror of
https://git.private.coffee/PrivateCoffee/mallarddns.git
synced 2026-04-21 21:16:24 +05:30
36 lines
853 B
YAML
36 lines
853 B
YAML
DEBUG: false
|
|
ALLOWED_HOSTS:
|
|
- "mallarddns.example.com"
|
|
DATABASE:
|
|
ENGINE: django.db.backends.sqlite3
|
|
NAME: db.sqlite3
|
|
# For postgres:
|
|
# ENGINE: django.db.backends.postgresql
|
|
# NAME: mallarddns
|
|
# USER: mallarduser
|
|
# PASSWORD: mallardpass
|
|
# HOST: 127.0.0.1
|
|
# PORT: 5432
|
|
DNS_HOST: 0.0.0.0
|
|
DNS_PORT: 5353
|
|
EMAIL:
|
|
host: mail.example.com
|
|
port: 587
|
|
username: mallarddns@example.com
|
|
password: "your_password_here"
|
|
tls: true # STARTTLS
|
|
ssl: false # or true if you use SMTPS on 465
|
|
from: "mallarddns@example.com"
|
|
subject_prefix: "[MallardDNS] "
|
|
admin_email: admin@example.com
|
|
RECURSION_UPSTREAMS:
|
|
- "1.1.1.1"
|
|
- "8.8.8.8"
|
|
RECURSION_UPSTREAM_PORT: 53
|
|
RECURSION_UPSTREAM_TIMEOUT: 3
|
|
RECURSION_FALLBACK_TO_ITERATIVE: true
|
|
CACHE:
|
|
remote_max_entries: 10000
|
|
remote_min_ttl: 5
|
|
remote_max_ttl: 86400
|
|
negative_ttl_default: 30
|