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. 11 Aug, 2017 5 commits
    • Miek Gieben's avatar
      Kubernetes cleanup6 (#887) · a38a34c7
      Miek Gieben authored
      * mw/kubernetes: handle dns.TypeNS better.
      
      * mw/kubernetes: cleanup typeNS replies a bit.
      a38a34c7
    • Miek Gieben's avatar
      core: replace GetMiddleware (#885) · ea77f2a2
      Miek Gieben authored
      * core: replace GetMiddleware
      
      See the discussion in #881. GetMiddleware would add a `nil` middleware
      to the callstack thereby breaking functionality.
      
      This PR drops it in favor of RegisterHandler which is a completely
      standalone registry for middleware that want to let it self know to
      other middleware.
      
      Currenly *autopath* uses this to call *kubernetes*'s AutoPath method
      for dynamic autopathing.
      
      * Drop GetMiddleware
      
      * Register metrics
      
      * drop the panic
      ea77f2a2
    • Miek Gieben's avatar
      mw/kubernetes: remove subzones (#878) · 10681c6b
      Miek Gieben authored
      Only use was in k8s middleware; no tests other than subzone_test.go
      existed; not exercised: remove.
      10681c6b
    • Miek Gieben's avatar
      middleware/autopath: some fixes (#883) · 4d0dae8d
      Miek Gieben authored
      * middleware/autopath: some fixes
      
      This fix a small issue in autopath, but unearthed a bigger one.
      See #881.
      
      * Fix test
      4d0dae8d
    • Miek Gieben's avatar
      middleware/authpath: Fix return from k8s mw (#871) · 6cc3f47d
      Miek Gieben authored
      * middleware/authpath: Fix return from k8s mw
      
      Return the correct search path from the kubernetes' AutoPath function.
      Based on preliminary discussion in #870
      
      * PodWithIP can be private
      
      Fix and add docs to functions.
      
      * CR: remove the error from AutoPathFunc
      6cc3f47d
  2. 10 Aug, 2017 7 commits
  3. 09 Aug, 2017 4 commits
  4. 08 Aug, 2017 7 commits
  5. 07 Aug, 2017 3 commits
    • Miek Gieben's avatar
      core: export ClientWrite (#849) · 468d5b57
      Miek Gieben authored
      Make ClientWrite available for middleware to use.
      468d5b57
    • Miek Gieben's avatar
      middleware/kubernetes: autopath in sub package (#848) · 760e6670
      Miek Gieben authored
      Put the autopath stuff in a separate sub package. Tests are still
      included in the main kubernetes directory.
      
      Next steps (after this is merged), is pulling the autopath handling
      into the subpackage and fixing the tests.
      760e6670
    • Miek Gieben's avatar
      mw/logs: add rflags to logging (#845) · 050eccd6
      Miek Gieben authored
      Add the DNS message response flags as {rflags} to the default logging
      Also complete the replacer testing that is was commented out.
      And (unrelated) Switch erratic and whoami to ease testing.
      
      Note: {flags} could and should be added as well - but we can leave that
      as a beginners bug.
      050eccd6
  6. 06 Aug, 2017 3 commits
  7. 05 Aug, 2017 5 commits
  8. 04 Aug, 2017 5 commits
    • Miek Gieben's avatar
      middleware/kubernetes: define consts (#824) · 21386ebd
      Miek Gieben authored
      Define two consts Pod and Svc, makes it stand out a little more
      when used in switches in case.
      
      We have opted for a new type, but then you need to convert them
      all the time with string(Foo).
      21386ebd
    • Markus Sommer's avatar
      Kubernetes srv (#823) · d0d7f4c8
      Markus Sommer authored
      * Treat absence of port/service in SRV as wildcard
      
      Normally, a SRV-request should have the form
      _<service>._<port>.<name>.<zone>. The k8s peer-finder which is used for
      bootstrapping by some applications will however query for SRV at
      <name>.<zone>.
      
      To compensate for this behaviour, treat the absence of _<service> and
      _<port> as wildcards.
      
      * Modified tests with new SRV behaviour
      
      Added a testcase for a SRV request without port & service
      Removed now valid query from invalidSRVQueries
      
      * Forgot to run gofmt on test/kubernetes_test.go
      d0d7f4c8
    • Miek Gieben's avatar
      middleware/kubernetes: cleanup (#818) · 2c0fc318
      Miek Gieben authored
      Drop the interfaceAddr interfaces and just use a function. Cleanup
      all fallout from that. Remove the use of global variables and cleanup
      the tests a bit.
      2c0fc318
    • Sandeep Rajan's avatar
      Middleware/k8s: Add unit tests for Pods (#815) · 8ad8c75a
      Sandeep Rajan authored
      * Added Pod testing
      
      * Cleanup
      
      * fixed formatting
      8ad8c75a
    • Miek Gieben's avatar
      mw/kubernete: small cleanup (#810) · cd1f2f1b
      Miek Gieben authored
      * mw/kubernete: small cleanup
      
      Small cleanup, avoid pointer to []msg.Services and just returns the
      msg.Service.
      
      * Actually compile
      
      * testss
      cd1f2f1b
  9. 03 Aug, 2017 1 commit