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
1cb44f0b
Commit
1cb44f0b
authored
Jun 17, 2019
by
Chris O'Haver
Committed by
Miek Gieben
Jun 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update plugin.go (#2894)
parent
8848792e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
plugin/plugin.go
plugin/plugin.go
+5
-4
No files found.
plugin/plugin.go
View file @
1cb44f0b
...
@@ -21,7 +21,8 @@ type (
...
@@ -21,7 +21,8 @@ type (
// and/or error.
// and/or error.
//
//
// If ServeDNS writes to the response body, it should return a status
// If ServeDNS writes to the response body, it should return a status
// code. If the status code is not one of the following:
// code. CoreDNS assumes *no* reply has yet been written if the status
// code is one of the following:
//
//
// * SERVFAIL (dns.RcodeServerFailure)
// * SERVFAIL (dns.RcodeServerFailure)
//
//
...
@@ -31,9 +32,9 @@ type (
...
@@ -31,9 +32,9 @@ type (
//
//
// * NOTIMP (dns.RcodeNotImplemented)
// * NOTIMP (dns.RcodeNotImplemented)
//
//
//
CoreDNS assumes *no* reply has yet been written. All other respons
e
//
All other response codes signal other handlers above it that th
e
//
codes signal other handlers above it that the response message is
//
response message is already written, and that they should not write
//
already written, and that they should not write
to it also.
// to it also.
//
//
// If ServeDNS encounters an error, it should return the error value
// If ServeDNS encounters an error, it should return the error value
// so it can be logged by designated error-handling plugin.
// so it can be logged by designated error-handling plugin.
...
...
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