mirror of
https://github.com/coredns/coredns.git
synced 2025-12-21 17:45:15 -05:00
doc update (#703)
This commit is contained in:
@@ -33,7 +33,7 @@ something has been written to the client (by the middleware).
|
||||
|
||||
See a couple of blog posts on how to write and add middleware to CoreDNS:
|
||||
|
||||
* <https://blog.coredns.io/#> TO BE PUBLISHED.
|
||||
* <https://blog.coredns.io/2017/03/01/how-to-add-middleware-to-coredns/>
|
||||
* <https://blog.coredns.io/2016/12/19/writing-middleware-for-coredns/>, slightly older, but useful.
|
||||
|
||||
## Metrics
|
||||
@@ -132,3 +132,15 @@ answer for the MX query:
|
||||
% dig +nocmd @localhost +noall +ans MX compute.internal
|
||||
compute.internal. 3600 IN MX 10 mx.compute.internal.
|
||||
~~~
|
||||
|
||||
## Qualifying for main repo
|
||||
|
||||
Middleware for CoreDNS can live out-of-tree, `middleware.cfg` defaults to CoreDNS' repo but other
|
||||
repos work just as well. So when do we consider the inclusion of a new middleware in the main repo?
|
||||
|
||||
* First, the middleware should be useful for other people. "Useful" is a subjective term. We will
|
||||
probably need to further refine this.
|
||||
* Current internet standards need be supported: IPv4 and IPv6, so A and AAAA records should be
|
||||
handled (if your middleware is in the business of dealing with address records that is).
|
||||
* It must have tests.
|
||||
* It must have a README.md for documentation.
|
||||
|
||||
Reference in New Issue
Block a user