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. 18 Feb, 2018 1 commit
    • Miek Gieben's avatar
      Type.extra (#1538) · 8cce06cb
      Miek Gieben authored
      * Revert "pkg/typify: empty messages are OtherError (#1531)"
      
      This reverts commit fc1d73ff.
      
      * plugin/cache: add failsafeTTL
      
      If we can not see what TTL we should put on a message to be cached, use
      5 seconds as minimal TTL. We used to apply the maximum TTL to these
        messages.
      8cce06cb
  2. 17 Feb, 2018 1 commit
  3. 16 Feb, 2018 5 commits
  4. 15 Feb, 2018 6 commits
    • Miek Gieben's avatar
      plugin/forward using pkg/up (#1493) · 16504234
      Miek Gieben authored
      * plugin/forward: on demand healtchecking
      
      Only start doing health checks when we encouner an error (any error).
      This uses the new pluing/pkg/up package to abstract away the actual
      checking. This reduces the LOC quite a bit; does need more testing, unit
      testing and tcpdumping a bit.
      
      * fix tests
      
      * Fix readme
      
      * Use pkg/up for healthchecks
      
      * remove unused channel
      
      * more cleanups
      
      * update readme
      
      * * Again do go generate and go build; still referencing the wrong forward
        repo? Anyway fixed.
      * Use pkg/up for doing the healtchecks to cut back on unwanted queries
        * Change up.Func to return an error instead of a boolean.
        * Drop the string target argument as it doesn't make sense.
      * Add healthcheck test on failing to get an upstream answer.
      
      TODO(miek): double check Forward and Lookup and how they interact with
      HC, and if we correctly call close() on those
      
      * actual test
      
      * Tests here
      
      * more tests
      
      * try getting rid of host
      
      * Get rid of the host indirection
      
      * Finish removing hosts
      
      * moar testing
      
      * import fmt
      
      * field is not used
      
      * docs
      
      * move some stuff
      
      * bring back health_check
      
      * maxfails=0 test
      
      * git and merging, bah
      
      * review
      16504234
    • Miek Gieben's avatar
      Fix imports (#1528) · 8b035fa9
      Miek Gieben authored
      8b035fa9
    • Chris O'Haver's avatar
      plugin/kubernetes: Add upstream @self and loop count (#1484) · 71ee3236
      Chris O'Haver authored
      * add upstream @self and loop count
      
      * 1st round of feedback
      
      * allow argless upstream
      
      * update test
      
      * readmes
      
      * feedback
      71ee3236
    • Francois Tur's avatar
      Plugin/Proxy - prevent nil pointer when query using a gRPC client that could not dial in (#1495) · ee8084a0
      Francois Tur authored
      * prevent nil pointer when query frpc client that could not open
      
      * add UT checking we can now safely request DNS query on an invalid hostname, query for gRPC connection
      
      * fix ortograph
      
      * fix format
      
      * fix package declaration, fix UT - grpclogger, use fatalf, build pool with known addresses
      
      * type, useless error check - after review
      ee8084a0
    • Francois Tur's avatar
      Plugin/BIND - extend the syntax to allow multiple addresses (#1512) · 76455c6a
      Francois Tur authored
      * Extend bind to allow multiple addresses. UTs added. Changes the log for server starting, adding address when available
      
      * update readme for bind
      
      * fixes after review
      
      * minor fix on readme
      
      * accept multiple BIND directives in blocserver, consolidate the addresses
      
      * fixes after review - format logging server address, variable names
      76455c6a
    • Sandeep Rajan's avatar
      check DO bit is maintaining status (#1526) · a0834b1d
      Sandeep Rajan authored
      a0834b1d
  5. 14 Feb, 2018 1 commit
  6. 13 Feb, 2018 2 commits
  7. 10 Feb, 2018 2 commits
  8. 09 Feb, 2018 5 commits
  9. 08 Feb, 2018 6 commits
  10. 07 Feb, 2018 1 commit
  11. 06 Feb, 2018 3 commits
    • Harshavardhana's avatar
      Fix default endpoint port (#1490) · 367ed65f
      Harshavardhana authored
      367ed65f
    • Miek Gieben's avatar
      plugin/forward: add it (#1447) · 5b844b50
      Miek Gieben authored
      * plugin/forward: add it
      
      This moves coredns/forward into CoreDNS. Fixes as a few bugs, adds a
      policy option and more tests to the plugin.
      
      Update the documentation, test IPv6 address and add persistent tests.
      
      * Always use random policy when spraying
      
      * include scrub fix here as well
      
      * use correct var name
      
      * Code review
      
      * go vet
      
      * Move logging to metrcs
      
      * Small readme updates
      
      * Fix readme
      5b844b50
    • Miek Gieben's avatar
      pkg/up: add generic run-this-functions (#1481) · fb1cafe5
      Miek Gieben authored
      This adds a generic way of start a check function to check a backend.
      This package can be used to kick off healthchecks. The package makes
      sure only 1 is run at any one time.
      
      It should allow for:
      See upstream error -> kick off healthcheck
      
      and not to worry about overwhelming the upstream with a barrage of
      queries.
      fb1cafe5
  12. 04 Feb, 2018 1 commit
  13. 03 Feb, 2018 1 commit
  14. 02 Feb, 2018 1 commit
  15. 31 Jan, 2018 4 commits
    • Francois Tur's avatar
      Plugin/Proxy - add new policy always_first to mimic windows dns resolvers (#1459) · b93a36b2
      Francois Tur authored
      * add new policy always_first to mimic windows dns resolvers
      fill documentation, add UT and cleanup fmt
      
      * change name of policy from always_first to first. Update docs
      b93a36b2
    • Tobias Schmidt's avatar
      plugin/proxy: Fix unnecessary message truncation (#1477) · 0af9b9b1
      Tobias Schmidt authored
      As plugin/proxy always returns compressed messages, it's important to
      set this before calling Scrub(), as some messages will be unnecessarily
      truncated otherwise.
      0af9b9b1
    • Tobias Schmidt's avatar
      plugin/proxy: Don't enable HTTP healthchecking if not configured (#1441) · 64d7268e
      Tobias Schmidt authored
      HTTP healthchecking will be implicitely activated for proxy upstream
      hosts, even if not configured. The README states that not using the
      health_check directive will disable HTTP healthchecks though.
      
      It seems to me that the availability of the HealthCheck.Path attribute
      is used as indicator whether HTTP healthchecks should be used or not.
      The normalizeCheckURL() function didn't check that attribute though,
      always returning a CheckURL. This would increase the healthcheck failure
      on every third failure in plugin/proxy, without any possibility for the
      upstream host to be marked as healthy again. This would eventually
      remove all upstream hosts from the serving pool.
      64d7268e
    • Miek Gieben's avatar
      Add OWNERS (#1469) · 841e1a44
      Miek Gieben authored
      This adds the inital top-level OWNERS file. Each plugin should also get
      one, but that will be more work.
      
      Ref: #1454
      841e1a44