• Miek Gieben's avatar
    Cleanups and tests (#272) · 85557160
    Miek Gieben authored
    For some reasons there was a dnsserver/middleware.go that defined
    the middleware handlers. This code was a repeat from
    middleware/middleware.go. Removed dnsserver/middleware.go and replaced
    all uses of dnsserver.Middleware with middleware.Middleware.
    
    Added dnsserver/address_test.go to test the zone normalization (and to
    improve the test coverage). The deleted file will also improve the test
    coverage :)
    85557160
server.go 6.45 KB