mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
* core: add listening for other protocols
Allow CoreDNS to listen for TLS request coming over port 853. This can
be enabled with `tls://` in the config file.
Implement listening for grps:// as well.
a Corefile like:
~~~
. tls://.:1853 {
whoami
tls
}
~~~
Means we listen on 1853 for tls requests, the `tls` config item allows
configuration for TLS parameters. We *might* be tempted to use Caddy's
Let's Encrypt implementation here.
* Refactor coredns/grpc into CoreDNS
This makes gRPC a first class citizen in CoreDNS. Add defines as being
just another server.
* some cleanups
* unexport the servers
* Move protobuf dir
* Hook up TLS properly
* Fix test
* listen for TLS as well. README updates
* disable test, fix package
* fix test
* Fix tests
* Fix remaining test
* Some tests
* Make the test work
* Add grpc test from #580
* fix crash
* Fix tests
* Close conn
* README cleanups
* README
* link RFC
45 lines
1.0 KiB
INI
45 lines
1.0 KiB
INI
# Directives are registered in the order they should be
|
|
# executed.
|
|
#
|
|
# Ordering is VERY important. Every middleware will
|
|
# feel the effects of all other middleware below
|
|
# (after) them during a request, but they must not
|
|
# care what middleware above them are doing.
|
|
|
|
# How to rebuild with updated middleware configurations:
|
|
# Modify the list below and run `go gen && go build`
|
|
|
|
# The parser takes the input format of
|
|
# <order>:<middleware-name>:<package-name>
|
|
# Or
|
|
# <order>:<middleware-name>:<fully-qualified-package-name>
|
|
#
|
|
# External middleware example:
|
|
# 80:log:github.com/coredns/coredns/middleware/log
|
|
# Local middleware example:
|
|
# 80:log:log
|
|
|
|
1:tls:tls
|
|
10:root:root
|
|
20:bind:bind
|
|
30:trace:trace
|
|
40:health:health
|
|
50:pprof:pprof
|
|
60:prometheus:metrics
|
|
70:errors:errors
|
|
80:log:log
|
|
90:chaos:chaos
|
|
100:cache:cache
|
|
110:rewrite:rewrite
|
|
120:loadbalance:loadbalance
|
|
130:dnssec:dnssec
|
|
140:reverse:reverse
|
|
150:file:file
|
|
160:auto:auto
|
|
170:secondary:secondary
|
|
180:etcd:etcd
|
|
190:kubernetes:kubernetes
|
|
200:proxy:proxy
|
|
210:whoami:whoami
|
|
220:erratic:erratic
|