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. 24 Jun, 2017 1 commit
  2. 22 Jun, 2017 1 commit
    • Miek Gieben's avatar
      middleware/secondary: multiple fixes (#745) · 9fb266ae
      Miek Gieben authored
      Fix transferring the zone from a master and the matching of notifies
      to source and dst IP addresses.
      
      Add `upstream` keyword as well, because it is needed for the same
      reasons as in the *file* middlware.
      Add some dire warning about upstream in the readme of both middlewares.
      
      Out of band testing, hidden by net build tag was added. Integration
      testing still needs to be setup.
      9fb266ae
  3. 21 Jun, 2017 1 commit
  4. 20 Jun, 2017 1 commit
  5. 19 Jun, 2017 1 commit
  6. 18 Jun, 2017 1 commit
  7. 17 Jun, 2017 1 commit
  8. 15 Jun, 2017 2 commits
    • John Belamaric's avatar
      Release 008 · 5942f5dd
      John Belamaric authored
      5942f5dd
    • Miek Gieben's avatar
      cleanup: go vet and golint run (#736) · e49ca86c
      Miek Gieben authored
      * cleanup: go vet and golint run
      
      Various cleanups trickered by go vet and golint.
      
      * Fix tests and lowercase all errors
      
      Lowercase all errors, some tests in kubernetes use errors from
      kubernetes which do start with a capital letter.
      e49ca86c
  9. 14 Jun, 2017 5 commits
    • Chris O'Haver's avatar
      handle clusterIP endpoint queries (#730) · 5c10eba3
      Chris O'Haver authored
      5c10eba3
    • Chris O'Haver's avatar
      middleware/kubernetes: Implement current federation beta (#723) · 930c54ef
      Chris O'Haver authored
      * federation initial commit
      
      * UTs/bugfixes
      
      * federation bits
      
      * polish, cover UT gaps
      
      * add TODO
      
      * go fmt & todo note
      
      * remove unrelated change
      
      * pr changes
      
      * start node watcher
      
      * get real node name
      
      * remove unused case
      930c54ef
    • Miek Gieben's avatar
      middleware/debug: add (#735) · 8e86fa6f
      Miek Gieben authored
      * middleware/debug: add
      
      Add a debug "middleware" that disables the recover() and just lets
      CoreDNS crash; very useful for testing.
      
      Fixes ##563
      
      * fix test
      
      * Feedback: check the value of Debug
      8e86fa6f
    • Miek Gieben's avatar
      middleware/file: consider no SOA a fatal error (#734) · 46bf7f31
      Miek Gieben authored
      Don't load a zone with a SOA record, barf with 'no SOA record' error.
      46bf7f31
    • Miek Gieben's avatar
      New cache implementation and prefetch handing in mw/cache (#731) · e9eda7e7
      Miek Gieben authored
      * cache: add sharded cache implementation
      
      Add Cache impl and a few tests. This cache is 256-way sharded, mainly
      so each shard has it's own lock. The main cache structure is a readonly
      jump plane into the right shard.
      
      This should remove the single lock contention on the main lock and
      provide more concurrent throughput - Obviously this hasn't been tested
      or measured.
      
      The key into the cache was made a uint32 (hash.fnv) and the hashing op
      is not using strings.ToLower anymore remove any GC in that code path.
      
      * here too
      
      * Minimum shard size
      
      * typos
      
      * blurp
      
      * small cleanups no defer
      
      * typo
      
      * Add freq based on Johns idea
      
      * cherry-pick conflict resolv
      
      * typo
      
      * update from early code review from john
      
      * add prefetch to the cache
      
      * mw/cache: add prefetch
      
      * remove println
      
      * remove comment
      
      * Fix tests
      
      * Test prefetch in setup
      
      * Add start of cache
      
      * try add diff cache options
      
      * Add hacky testcase
      
      * not needed
      
      * allow the use of a percentage for prefetch
      
      If the TTL falls below xx% do a prefetch, if the record was popular.
      Some other fixes and correctly prefetch only popular records.
      e9eda7e7
  10. 13 Jun, 2017 1 commit
  11. 10 Jun, 2017 1 commit
  12. 09 Jun, 2017 4 commits
    • Miek Gieben's avatar
      core: -log bolean flag to enable logging (#726) · 0d72efbb
      Miek Gieben authored
      * core: -log bolean flag to enable logging
      
      Change to -log flag to a boolean that defaults false and when true
      logs to stdout.
      
      * And bool here
      0d72efbb
    • Chris O'Haver's avatar
      remove unused funcs (#724) · 2ec96e0b
      Chris O'Haver authored
      2ec96e0b
    • Pat Moroney's avatar
      middleware/hosts for /etc/hosts parsing (#695) · 92dd947c
      Pat Moroney authored
      * add hosts middleware
      
      * forgot pointer receiver
      
      * add appropriately modified hostsfile tests from golang repo
      
      * remove test artifacts, separate hostsfile parsing from caching and opening, remove unused metrics references, move middleware up the chain
      
      * refactored the logic for creating records and filtering ip address versions. also got PTR lookups working
      
      * Add README.md. Modify config to be more concise. Add zones list to config. Filter PTR responses based on zones list.
      
      * add Fallthrough and return correct dns response code otherwise
      
      * Simplified Hostsfile to only store hosts in the zones we care about, and by ip version. Added handler tests and improved other tests.
      
      * oops, goimports loaded a package from a different repo
      92dd947c
    • Miek Gieben's avatar
      middleware/file: don't reload zone when SOA isn't changed (#707) · 990460ee
      Miek Gieben authored
      * middleware/file: don't reload zone when SOA isn't changed
      
      Give Parse an extra argument which is the SOA's serial, if > 0 we check
      against the just parsed SOA and then just return.
      
      Most notable use is in reload.go which is both used in the file and auto
      middleware.
      
      Fixes #415
      
      * PR comments
      990460ee
  13. 08 Jun, 2017 1 commit
    • Miek Gieben's avatar
      middleware/proxy: remove singleinflight from dns (#717) · 1c45e262
      Miek Gieben authored
      Singleinflight interferes with the health checking of upstream. If an
      upstream would fail, singleinflight would mirror that error to to other
      proxy *iff* multple identical queries would be inflight. This would lead
      to marking *all* upstreams as bad, essentially collapsing multiple
      upstreams into a SPOF. Clearly not what we want.
      
      Singleinflight does have some nice properties, but I've opted to rip it
      out entirely. Caching should almost (but not quite) as good.
      
      Added a test case in test that uses 3 CoreDNS instances to reflect the
      setup from #715.
      
      Found another bug as well, where (when the policy would be nil), we
      would always Spray even though we've found a healthy host.
      1c45e262
  14. 05 Jun, 2017 1 commit
  15. 04 Jun, 2017 1 commit
  16. 03 Jun, 2017 7 commits
  17. 02 Jun, 2017 6 commits
  18. 01 Jun, 2017 2 commits
    • Miek Gieben's avatar
      middleware/secondary: fix crash with no zone (#680) · 30ecb83d
      Miek Gieben authored
      When CoreDNS starts up and can't get a zone transfer going the Apex is
      empty. This `nil` is then transformed into wireformat, which fails with
      a nil pointer dereference in Go DNS.
      
      In this case we should just return SERVFAIL, because we don't have any
      info (yet). Note the lookup code returned NXDOMAIN, which is correct
      from a lookup standpoint, but also invalidates every name in the future
      loaded zone.
      
      Anyway, look for an apex before doing the lookup and return SERVFAIL if
      nothing is found.
      
      Fixes #679
      30ecb83d
    • Miek Gieben's avatar
      middleware/{log,errors}: output everything to stdout (#684) · e261ac1a
      Miek Gieben authored
      Limit the options in both errors and log middleware, just output to
      stdout and let someone else (journald,docker) care about where to route
      the logs. This removes syslog and logging to a file.
      
      Fixes #573 #602
      e261ac1a
  19. 30 May, 2017 2 commits