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. 03 Sep, 2017 3 commits
  2. 02 Sep, 2017 2 commits
  3. 01 Sep, 2017 6 commits
    • Miek Gieben's avatar
      mw/dnssec: improve docs (#1015) · 778fb731
      Miek Gieben authored
      * mw/dnssec: improve docs
      
      Improve the docs: add example and details the perrils of having multiple
      *dnssec* middlewares in one zone.
      
      * better
      778fb731
    • varyoo's avatar
      IP endpoint for dnstap (#1002) · 345dee82
      varyoo authored
      * adds the option to log to a remote endpoint
      
      * examples
      
      * tests
      
      * tcp:// or default to unix://
      
      * cosmetic update
      
      * bad naked returns
      345dee82
    • varyoo's avatar
      middleware/proxy: dnstap (#786) · c5efd457
      varyoo authored
      * experimental dnstap support into proxy
      
      * proxy reports dnstap errors
      
      * refactoring
      
      * add a message builder for less dnstap code
      
      * msg lint
      
      * context
      
      * proxy by DNS: dnstap comments
      
      * TapBuilder
      
      * resolves conflict
      
      * dnstap into ServeDNS
      
      * testing
      
      * more tests
      
      * `go lint`
      
      * doc update
      c5efd457
    • Mohammed Naser's avatar
      Add test for SRV on root (#1010) · 8f77566c
      Mohammed Naser authored
      8f77566c
    • Miek Gieben's avatar
      mw/kubernetes: move fallthrough tests out (#1008) · 7d47af4f
      Miek Gieben authored
      * mw/kubernetes: move fallthrough tests out
      
      Remove the testcase duplication and put fallthrough tests in separate
      file.
      
      Also make some names shorter and more descriptive.
      
      * fix test build
      
      * fix corefile
      7d47af4f
    • Miek Gieben's avatar
      mw/dnssec: warn when keys don't sign zones (#1011) · a08a4bee
      Miek Gieben authored
      fail startup when dnssec middleware has keys configured that can't be
      used to sign any of the responses it should sign.
      
      More tests added, including ones that actually trigger setup failures.
      a08a4bee
  4. 31 Aug, 2017 2 commits
    • Miek Gieben's avatar
      core: harden request.Request (#1009) · 5eccfa2d
      Miek Gieben authored
      Check for a nil message and if we have a question section. Request is
      usually called with an external Msg that already saw validation checks,
      but we may also call it from message we create of our own, that may or
      may not adhire to this. Just be more robust in this case.
      
      This PR reverts a previous commit that was applied to master.
      5eccfa2d
    • Miek Gieben's avatar
      core: add nil check (#1005) · c7208418
      Miek Gieben authored
      Check if msg is nil in DefaultErrorFunc. If this is the case log this
      and short cut the function.
      
      Hoping to get more insight in #925
      c7208418
  5. 30 Aug, 2017 2 commits
    • Miek Gieben's avatar
      mw/kubernetes: split integration tests (#1004) · 3974071f
      Miek Gieben authored
      * mw/kubernetes: split integration tests
      
      * separate file and test for api fallthrough, does not need all other
        servers to be started.
      * more split ups: make it clear when or when not we need an upstream server,
        as just needlessly start it in doIntegrationTests.
      * use identifiers from dns package -> "TypeSRV" -> dns.TypeSRV, as there
        is no need to reinvent these.
      
      * updates
      
      * deploy work-around
      
      * re-add weird sleep
      3974071f
    • Miek Gieben's avatar
      mw/health: call Shutdown on FinalShutdown (#1003) · 7b8cf9df
      Miek Gieben authored
      Reloading caddy won't kill the health handler. Only on final shutdown
      we stop the handler.
      
      Currently when reloading CoreDNS with -SIGUSR1 the health handler stops
      answering - there is a test for this but it doesn't capture whole
      process reloading, sadly. This PR keeps the handler alive during reloads
      and only stops on process shutdown.
      7b8cf9df
  6. 28 Aug, 2017 2 commits
    • Miek Gieben's avatar
      dep ensure -update (#1001) · 7e63bdbe
      Miek Gieben authored
      * dep ensure -update
      
      Run "dep ensure -update` to update all dependencies.
      
      No code changes; just the dependencies.
      
      * dep prune
      
      * add new venderod
      7e63bdbe
    • Miek Gieben's avatar
      mw/health: poll other middleware (#976) · 558f4bea
      Miek Gieben authored
      This add the infrastructure to let other middleware report their health
      status back to the health middleware. A health.Healther interface is
      introduced and a middleware needs to implement that. A middleware
      that supports healthchecks is statically configured.
      
      Every second each supported middleware is queried and the global health
      state is updated.
      
      Actual tests have been disabled as no other middleware implements this
      at the moment.
      558f4bea
  7. 27 Aug, 2017 6 commits
  8. 26 Aug, 2017 2 commits
  9. 25 Aug, 2017 4 commits
    • Miek Gieben's avatar
      core: block CH queries earlier (#973) · 55dafe6f
      Miek Gieben authored
      block chaos queries, unless the chaos or proxy middleware is loaded. We
      respond with REFUSED.
      
      This removes the need for each middleware to do this class != ClassINET
      if-then.
      
      Also make config.Registry non-public.
      55dafe6f
    • Miek Gieben's avatar
      Remove createTestServer (#981) · 932639ac
      Miek Gieben authored
      * Remove createTestServer
      
      * more cleanups
      
      * comment tweak
      
      * sort
      
      * sigh
      932639ac
    • Miek Gieben's avatar
      mw/kubernetes: split up tests cases (#971) · e06863d2
      Miek Gieben authored
      Split up the handler_test in four files that all tests their specific
      bits. Removed the CNAME sort as there was only 1 answer with a CNAME
      and that was a single one.
      
      See #942, this fixes (a bit) the tests in middleware.
      e06863d2
    • Thong Huynh's avatar
      Add set EDNS0 with variable substitution (#937) · 3f05f7e6
      Thong Huynh authored
      * Add set EDNS0 with variable substitution
      
      * Change variable from $ to {}. Un-export constants
      
      * Update README
      
      * Change getRuleData() to ruleData(); Change to use string match from regexp
      3f05f7e6
  10. 24 Aug, 2017 4 commits
  11. 23 Aug, 2017 6 commits
    • Miek Gieben's avatar
      mw/kubernetes: revert if-else for health (#970) · 10b72210
      Miek Gieben authored
      Do the return early and dedent the rest of the function.
      10b72210
    • Miek Gieben's avatar
      Parse fix (#974) · 4b105c76
      Miek Gieben authored
      * mw/kubernetes: add apex test
      
      This adds small test case for apex queries: SOA and HINFO.
      
      Fix (obvious) parse bug in parse.go.
      
      * Test Ns request also here
      4b105c76
    • Miek Gieben's avatar
      mw/kubernetes: remove kPod and kServices (#969) · 61fc672e
      Miek Gieben authored
      Based up on: #939, but redone in a new PR with some cherry-picked
      commits:
      aacb91ef0b927683b21d6ee39dbddbd001334854
      5dc34247b7d0136d9fe035f6b10d6b3e14ee7f2c
      
      This removes kPod and Kservice and creates []msg.Service from k.findPods
      and k.findServices.
      
      Updated few tests which I *think* are correct; they look correct to me.
      61fc672e
    • Miek Gieben's avatar
      mw/kubernetes: don't export Pod-mode constants. (#959) · 7f5086e9
      Miek Gieben authored
      * mw/kubernetes: don't export Pod-mode constants.
      
      * merged
      7f5086e9
    • Miek Gieben's avatar
      mw/kubernetes: resync to opts (#957) · 12db6618
      Miek Gieben authored
      * mw/kubernetes: resync to opts
      
      Only used to initialize the cache that already has a dnsControlopts, so
      remove it from the main kubernetes struct.
      
      * Fix test
      
      * mw/kubernetes: LabelSelector to options as well
      
      Labels select is also only used for init. Don't carry it in the main
      kubernetes struct.
      
      * remove this test: can't happen
      
      Caddyfile parser will only call setup when it sees kubernetes.
      
      * erge gone wrong
      12db6618
    • Miek Gieben's avatar
      mw/kubernetes: Rewrite parseRequest and Readability improvements (#939) · 6a4e69eb
      Miek Gieben authored
      * mw/kubernetes: rewrite parseRequest
      
      Stop looking at the qtype in parseRequest and make k.Namespace a map.
      Fallout from this is that pkg/strings as it is not used anymore. Also
      add a few helper functions to make unexposed namespaces easier to see in
      the code.
      
      Add wildcard tests to the middleware tests.
      
      * Fix tests
      
      Add a whole bunch of comments to document what we are trying to do.
      
      * This is now answered
      
      * up coverage
      
      * duh
      
      * Update testcase
      
      * Make it nodata
      6a4e69eb
  12. 22 Aug, 2017 1 commit