diff options
-rw-r--r-- | core/dnsserver/address.go | 2 | ||||
-rw-r--r-- | plugin.md | 2 | ||||
-rw-r--r-- | plugin/autopath/autopath.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/core/dnsserver/address.go b/core/dnsserver/address.go index 9bcca3d7a..1a69c33b8 100644 --- a/core/dnsserver/address.go +++ b/core/dnsserver/address.go @@ -72,7 +72,7 @@ func SplitProtocolHostPort(address string) (protocol string, ip string, port str type zoneOverlap struct { registeredAddr map[zoneAddr]zoneAddr // each zoneAddr is registered once by its key - unboundOverlap map[zoneAddr]zoneAddr // the "no bind" equiv ZoneAdddr is registered by its original key + unboundOverlap map[zoneAddr]zoneAddr // the "no bind" equiv ZoneAddr is registered by its original key } func newOverlapZone() *zoneOverlap { @@ -106,7 +106,7 @@ entire domain and all sub domains. In this example the *file* plugin is handling all names below (and including) `example.org`. If a query comes in that is not a subdomain (or equal to) `example.org` the next plugin is called. -Now, the world isn't perfect, and there are good reasons to "fallthrough" to the next middlware, +Now, the world isn't perfect, and there are good reasons to "fallthrough" to the next middleware, meaning a plugin is only responsible for a *subset* of names within the zone. The first of these to appear was the *reverse* plugin that synthesis PTR and A/AAAA responses (useful with IPv6). diff --git a/plugin/autopath/autopath.go b/plugin/autopath/autopath.go index edc0b0845..9ffc2497b 100644 --- a/plugin/autopath/autopath.go +++ b/plugin/autopath/autopath.go @@ -20,7 +20,7 @@ through the search path. It is assume the search path ordering is identical between server and client. -Midldeware implementing autopath, must have a function called `AutoPath` of type +Middleware implementing autopath, must have a function called `AutoPath` of type autopath.Func. Note the searchpath must be ending with the empty string. I.e: |