From 95de4aea095ed9378912b22e232bec563ea8f65e Mon Sep 17 00:00:00 2001 From: Matthew Edwards Date: Wed, 23 Dec 2020 12:52:48 +1300 Subject: [PATCH] Fix configuration documentation (origin should be domain) Fixes #4 --- README.md | 8 ++++---- zerotier-dns.example.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 74f6046..fc397db 100644 --- a/README.md +++ b/README.md @@ -190,7 +190,7 @@ port: 53 # Base domain. Could be a top-level domain for internal use only (e.g., zt) or # a domain name with one or more subdomains (e.g., internal.yourdomain.com). # By default, map members to ".zt". -origin: "zt" +domain: "zt" # How often to poll the ZeroTier controller in minutes. refresh: 30 @@ -208,15 +208,15 @@ api-key: "" api-url: "https://my.zerotier.com/api" # ID of the ZeroTier network. Only one of "network" and "networks" can be -# specified. E.g., if there is a network with ID "123abc" then this would map -# its members to ".zt": +# specified. E.g., if domain="zt" and there is a network with ID "123abc" then +# this would map its members to ".zt": # network: "123abc" network: # Mappings between subdomains and ZeroTier network IDs. Only one of "network" # and "networks" can be specified. networks: - # E.g., if origin="zt" and there is a network with ID "123abc" then this would + # E.g., if domain="zt" and there is a network with ID "123abc" then this would # map its members to ".home.zt": # home: "123abc" diff --git a/zerotier-dns.example.yml b/zerotier-dns.example.yml index cb42283..dcd77a3 100644 --- a/zerotier-dns.example.yml +++ b/zerotier-dns.example.yml @@ -12,7 +12,7 @@ port: 53 # Base domain. Could be a top-level domain for internal use only (e.g., zt) or # a domain name with one or more subdomains (e.g., internal.yourdomain.com). # By default, map members to ".zt". -origin: "zt" +domain: "zt" # How often to poll the ZeroTier controller in minutes. refresh: 30 @@ -30,15 +30,15 @@ api-key: "" api-url: "https://my.zerotier.com/api" # ID of the ZeroTier network. Only one of "network" and "networks" can be -# specified. E.g., if there is a network with ID "123abc" then this would map -# its members to ".zt": +# specified. E.g., if domain="zt" and there is a network with ID "123abc" then +# this would map its members to ".zt": # network: "123abc" network: # Mappings between subdomains and ZeroTier network IDs. Only one of "network" # and "networks" can be specified. networks: - # E.g., if origin="zt" and there is a network with ID "123abc" then this would + # E.g., if domain="zt" and there is a network with ID "123abc" then this would # map its members to ".home.zt": # home: "123abc"