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. 07 Nov, 2020 1 commit
  2. 06 Nov, 2020 2 commits
    • Miek Gieben's avatar
      Remove travis and move to github workflow (#4267) · cd5ee7d1
      Miek Gieben authored
      Add github testing workflow, simplify the Makefile because that was
      complex because of Travis. Remove the fuzzing, needs to be re-added when
      that works properly with go modules (it has been disabled for quite some
      time). Multiple builds and files have been added so these tests can all
      run in parallel. Our testing now tests a couple of minutes, the codeql
      is by far the more expensive.
      
      Move metric's naming test to test/presubmit_test.go
      
      Add longer sleep in the TestAutoAXFR.
      
      Bye bye travis!
      
      Closes: #4266
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      cd5ee7d1
    • Miek Gieben's avatar
      pkg/tls: remove InsecureSkipVerify=true flag (#4265) · 04936958
      Miek Gieben authored
      CWE-295 code scanning alert flag this. Seems OK to just remove it.
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      04936958
  3. 05 Nov, 2020 7 commits
  4. 03 Nov, 2020 2 commits
    • Miek Gieben's avatar
      forward doc update (#4254) · 8759d00e
      Miek Gieben authored
      * forward: add example with multiple DoT upstreams
      
      Remove Bugs section as this is a nice work around.
      
      h/t https://twitter.com/mholt6/status/1284250606673080321Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      
      * Actually remove bugs section
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      8759d00e
    • Miek Gieben's avatar
      plugin/dnstap: remove custom encoder (#4242) · a136b712
      Miek Gieben authored
      * plugin/dnstap: remove encoder*.go
      
      Those files reimplemented parts of the dnstap spec, we can just use the
      dnstap functions for that. This leaves all the queuing that is enabled
      and drops messages if the dnstap reader can't keep up. In the new code
      flush() would never return an error (at least I couldn't make it do so),
      so the reconnect functionally is moved to kick off when we get write
      errors.
      
      Some smaller cosmetic changes as well, `d.socket` is now `proto`, which
      makes the dial() function smaller.
      
      Total testing time is now <1s (which was the impetus to look into this
      plugin *again*).
      
      See #4238
      The buffered channel needs to be sized correctly, as we may need to do
      some queing if the dnstap reader can't keep up.
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      
      * add missing file
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      
      * update doc on queing
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      a136b712
  5. 02 Nov, 2020 2 commits
  6. 30 Oct, 2020 2 commits
  7. 29 Oct, 2020 2 commits
    • Yong Tang's avatar
      Update Project Lead's term (#4164) · bc0115d7
      Yong Tang authored
      Base on the [GOVERNANCE.md] of CoreDNS, we will need to update project lead's term:
      1) Any PR should only be opened no earlier than 6 weeks before the end of current lead's term
      2) PR can only be merged after it has been opened for 4 weeks.
      3) See [GOVERNANCE.md] for more details on how votes are counted.
      
      Since it is less than 6 weeks before 11/11/2020, this PR:
      1) propose to extend project lead's term from 11/11/2020 to 11/11/2021.
      2) will keep open until at least to 10/28/2020 (4 weeks), so that community has a chance to voice opinions
      
      Please specify +1/-1 for agree/disagree.
      
      Note: Alternative PRs could be opened concurrently, as long as it following the rules specified in [GOVERNANCE.md].
      Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
      bc0115d7
    • Miek Gieben's avatar
      docs: move Also See to See Also (#4245) · c2e4f2f1
      Miek Gieben authored
      sed -i 's/Also See/See Also/' plugin/**/README.md
      
      Some plugins did already use 'See Also', so it's all consistent now.
      
      Fixes: #4196
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      c2e4f2f1
  8. 28 Oct, 2020 1 commit
    • ZouYu's avatar
      Fix golint warnings (#4241) · c58e4b09
      ZouYu authored
      Include:
      1. plugin/forward/type.go:8:2: const typeUdp should be typeUDP
      2. plugin/forward/type.go:9:2: const typeTcp should be typeTCP
      3. plugin/forward/type.go:10:2: const typeTls should be typeTLS
      4. plugin/kubernetes/metrics.go:24:2: var DnsProgrammingLatency should be DNSProgrammingLatency
      5. plugin/kubernetes/metrics_test.go:124:102: func parameter clusterIp should be clusterIP
      Signed-off-by: default avatarzouyu <zouy.fnst@cn.fujitsu.com>
      c58e4b09
  9. 27 Oct, 2020 2 commits
  10. 26 Oct, 2020 4 commits
  11. 24 Oct, 2020 1 commit
  12. 22 Oct, 2020 1 commit
  13. 21 Oct, 2020 1 commit
  14. 19 Oct, 2020 7 commits
  15. 16 Oct, 2020 2 commits
  16. 15 Oct, 2020 3 commits
    • Miek Gieben's avatar
      cache: do the msg copy right (#4207) · 268781d3
      Miek Gieben authored
      Not sure why this is proving so difficult.. pointers are hard? [Was
      tempted to rollback all tweaks here, but the original issue we're fixing
      it too important to not have a proper fix].
      
      But we need to make a copy of the message at the earliest point in the
      handler because we are changing it (adding an opt rr). If we do this on
      the original message (which is a pointer) we change it (obvs). When
      undoing those changes we do work on a copy.
      
      Re: testing. There isn't a explicit test for this, so I've added on to
      the top-level test/ directory, which indeed makes the issue visible:
      
      master:
      
      ~~~
      go test -v -run=TestLookupCacheWithoutEdns
      === RUN   TestLookupCacheWithoutEdns
          cache_test.go:154: Expected no OPT RR, but got:
              ;; OPT PSEUDOSECTION:
              ; EDNS: version 0; flags: do; udp: 2048
      --- FAIL: TestLookupCacheWithoutEdns (0.01s)
      FAIL
      ~~~
      
      This branch:
      
      ~~~
      % go test -v -run=TestLookupCacheWithoutEdns
      === RUN   TestLookupCacheWithoutEdns
      --- PASS: TestLookupCacheWithoutEdns (0.01s)
      PASS
      ok  	github.com/coredns/coredns/test	0.109s
      ~~~
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      268781d3
    • Miek Gieben's avatar
      reduce sleeps (#4205) · 6938dac2
      Miek Gieben authored
      This reduces the amount of sleep time to speed up testing.
      
      master:
      PASS
      ok  	github.com/coredns/coredns/test	42.088s
      12,33s user 1,30s system 44,29s elapsed 30%CPU ()
      
      this branch:
      PASS
      ok  	github.com/coredns/coredns/test	33.527s
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      6938dac2
    • John Belamaric's avatar
      Add #4171 in notes (#4204) · 269c0c5d
      John Belamaric authored
      269c0c5d