Skip to content

Commit

Permalink
fix inconsistency between README and actual config (#114)
Browse files Browse the repository at this point in the history
* fix inconsistency between README and actual config

* clarify example config in sync w/ config.cfg
  • Loading branch information
Yannik authored and joohoi committed Sep 27, 2018
1 parent f650e47 commit f767904
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ nsname = "auth.example.org"
nsadmin = "admin.example.org"
# predefined records served in addition to the TXT
records = [
# default A
# domain pointing to the public IP of your acme-dns server
"auth.example.org. A 198.51.100.1",
# specify that auth.example.org will resolve any *.auth.example.org records
"auth.example.org. NS auth.example.org.",
Expand Down
14 changes: 5 additions & 9 deletions config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,15 @@ protocol = "udp"
# domain name to serve the requests off of
domain = "auth.example.org"
# zone name server
nsname = "ns1.auth.example.org"
nsname = "auth.example.org"
# admin email address, where @ is substituted with .
nsadmin = "admin.example.org"
# predefined records served in addition to the TXT
records = [
# default A
"auth.example.org. A 192.168.1.100",
# A
"ns1.auth.example.org. A 192.168.1.100",
"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.",
# domain pointing to the public IP of your acme-dns server
"auth.example.org. A 198.51.100.1",
# specify that auth.example.org will resolve any *.auth.example.org records
"auth.example.org. NS auth.example.org.",
]
# debug messages from CORS etc
debug = false
Expand Down

0 comments on commit f767904

Please sign in to comment.