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. 28 Oct, 2017 1 commit
  2. 26 Oct, 2017 4 commits
  3. 25 Oct, 2017 4 commits
  4. 24 Oct, 2017 5 commits
    • Miek Gieben's avatar
      plugin/kubernetes: lazy initialze EndPointsList (#1168) · cc490a89
      Miek Gieben authored
      If we don't need it, don't initialize it.
      
      Fixes #1156
      cc490a89
    • Miek Gieben's avatar
      CIDR query routing (#1159) · fcd0342e
      Miek Gieben authored
      * core: allow all CIDR ranges in zone specifications
      
      Allow (e.g.) a v4 reverse on a /17. If a zone is specified in such a
      way a FilterFunc is set in the config. This filter is checked against
      incoming queries.
      
      For all other queries this adds a 'x != nil' check which will not impact
      performace too much. Benchmark function is added as well to check for
      this as wel.
      
      Add multiple tests in tests/server_reverse_test.go.
      
      Benchmark shows in the non-reverse case this hardly impact the speed:
      
      ~~~
      classless:
      pkg: github.com/coredns/coredns/core/dnsserver
      BenchmarkCoreServeDNS-4   	 1000000	      1431 ns/op	      16 B/op	       1 allocs/op
      
      pkg: github.com/coredns/coredns/core/dnsserver
      BenchmarkCoreServeDNS-4   	 1000000	      1429 ns/op	      16 B/op	       1 allocs/op
      
      master:
      pkg: github.com/coredns/coredns/core/dnsserver
      BenchmarkCoreServeDNS-4   	 1000000	      1412 ns/op	      16 B/op	       1 allocs/op
      
      pkg: github.com/coredns/coredns/core/dnsserver
      BenchmarkCoreServeDNS-4   	 1000000	      1429 ns/op	      16 B/op	       1 allocs/op
      ~~~
      
      * README.md updates
      fcd0342e
    • Miek Gieben's avatar
      plugin/kubernetes: re-add sleep(3) (#1166) · 5f813bcc
      Miek Gieben authored
      This flakyness is driving me crazy. Add the sleep(3s) back.
      5f813bcc
    • Miek Gieben's avatar
      Stalebot (#1165) · 4fc381a4
      Miek Gieben authored
      * stalebot: use wontfix-stalebot
      
      I've added two new labels: wontfix-stalebot and pinned.
      
      Wontfix-stalebot will be used by stalebot and pinned can be used to keep
      issues open.
      
      * later as well
      4fc381a4
    • Miek Gieben's avatar
      plugin/pkg/cache: smarter locking (#1164) · 5aa0d55e
      Miek Gieben authored
      Make the locking slightly smarter in Evict and add benchmark function.
      
      Seems a bit faster (there was some variance while performing these
      benchmarks)
      
      Master:
      BenchmarkCache-2   	 1000000	      2317 ns/op	       0 B/op	       0 allocs/op
      BenchmarkCache-2   	 1000000	      2032 ns/op	       0 B/op	       0 allocs/op
      
      This branch:
      BenchmarkCache-2   	 1000000	      1806 ns/op	       0 B/op	       0 allocs/op
      BenchmarkCache-2   	 1000000	      1809 ns/op	       0 B/op	       0 allocs/op
      5aa0d55e
  5. 22 Oct, 2017 1 commit
  6. 21 Oct, 2017 2 commits
    • Miek Gieben's avatar
      core: add ServeDNS benchmark (#1158) · 0af3fbab
      Miek Gieben authored
      * core: add ServeDNS benchmark
      
      Add benchmark function so we can perf test future additions to the
      servers' ServeDNS function.
      
      * naming
      0af3fbab
    • Miek Gieben's avatar
      plugin/kubernetes: implement HasSynced() (#1155) · d64b6848
      Miek Gieben authored
      * plugin/kubernetes: wait until api is ready
      
      Wait for HasSynced before allowing startup to avoid startup race.
      
      Also do a small refactor in findServices() to pull a check out of the
      loop - only needs to be done once.
      
      * sigh
      d64b6848
  7. 20 Oct, 2017 2 commits
  8. 19 Oct, 2017 1 commit
  9. 18 Oct, 2017 3 commits
  10. 16 Oct, 2017 3 commits
    • Miek Gieben's avatar
      Don't number the plugins (#1146) · ea10a0d2
      Miek Gieben authored
      * Don't number the plugins
      
      The number is not needed, because the ordering is already specified.
      It's also annoying when you move plugins, because you need to renumber
      them. Remove this.
      
      'go gen' shows no changes in the generated files, meaning this just
      works.
      
      * better naming
      ea10a0d2
    • Miek Gieben's avatar
      plugin/autopath: Add metrics and remove log line (#1143) · 70ee3984
      Miek Gieben authored
      * plugin/autopath: Add namespace selector and metrics
      
      Add a namespace, so autopathing only is performed in this namespace.
      This will make caching work for the cluster again.
      
      Also export metrics that we've done a successful autopath
      
      * dont shadow
      
      * Fix
      
      * Back the namespacing changes
      70ee3984
    • Miek Gieben's avatar
      plugin/proxy: kick of HC on every 3rd failure (#1110) · e34e2c25
      Miek Gieben authored
      * healthchecks: check on every 3rd failure
      
      Check on every third failure and some cleanups to make this possible. A
      failed healthcheck will never increase Fails, a successfull healthceck
      will reset Fails to 0. This is a chance this counter now drops below 0,
      making the upstream super? healthy.
      
      This removes the okUntil smartness and condences everything back to 1
      metrics: Fails; so it's simpler in that regard.
      
      Timout errors are *not* attributed to the local upstream, and don't get
      counted into the Fails anymore. Meaning the 'dig any isc.org' won't kill
      your upstream.
      
      Added extra test the see if the Fails counter gets reset after 3 failed
      connection.
      
      There is still a disconnect beween HTTP healthceck working the proxy (or
      lookup) not being able to connect to the upstream.
      
      * Fix tests
      e34e2c25
  11. 13 Oct, 2017 1 commit
  12. 11 Oct, 2017 2 commits
  13. 10 Oct, 2017 1 commit
    • Miek Gieben's avatar
      doc update (#1140) · 427aed6f
      Miek Gieben authored
      * doc update
      
      Go through all README and fix mistakes, extend example and let more
      corefile snippets be test for validity.
      
      * Cant use spefic addr in test
      427aed6f
  14. 08 Oct, 2017 3 commits
  15. 07 Oct, 2017 1 commit
  16. 05 Oct, 2017 1 commit
  17. 03 Oct, 2017 1 commit
  18. 30 Sep, 2017 4 commits
    • John Belamaric's avatar
      37d06f38
    • Miek Gieben's avatar
      Add fuzzing infrastructure (#1118) · 4276d29b
      Miek Gieben authored
      Fix file/fuzz.go build and docs in Makefile.fuzz
      Each plugin can add a fuzz.go to join the fuzzing craze.
      pkg/fuzz/do.go could be made a lot smarter, but is probably good enough
      for starters.
      
      $ make -f Makefile.fuzz <plugin>
      
      will build with go-fuzz-build and then execute a go-fuzz run. Each
      plugin's fuzz run uses a per-plugin directory to store the fuzz data.
      4276d29b
    • Miek Gieben's avatar
      core: drop invalid packets (#1123) · 23526aec
      Miek Gieben authored
      We can still be on the receiving end of invalid packet. Drop them
      here.
      23526aec
    • Thong Huynh's avatar
      Enable dnstap plugin to insert other plugin's specific data into extra field... · 2f9c42d8
      Thong Huynh authored
      Enable dnstap plugin to insert other plugin's specific data into extra field of tap.Dnstap message (#1101)
      
      * Add custom data into dnstap context
      
      * Fix error and fix UT compile errors
      
      * Add UTs
      
      * Change as per review comments.  Use boolean to indicate which Dnstap message to send out
      
      * Merge with master and fix lint warning
      
      * Remove newline
      
      * Fix review comments
      2f9c42d8