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 Sep, 2017 6 commits
    • Miek Gieben's avatar
      mw/chaos: update docs (#1055) · 176e0916
      Miek Gieben authored
      * mw/chaos: update docs
      
      Fix/update the documentation: make the corefile snippets tested and
      expand them a little. Show `dig` example.
      
      Fixes #1050
      
      * dot
      176e0916
    • Miek Gieben's avatar
      mw/whoami: update docs (#1054) · 2cff9291
      Miek Gieben authored
      * mw/whoami: update docs
      
      Parse the corefile in the readme_test.go and other tweaks to the docs.
      
      Fixes #1049
      
      * trailing
      
      * remove the 53 port
      2cff9291
    • Miek Gieben's avatar
      core: readme test: new port for every instance (#1056) · 2785f01d
      Miek Gieben authored
      Use a new port for every instance.
      2785f01d
    • John Belamaric's avatar
      Initial adopters list (#1036) · 25788982
      John Belamaric authored
      * Initial adopters list
      
      * Remove one until approved
      
      * Fix typo
      25788982
    • Miek Gieben's avatar
      documention: test README snippets (#1043) · 6e3eec1e
      Miek Gieben authored
      If a README has a corefile snippet that is annotated with `corefile`,
      this test will parse the instance and checks the snippet is legal.
      This means a) we will get better docs b) we know for sure everything
      still parses.
      
      The test parses everything in middleware/*/README.md, it does not check
      for README presence, just Corefile snippets. The port used is 10053 and
      overrides whatever port is set in the docs.
      
      The secondary middleware was used as an example and adds two examples
      that should parse.
      
      failures show up as:
      
      ~~~
      --- FAIL: TestReadme (0.04s)
      	readme_test.go:50: Testing ../middleware/secondary/README.md, with 100 byte snippet
      	readme_test.go:50: Testing ../middleware/secondary/README.md, with 93 byte snippet
      	readme_test.go:53: Failed to start server for input "middleware/secondary: Corefile:3 - Error during parsing: unknown property 'transfeT'":
      		. {
      		    secondary example.net {
      		        transfeT from 10.1.2.1
      		        transfer to *
      		    }
      		}
      FAIL
      ~~~
      6e3eec1e
    • Miek Gieben's avatar
      Release 011 · 1b60688d
      Miek Gieben authored
      1b60688d
  2. 09 Sep, 2017 2 commits
  3. 08 Sep, 2017 1 commit
    • Miek Gieben's avatar
      mw/etcd: fix 'fallthrough' (#1026) · bcdc99ab
      Miek Gieben authored
      * mw/etcd: revert 'add fallthrough'
      
      This removes 'fallthrough' for *etcd* which is not needed. This was
      added in 00f5c779 but is totally not needed and creates backwards
      incompat behavior even.
      
      Thanks to @johnbelamaric for pointing this out in #925.
      
      * remove here as well
      
      * Revert "remove here as well"
      
      This reverts commit 9d44397827425e567af01d43564c4294b42e98c9.
      
      * Revert "mw/etcd: revert 'add fallthrough'"
      
      This reverts commit 0cfe3cb1ab5495ed38a8a0486e3f5386f3bd95dc.
      
      * mw/{etcd,kubernetes}: use fallthrough correctly
      
      reverts of reverts, will rebase and squash later.
      bcdc99ab
  4. 07 Sep, 2017 4 commits
  5. 03 Sep, 2017 3 commits
  6. 02 Sep, 2017 2 commits
  7. 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
  8. 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
  9. 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
  10. 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
  11. 27 Aug, 2017 6 commits
  12. 26 Aug, 2017 2 commits
  13. 25 Aug, 2017 2 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