aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorGravatar Nguyen Hai Truong <nguyenhaitruonghp@gmail.com> 2019-02-21 09:20:48 +0700
committerGravatar Yong Tang <yong.tang.github@outlook.com> 2019-02-20 18:20:48 -0800
commit39b0b91d6c71bdde85c75b568a994e083c6ae39f (patch)
treee8215c0b2913c5e2716a0b2c19b7995bdc9ac7cb /plugin
parente78d9a7893d8f51122f25e396935085bd9afe266 (diff)
downloadcoredns-39b0b91d6c71bdde85c75b568a994e083c6ae39f.tar.gz
coredns-39b0b91d6c71bdde85c75b568a994e083c6ae39f.tar.zst
coredns-39b0b91d6c71bdde85c75b568a994e083c6ae39f.zip
Remove redundant words in comments (#2589)
Although it is spelling mistakes, it might make an affects while reading. Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
Diffstat (limited to 'plugin')
-rw-r--r--plugin/hosts/README.md2
-rw-r--r--plugin/pkg/upstream/upstream.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugin/hosts/README.md b/plugin/hosts/README.md
index 58ac1fb87..d05f84c03 100644
--- a/plugin/hosts/README.md
+++ b/plugin/hosts/README.md
@@ -58,7 +58,7 @@ hosts [FILE [ZONES...]] {
file path will still be read but entries will be overridden.
* `ttl` change the DNS TTL of the records generated (forward and reverse). The default is 3600 seconds (1 hour).
* `reload` change the period between each hostsfile reload. A time of zero seconds disable the feature. Examples of valid durations: "300ms", "1.5h" or "2h45m" are valid duration with units "ns" (nanosecond), "us" (or "µs" for microsecond), "ms" (millisecond), "s" (second), "m" (minute), "h" (hour).
-* `no_reverse` disable the automatic generation of the the `in-addr.arpa` or `ip6.arpa` entries for the hosts
+* `no_reverse` disable the automatic generation of the `in-addr.arpa` or `ip6.arpa` entries for the hosts
* `fallthrough` If zone matches and no record can be generated, pass request to the next plugin.
If **[ZONES...]** is omitted, then fallthrough happens for all zones for which the plugin
is authoritative. If specific zones are listed (for example `in-addr.arpa` and `ip6.arpa`), then only
diff --git a/plugin/pkg/upstream/upstream.go b/plugin/pkg/upstream/upstream.go
index c5eba8ead..8e1881a38 100644
--- a/plugin/pkg/upstream/upstream.go
+++ b/plugin/pkg/upstream/upstream.go
@@ -14,7 +14,7 @@ import (
// Upstream is used to resolve CNAME or other external targets via CoreDNS itself.
type Upstream struct{}
-// New creates a new Upstream to resolve names using the the coredns process.
+// New creates a new Upstream to resolve names using the coredns process.
func New() *Upstream { return &Upstream{} }
// Lookup routes lookups to our selves or forward to a remote.