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. 26 Apr, 2017 1 commit
  2. 25 Apr, 2017 1 commit
    • Miek Gieben's avatar
      Fix health race (#645) · 003b1bf6
      Miek Gieben authored
      * Revert "middleware/proxy: Make Unhealthy a pointer (#615)"
      
      This reverts commit acbf522c.
      
      * middleware/proxy: add proper locking
      
      This add the proper locking around `Unhealthy`.
      003b1bf6
  3. 24 Apr, 2017 2 commits
  4. 22 Apr, 2017 2 commits
    • Miek Gieben's avatar
      msg.Service: add HostType() method (#627) · 4c9351b0
      Miek Gieben authored
      This method parses the Host field in the service. It returns 1 or 3
      things 1) it is a host 2) an IPv4 address or an 3) IPv6 address.
      This simplifies some code a bit and allows for 1 way of parsing the Host
      field.
      
      This *only* parse the Host field, Mail and/or Text values should be
      checked separately.
      
      We reuse the dns.TypeXXX values for this as to not invent anything new.
      4c9351b0
    • Chris O'Haver's avatar
      Fix go pprof lib link (#638) · 320cf978
      Chris O'Haver authored
      320cf978
  5. 21 Apr, 2017 1 commit
  6. 20 Apr, 2017 5 commits
  7. 18 Apr, 2017 2 commits
  8. 16 Apr, 2017 1 commit
    • Miek Gieben's avatar
      Tc bits (#617) · 73397e46
      Miek Gieben authored
      * middleware/erratic: allow TC bit to be set
      
      Add `truncate` as an option.
      
      Fixes #593
      73397e46
  9. 13 Apr, 2017 4 commits
  10. 12 Apr, 2017 1 commit
    • Miek Gieben's avatar
      middleware/metrics: allow multiple listeners · c2629460
      Miek Gieben authored
      There was no inherent reason *not* to allow multiple listeners for the
      monitoring data. Actually enforcing only one listener lead to more code
      then just allowing multiple. It's probably not what you want; but
      CoreDNS is happy to oblige.
      c2629460
  11. 06 Apr, 2017 1 commit
  12. 29 Mar, 2017 1 commit
  13. 19 Mar, 2017 2 commits
  14. 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
  15. 17 Mar, 2017 2 commits
  16. 16 Mar, 2017 1 commit
  17. 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
  18. 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
  19. 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
  20. 09 Mar, 2017 2 commits
  21. 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
  22. 06 Mar, 2017 3 commits
  23. 03 Mar, 2017 2 commits