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. 06 Apr, 2018 1 commit
  2. 01 Apr, 2018 7 commits
    • Miek Gieben's avatar
      Only check 1.10 again (#1652) · 848a5d7c
      Miek Gieben authored
      This double checking for 1.9 and 1.10 is nice, but doubles the
      travis test duration.
      848a5d7c
    • Miek Gieben's avatar
      plugin/forward: TCP conns can be closed (#1651) · 81348b42
      Miek Gieben authored
      * plugin/forward: TCP conns can be closed
      
      Only when we read and get a io.EOF we know the conn is closed (for TCP).
      If this is the case Dial (again) and retry. Note that this new
      connection can also be closed by the upstream, we may want to add a
      DialForceNew or something to get a new TCP connection..
      
      Simular to #1624, *but* this is by (TCP) design. We also don't have to
      wait for a timeout which makes it easier to reason about.
      
      * Move to forward.go
      
      * doesnt need changing
      81348b42
    • Miek Gieben's avatar
      make: use dns 1.0.5 (#1649) · f5435b38
      Miek Gieben authored
      Tagged an new release; has some fixes.
      f5435b38
    • 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
  3. 31 Mar, 2018 1 commit
  4. 30 Mar, 2018 1 commit
  5. 27 Mar, 2018 2 commits
  6. 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
  7. 25 Mar, 2018 1 commit
  8. 24 Mar, 2018 2 commits
  9. 18 Mar, 2018 2 commits
  10. 15 Mar, 2018 2 commits
  11. 14 Mar, 2018 2 commits
  12. 13 Mar, 2018 5 commits
  13. 12 Mar, 2018 1 commit
  14. 10 Mar, 2018 3 commits
  15. 07 Mar, 2018 2 commits
  16. 06 Mar, 2018 2 commits
  17. 03 Mar, 2018 3 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