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. 01 Apr, 2018 4 commits
    • Miek Gieben's avatar
      plugin/proxy: return client error (#1646) · 5f98e981
      Miek Gieben authored
      Return the client error if there was one instead of the generic
      "no healthy upstream or error"
      5f98e981
    • Miek Gieben's avatar
      plugin/metrics: add MustRegister function (#1648) · 2338120f
      Miek Gieben authored
      This registers the Collectors iff the metrics plugin has been loaded.
      Safes a bunch of code in each and every plugin's setup code.
      2338120f
    • Miek Gieben's avatar
      Metrics (#1579) · 4df416ca
      Miek Gieben authored
      * plugin/metrics: set server address in context
      
      Allow cross server block metrics to co-exist; for this we should label
      each metric with the server label. Put this information in the context
      and provide a helper function to get it out.
      
      Abstracting with entirely away with difficult as the release client_go
      (0.8.0) doesn't have the CurryWith functions yet. So current use is like
      so:
      
      define metric, with server label:
      
      	RcodeCount = prometheus.NewCounterVec(prometheus.CounterOpts{
      		Namespace: plugin.Namespace,
      		Subsystem: "forward",
      		Name:      "response_rcode_count_total",
      		Help:      "Counter of requests made per upstream.",
      	}, []string{"server", "rcode", "to"})
      
      And report ith with the helper function metrics.WithServer:
      
      	RcodeCount.WithLabelValues(metrics.WithServer(ctx), rc, p.addr).Add(1)
      4df416ca
    • Miek Gieben's avatar
      request.Do: use pointer to bool (#1632) · 5c5a98ee
      Miek Gieben authored
      Drop the doTrue and doFalse and use a pointer to a bool to do a proper
      tri-bool.
      5c5a98ee
  2. 31 Mar, 2018 1 commit
  3. 30 Mar, 2018 1 commit
  4. 27 Mar, 2018 2 commits
  5. 26 Mar, 2018 3 commits
    • Miek Gieben's avatar
      Release 1.1.1 · 231c2c0e
      Miek Gieben authored
      231c2c0e
    • Miek Gieben's avatar
      Run make -f Makefile.doc (#1635) · 8e0c7f92
      Miek Gieben authored
      8e0c7f92
    • Miek Gieben's avatar
      Fix dns-01-003 (#1634) · 5616fcb1
      Miek Gieben authored
      * plugin/{cache,forward,proxy}: don't allow responses that are bogus
      
      Responses that are not matching what we've been querying for should be
      dropped. They are converted into FormErrs by forward and proxy; as a 2nd
      backstop cache will also not cache these.
      
      * plug
      
      * add explicit test
      5616fcb1
  6. 25 Mar, 2018 1 commit
  7. 24 Mar, 2018 2 commits
  8. 18 Mar, 2018 2 commits
  9. 15 Mar, 2018 2 commits
  10. 14 Mar, 2018 2 commits
  11. 13 Mar, 2018 5 commits
  12. 12 Mar, 2018 1 commit
  13. 10 Mar, 2018 3 commits
  14. 07 Mar, 2018 2 commits
  15. 06 Mar, 2018 2 commits
  16. 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
  17. 02 Mar, 2018 3 commits