33 lines
671 B
Text
33 lines
671 B
Text
|
[general]
|
||
|
listen = "0.0.0.0:53"
|
||
|
protocol = "both"
|
||
|
domain = "{{ svc.domain }}"
|
||
|
nsname = "{{ svc.domain }}"
|
||
|
nsadmin = "{{ svc.nsadmin }}"
|
||
|
records = [
|
||
|
"{{ svc.domain }}. A {{ svc.records.a }}",
|
||
|
"{{ svc.domain }}. AAAA {{ svc.records.aaaa }}",
|
||
|
"{{ svc.domain }}. NS {{ svc.domain }}.",
|
||
|
]
|
||
|
debug = false
|
||
|
|
||
|
[database]
|
||
|
engine = "postgres"
|
||
|
connection = "postgres://{{ svc.db.user }}:{{ svc.db.pass }}@{{ svc.db.host }}/{{ svc.db.db }}"
|
||
|
|
||
|
[api]
|
||
|
ip = "0.0.0.0"
|
||
|
disable_registration = false
|
||
|
port = "{{ svc.port }}"
|
||
|
tls = "none"
|
||
|
corsorigins = [
|
||
|
"*"
|
||
|
]
|
||
|
use_header = true
|
||
|
header_name = "X-Forwarded-For"
|
||
|
|
||
|
[logconfig]
|
||
|
loglevel = "info"
|
||
|
logtype = "stdout"
|
||
|
logformat = "text"
|