Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
Coredns
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Railgun
Coredns
Commits
b455f868
Commit
b455f868
authored
Feb 01, 2019
by
JoeWrightss
Committed by
Yong Tang
Feb 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some typos in comment (#2520)
Signed-off-by:
zhoulin xie
<
zhoulin.xie@daocloud.io
>
parent
2b651129
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
core/dnsserver/address.go
core/dnsserver/address.go
+1
-1
plugin.md
plugin.md
+1
-1
plugin/autopath/autopath.go
plugin/autopath/autopath.go
+1
-1
No files found.
core/dnsserver/address.go
View file @
b455f868
...
...
@@ -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 ZoneAdd
d
r is registered by its original key
unboundOverlap
map
[
zoneAddr
]
zoneAddr
// the "no bind" equiv ZoneAddr is registered by its original key
}
func
newOverlapZone
()
*
zoneOverlap
{
...
...
plugin.md
View file @
b455f868
...
...
@@ -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 middl
e
ware,
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).
...
...
plugin/autopath/autopath.go
View file @
b455f868
...
...
@@ -20,7 +20,7 @@ through the search path.
It is assume the search path ordering is identical between server and client.
Mid
ld
eware implementing autopath, must have a function called `AutoPath` of type
Mid
dl
eware implementing autopath, must have a function called `AutoPath` of type
autopath.Func. Note the searchpath must be ending with the empty string.
I.e:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment