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. 13 Mar, 2018 3 commits
  2. 12 Mar, 2018 1 commit
  3. 10 Mar, 2018 3 commits
  4. 07 Mar, 2018 2 commits
  5. 06 Mar, 2018 2 commits
  6. 03 Mar, 2018 4 commits
    • Miek Gieben's avatar
      plugin/health: make reload work (#1585) · 804f7459
      Miek Gieben authored
      * plugin/health: make reload work
      
      Remove the once.Do from the startup, so we can re-bind the HTTP
      listener. Also clarify the usage of health in multiple server blocks
      (this is not the best approach - but there isn't a generic solution at
      this point).
      
      Manual tested as we lack testing infra, i.e kill -SIGUSR1 and some
      CURLing of the health endpoint.
      
      * Readme test fix
      
      * update
      
      * dont need this
      804f7459
    • Miek Gieben's avatar
      Metrics2 (#1588) · acf823cd
      Miek Gieben authored
      * plugin/metrics: still need nil check for shutdown
      
      the second prometheus statement will trigger: (on control-C)
      
      [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x94f45a]
      
      goroutine 25 [running]:
      github.com/coredns/coredns/plugin/metrics.(*Metrics).OnShutdown(0xc420252000, 0x0, 0x0)
      	/home/miek/g/src/github.com/coredns/coredns/plugin/metrics/metrics.go:107 +0x2a
      github.com/coredns/coredns/plugin/metrics.(*Metrics).OnShutdown-fm(0x0, 0x0)
      	/home/miek/g/src/github.com/coredns/coredns/plugin/metrics/setup.go:39 +0x2a
      github.com/mholt/caddy.(*Instance).ShutdownCallbacks(0xc4202c81e0, 0x0, 0x0, 0x0)
      	/home/miek/g/src/github.com/mholt/caddy/caddy.go:164 +0xb3
      github.com/mholt/caddy.allShutdownCallbacks(0x1743935, 0x8, 0x14a1b40)
      	/home/miek/g/src/github.com/mholt/caddy/sigtrap.go:95 +0x10d
      github.com/mholt/caddy.executeShutdownCallbacks.func1()
      	/home/miek/g/src/github.com/mholt/caddy/sigtrap.go:75 +0x8f
      sync.(*Once).Do(0x2256b80, 0xc42036df88)
      	/home/miek/upstream/go/src/sync/once.go:44 +0xbe
      github.com/mholt/caddy.executeShutdownCallbacks(0x174033f, 0x6, 0x0)
      	/home/miek/g/src/github.com/mholt/caddy/sigtrap.go:71 +0x73
      github.com/mholt/caddy.trapSignalsCrossPlatform.func1.1()
      	/home/miek/g/src/github.com/mholt/caddy/sigtrap.go:61 +0x36
      created by github.com/mholt/caddy.trapSignalsCrossPlatform.func1
      	/home/miek
      
      * comments on why
      acf823cd
    • Miek Gieben's avatar
      plugin/reload: enable (#1587) · 6cec66ce
      Miek Gieben authored
      Couldn't revert the original commit, just manually perform the needed
      tweaks.
      6cec66ce
    • Miek Gieben's avatar
      Metrics reload (#1586) · 6f3a7af5
      Miek Gieben authored
      * wip
      
      * plugin/metrics: fix reload behavior
      
      Fixes #1472
      6f3a7af5
  7. 02 Mar, 2018 5 commits
  8. 01 Mar, 2018 9 commits
    • Miek Gieben's avatar
      deprecate startup/shutdown (#1577) · 50b96fe2
      Miek Gieben authored
      error on startup when we see these in a corefile:
      
      ~~~
      % ./coredns
      2018/03/01 06:51:23 plugin/startup: this plugin has been deprecated
      % ./coredns
      2018/03/01 06:51:32 plugin/shutdown: this plugin has been deprecated
      ~~~
      50b96fe2
    • Miek Gieben's avatar
      plugin/deprecated: add an easy way to error on deprecated plugin (#1575) · d67396dc
      Miek Gieben authored
      * plugin/deprecated: add an easy way to error on depcated plugin
      
      * lint
      
      * better docs
      
      * slightly more docs
      d67396dc
    • Miek Gieben's avatar
      just use setup (#1574) · 654b88d8
      Miek Gieben authored
      All these functions are namespaced by their package anyway; just use
      setup().
      654b88d8
    • Miek Gieben's avatar
      plugin/file: shutdown reload goroutine (#1571) · 4f3dc207
      Miek Gieben authored
      * plugin/file: shutdown reload goroutine
      
      Shutdown the z.Reload() routine (if started in the first place) on
      shutdow and reload.
      
      Fixes #1508
      
      * Must be put in c.OnShutdown()
      
      * up test coverage
      4f3dc207
    • varyoo's avatar
      Easier way to dnstap? (#1496) · 6bb08ffe
      varyoo authored
      * Easier way to dnstap?
      
      * Remove unnecessary function parameter from Tapper
      
      * golint
      
      * golint 2
      
      * Proxy dnstap tests
      
      * README.md & doc
      
      * net.IP
      
      * Proxy test was incorrect
      
      * Small changes
      
      * Update README.md
      
      * Was not reporting dnstap errors + test
      
      * Wasn't working at all, now it's ok
      
      * Thanks Travis
      6bb08ffe
    • Miek Gieben's avatar
      return an error for multiple use of some plugins (#1559) · f697b332
      Miek Gieben authored
      * plugins: Return error for multiple use of some
      
      Return plugin.ErrOnce when a plugin that doesn't support it, is called
      mutliple times.
      
      This now adds it for: cache, dnssec, errors, forward, hosts, nsid.
      And changes it slightly in kubernetes, pprof, reload, root.
      
      * more tests
      f697b332
    • Miek Gieben's avatar
      plugin/log: log remote port addr as well (#1573) · 5faa9e7b
      Miek Gieben authored
      Log the remote's port, for IPv6 addr this means we should enclose the v6
      address in brackets; make this the default for 'remote'.
      5faa9e7b
    • Miek Gieben's avatar
      Makefile release: depend on godeps (#1570) · 74825a46
      Miek Gieben authored
      godeps sets the external repos to the correct versions meaning we can
      build CoreDNS.
      74825a46
    • Miek Gieben's avatar
      Rename reverse zone constants (#1568) · 928de738
      Miek Gieben authored
      Rename the constants to IP4arpa and IP6arpa (shorter and exported) and
      make IsReverse return the type of the reverse zone which could be handy
      for some callers.
      
      Also add tests for IsReverse()
      928de738
  9. 28 Feb, 2018 2 commits
  10. 27 Feb, 2018 1 commit
  11. 26 Feb, 2018 2 commits
  12. 24 Feb, 2018 2 commits
    • Yong Tang's avatar
      Update go dep (#1560) · 604c0045
      Yong Tang authored
      This fix updates go dep with `dep ensure --update` as well as the following:
      - Removed github.com/ugorji/go restriction in Gopkg.toml (fixes  #1557)
      - Added github.com/flynn/go-shlex in Makefile (neede by Caddy, maybe removed later)
      
      This fix fixes #1557
      Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
      604c0045
    • Francois Tur's avatar
      Allow overlapping Zones if binding addresses are different (#1530) · 9047bdf3
      Francois Tur authored
      * add OverlapChecker, move the test of overlap AFTER the directive setup process, change key of configs to allow multiple same key
      
      * glitch when rebase. init of Config should include the default host
      
      * add tests for the registering of configuration
      rename multicast in 'unbound'.
      add comments on the validator
      
      * - merged zoneAddr and addrKey that are very similar
      - move maps of Validator to zoneAddr, avoinding need to have string representation of zoneaddr
      - moving key build for saving Config at Config side instead of dnsContext
      
      * - UT on saving config is now useless.
      
      * - cannot cleanup access to Configs after setup. Deferred function to Start, use it
      
      * - cleanup register unit tests. remove useless function
      
      * - address comments of review. name of validator, comments, simplify registerAndCheck
      
      * - fixes after review. renaming a function and a comment
      9047bdf3
  13. 23 Feb, 2018 2 commits
  14. 22 Feb, 2018 2 commits