mirror of
https://github.com/joohoi/acme-dns.git
synced 2024-12-22 21:03:54 +07:00
fix inconsistency between README and actual config (#114)
* fix inconsistency between README and actual config * clarify example config in sync w/ config.cfg
This commit is contained in:
parent
f650e47fe5
commit
f76790426d
@ -224,7 +224,7 @@ nsname = "auth.example.org"
|
|||||||
nsadmin = "admin.example.org"
|
nsadmin = "admin.example.org"
|
||||||
# predefined records served in addition to the TXT
|
# predefined records served in addition to the TXT
|
||||||
records = [
|
records = [
|
||||||
# default A
|
# domain pointing to the public IP of your acme-dns server
|
||||||
"auth.example.org. A 198.51.100.1",
|
"auth.example.org. A 198.51.100.1",
|
||||||
# specify that auth.example.org will resolve any *.auth.example.org records
|
# specify that auth.example.org will resolve any *.auth.example.org records
|
||||||
"auth.example.org. NS auth.example.org.",
|
"auth.example.org. NS auth.example.org.",
|
||||||
|
14
config.cfg
14
config.cfg
@ -6,19 +6,15 @@ protocol = "udp"
|
|||||||
# domain name to serve the requests off of
|
# domain name to serve the requests off of
|
||||||
domain = "auth.example.org"
|
domain = "auth.example.org"
|
||||||
# zone name server
|
# zone name server
|
||||||
nsname = "ns1.auth.example.org"
|
nsname = "auth.example.org"
|
||||||
# admin email address, where @ is substituted with .
|
# admin email address, where @ is substituted with .
|
||||||
nsadmin = "admin.example.org"
|
nsadmin = "admin.example.org"
|
||||||
# predefined records served in addition to the TXT
|
# predefined records served in addition to the TXT
|
||||||
records = [
|
records = [
|
||||||
# default A
|
# domain pointing to the public IP of your acme-dns server
|
||||||
"auth.example.org. A 192.168.1.100",
|
"auth.example.org. A 198.51.100.1",
|
||||||
# A
|
# specify that auth.example.org will resolve any *.auth.example.org records
|
||||||
"ns1.auth.example.org. A 192.168.1.100",
|
"auth.example.org. NS auth.example.org.",
|
||||||
"ns2.auth.example.org. A 192.168.1.100",
|
|
||||||
# NS
|
|
||||||
"auth.example.org. NS ns1.auth.example.org.",
|
|
||||||
"auth.example.org. NS ns2.auth.example.org.",
|
|
||||||
]
|
]
|
||||||
# debug messages from CORS etc
|
# debug messages from CORS etc
|
||||||
debug = false
|
debug = false
|
||||||
|
Loading…
Reference in New Issue
Block a user