This project is mirrored from https://github.com/coredns/coredns.git. The repository failed to update .
Repository mirroring has been paused due to too many failed attempts, and can be resumed by a project maintainer.
Last successful update .
  1. 19 Mar, 2017 1 commit
  2. 18 Mar, 2017 1 commit
    • Miek Gieben's avatar
      middlewware/startup|shutdown (#604) · 830fdfd2
      Miek Gieben authored
      Add middleware by directly linking it from caddy, i.e. without any code
      changes. To be fair: this does not added a ServeHTTP, but does give
      some nice features in the Corefile.
      830fdfd2
  3. 17 Mar, 2017 2 commits
  4. 16 Mar, 2017 1 commit
  5. 15 Mar, 2017 1 commit
    • Miek Gieben's avatar
      Pr 586 tweaks (#594) · 5ac6020f
      Miek Gieben authored
      * add proxy tcp
      
      * add truncated for tcp to udp response
      
      * move truncation to scrubbing
      
      * add test that executes upstream over tcp
      
      * middleware/proxy: some tweaks
      
      rename force-tcp to force_tcp to be inline with the rest and use
      a dnsOptions struct to put the options in to allow it to be extended.
      Add some parse tests as well.
      
      * Fix test and rename dnsOptions Options
      5ac6020f
  6. 14 Mar, 2017 2 commits
    • Michael S. Fischer's avatar
      Fix proxy middleware health_check doc (#590) · 5b32a07a
      Michael S. Fischer authored
      According to the code, the default health check interval is 30 seconds,
      not 10 as stated in the documentation.  (The alternative would be to
      adjust the interval in the code.)
      5b32a07a
    • Miek Gieben's avatar
      core: add more transports (#574) · bfaf9e0a
      Miek Gieben authored
      * 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
      bfaf9e0a
  7. 13 Mar, 2017 1 commit
    • John Belamaric's avatar
      Fix the deps build (#583) · 4985d698
      John Belamaric authored
      The deps target needs to be dependent on the generated middleware code,
      or you end up having to do make twice.
      4985d698
  8. 09 Mar, 2017 2 commits
  9. 07 Mar, 2017 1 commit
    • John Belamaric's avatar
      Rewrite edns0 (#561) · ef315ef3
      John Belamaric authored
      * Add edns0 code rewrite
      
      * check arg count
      
      * change `new`; set EDNS0 if request doesn't have it set
      
      * change set to replace_or_append
      
      * change to append_or_replace
      
      * return error in new
      
      * update documents
      
      * fixt UT
      
      * return error
      
      * go fmt
      
      * Rework for more general EDNS0 use
      
      Also changed how rules are created and validated. Implements
      EDNS0 NSID in addition to local.
      
      * go fmt
      
      * README updates, NSID tests and fixes
      
      * gofmt -s -w
      
      * Fix tests for rewrite syntax change
      
      * Add tests, fix error message
      
      * Review nits
      
      * Missed on nit
      
      * More tests, integration test, fix edns0 parse issue
      
      * Fix README, use RewriteIgnored
      
      * go fmt
      ef315ef3
  10. 06 Mar, 2017 3 commits
  11. 03 Mar, 2017 3 commits
  12. 01 Mar, 2017 2 commits
    • Miek Gieben's avatar
      Put docker release in Makefile.release (#562) · a3f77886
      Miek Gieben authored
      Make the docker release part of the normal CoreDNS release
      a3f77886
    • John Belamaric's avatar
      Grpc tracing (#544) · 9ea8cde3
      John Belamaric authored
      * checkpoint
      
      * Pass context through ServeDNS, enable gRPC tracing
      
      * Fix types and make tracer available to proxy. go fmt
      
      * Fix imports
      
      * Use the DoNotStartTrace option
      
      * Change to SpanFilter from DoNotStartTrace
      
      * Use new name (IncludeSpan)
      
      * Final names
      
      * Add tests; fix possible client/conn leaks in grpc
      
      * go fmt
      9ea8cde3
  13. 27 Feb, 2017 1 commit
  14. 23 Feb, 2017 4 commits
  15. 22 Feb, 2017 8 commits
  16. 21 Feb, 2017 1 commit
    • Miek Gieben's avatar
      Document fallthrough and fix rewrite (#537) · 26242cef
      Miek Gieben authored
      * Document fallthrough and fix *reverse*
      
      While documenting the fallthrough behavior and testing it I noticed
      the did not properly work. This PR does a tiny bit too much as it
      
      - Documents fallthrough
      - Fixes fallthrough in reverse
      - Makes directives_generate complain on duplicate priorities
      - Moved reverse *before* file in middleware.cfg
      - Add a test that tests the reverse fallthrough behavior with a file
        backend
      
      Fixes #515
      
      * ....and fix the tests
      26242cef
  17. 20 Feb, 2017 3 commits
    • Miek Gieben's avatar
      middleware/file: additional section processing (#531) · 3e26398e
      Miek Gieben authored
      Add additional section processing for MX and SRV records. Update the
      tests.
      3e26398e
    • Miek Gieben's avatar
      All middleware equal (#535) · ea38b642
      Miek Gieben authored
      * all-middleware-equal
      
      * Revert "all-middleware-equal"
      
      This reverts commit ee77b2a9816b1953a19fefb863875399aacd0c2a.
      
      * middleware: treat external and local the same
      
      Make the middleware generation simpler and also specify the local
      middleware, meaning that it can now be removed as well. Simplify
      the code a bit and regen everything.
      
      * remove lineNR, not used
      ea38b642
    • Miek Gieben's avatar
      server: fix data race (#536) · bcd9c8b0
      Miek Gieben authored
      * server: fix data race
      
      This fixes the detected race.
      
      Fixes #534
      
      * Remove the listener and packetconn from Server
      
      There does not seem a need to store the listener and packetconn again
      in the Server structure. The dns.Servers already has access to them
      and can also shutdown the handlers.
      bcd9c8b0
  18. 17 Feb, 2017 2 commits
  19. 16 Feb, 2017 1 commit
    • John Belamaric's avatar
      Fix make gen (#526) · 84fb9b84
      John Belamaric authored
      When using an external middleware, the generated file was failing to compile.
      The issue is a typo in directives_generate.go that left imports with an
      unterminated string.
      84fb9b84