coredns/core/dnsserver
Miek Gieben e14e053d3d create pkg/reuseport (#3455)
* create pkg/reuseport

Move the core server listening functions to a new package so plugins can
use them.

Also make *all* servers use the functions here; as only the udp/tcp
listeners where using SO_REUSEPORT (if available). This is the only
actual change in this PR; in it's core it's just a move of 2 files.

This can also be used to cleanup the dance we're doing now for
re-acquiring the sockets in e.g. the metrics plugins and the ready
plugin.

Signed-off-by: Miek Gieben <miek@miek.nl>

* Also push a small doc update

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-11-16 18:02:46 -08:00
..
address.go Revert "Validate zone during normalization (#3165)" (#3167) 2019-08-21 11:01:45 -04:00
address_test.go Revert "Validate zone during normalization (#3165)" (#3167) 2019-08-21 11:01:45 -04:00
config.go Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
https.go Doh: put in pkg/doh (#1946) 2018-07-07 08:22:07 +01:00
log_test.go Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
onstartup.go Fix start mesg for all protocol (#1617) 2018-03-17 19:04:01 +00:00
register.go default config: add log (#3269) 2019-09-09 14:41:50 +01:00
register_test.go presubmit: Check errorf as well (#1845) 2018-06-02 11:48:39 -07:00
server.go create pkg/reuseport (#3455) 2019-11-16 18:02:46 -08:00
server_grpc.go create pkg/reuseport (#3455) 2019-11-16 18:02:46 -08:00
server_https.go create pkg/reuseport (#3455) 2019-11-16 18:02:46 -08:00
server_test.go Remove internal loop detection (#2647) 2019-03-07 20:23:00 +00:00
server_tls.go create pkg/reuseport (#3455) 2019-11-16 18:02:46 -08:00
zdirectives.go Add bufsize plugin for preparing the DNS Flag Day and avoiding IP fragmentation (#3401) 2019-11-10 08:10:12 +00:00