From f76790426d6c45d7e89606e4857b4db604321bc0 Mon Sep 17 00:00:00 2001 From: Yannik Sembritzki Date: Thu, 27 Sep 2018 23:46:07 +0200 Subject: [PATCH] fix inconsistency between README and actual config (#114) * fix inconsistency between README and actual config * clarify example config in sync w/ config.cfg --- README.md | 2 +- config.cfg | 14 +++++--------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 4d88d243..dc05e3d7 100644 --- a/README.md +++ b/README.md @@ -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.", diff --git a/config.cfg b/config.cfg index 93dd663d..531c9647 100644 --- a/config.cfg +++ b/config.cfg @@ -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