• Miek Gieben's avatar
    Make CoreDNS a server type plugin for Caddy (#220) · 9ac3cab1
    Miek Gieben authored
    * Make CoreDNS a server type plugin for Caddy
    
    Remove code we don't need and port all middleware over. Fix all tests
    and rework the documentation.
    
    Also make `go generate` build a caddy binary which we then copy into
    our directory. This means `go build`-builds remain working as-is.
    
    And new etc instances in each etcd test for better isolation.
    Fix more tests and rework test.Server with the newer support Caddy offers.
    
    Fix Makefile to support new mode of operation.
    9ac3cab1
server.go 13.5 KB