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 May, 2019 1 commit
  2. 05 May, 2019 2 commits
    • Miek Gieben's avatar
      plugin/health: add OnRestartFailed (#2812) · 076b8d4f
      Miek Gieben authored
      Add OnReStartFailed which makes the health plugin stay up if the
      Corefile is corrupt and we revert to the previous version.
      
      Also needs a fix for the channel handling
      
      See #2659
      
      Testing it will log the following when restarting with a corrupted
      Corefile
      
      ~~~
      2019-05-04T18:01:59.431Z [INFO] linux/amd64, go1.12.4,
      CoreDNS-1.5.0
      linux/amd64, go1.12.4,
      [INFO] SIGUSR1: Reloading
      [INFO] Reloading
      [ERROR] Restart failed: Corefile:5 - Error during parsing: Unknown directive 'bdhfhdhj'
      [ERROR] SIGUSR1: starting with listener file descriptors: Corefile:5 - Error during parsing: Unknown directive 'bdhfhdhj'
      ~~~
      
      After which the curl still works.
      
      This also needed a change to reset the channel used for the metrics
      go-routine which gets closed on shutdown, otherwise you'll see:
      
      ~~~
      ^C[INFO] SIGINT: Shutting down
      panic: close of closed channel
      
      goroutine 90 [running]:
      github.com/coredns/coredns/plugin/health.(*health).OnFinalShutdown(0xc000089bc0, 0xc000063d88, 0x4afe6d)
      ~~~
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      076b8d4f
    • Miek Gieben's avatar
      plugin/health: cleanups (#2811) · 890cdb5c
      Miek Gieben authored
      Small, trivial cleanup: got triggered because I saw a comment on how
      health plugins polls other plugins which isn't true.
      
      * Remove useless newHealth function
      * healthParse -> parse
      * Remove useless constants
      
      Net deletion of code.
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      890cdb5c
  3. 01 May, 2019 2 commits
    • Billie Cleek's avatar
      kubernetes: never respond with NXDOMAIN for authority label (#2769) · e178291e
      Billie Cleek authored
      * kubernetes: never respond with NXDOMAIN for authority label
      
      Return a nodata response when trying to resolve the authority's label
      for a record type that doesn't match the record type of the authority.
      
      This guards against poisoning the authority record by requesting the
      wrong record type for the authority label. For instance, given an
      authoritative resolver that uses subdomain delegation for Kubernetes
      services of a cluster that's configured to use IPv4, the parent may be
      poisoned by querying it for the authority label of the cluster subdomain
      with a AAAA record type, which would otherwise (i.e. without this
      change) return an NXDOMAIN. That is, given
      	cluster.example.com        NS 10800 ns.dns.cluster.example.com
      	ns.dns.cluster.example.com A  10800 10.0.1.2
      The parent may be poisoned for the SOA TTL by querying it for a AAAA
      record of ns.dns.cluster.example.com, causing the parent to fail
      delegate properly until the SOA TTL lapses.
      
      * kubernetes: add tests for authority queries
      e178291e
    • Cricket Liu's avatar
      Update README.md (#2808) · b4485b48
      Cricket Liu authored
      Minor grammatical fixes.
      b4485b48
  4. 30 Apr, 2019 2 commits
  5. 28 Apr, 2019 1 commit
  6. 27 Apr, 2019 1 commit
  7. 24 Apr, 2019 1 commit
  8. 23 Apr, 2019 1 commit
    • Miek Gieben's avatar
      plugin/chaos: randomize author list (#2794) · 3adfeaa8
      Miek Gieben authored
      Randomize the author list on request; keep the zowners.go file stable so
      a 'go generate' remain stable.
      
      chaos.Owners could potentially be a map and be randomized by ranging
      over it, but this seems simpler and fewer lines of code.
      
      Bit of Easter hacking; seems more fair to randomize this list.
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      3adfeaa8
  9. 22 Apr, 2019 1 commit
  10. 19 Apr, 2019 1 commit
  11. 12 Apr, 2019 1 commit
  12. 09 Apr, 2019 1 commit
  13. 08 Apr, 2019 3 commits
  14. 06 Apr, 2019 5 commits
  15. 05 Apr, 2019 1 commit
  16. 04 Apr, 2019 2 commits
  17. 03 Apr, 2019 5 commits
  18. 02 Apr, 2019 3 commits
  19. 01 Apr, 2019 6 commits
    • Chris O'Haver's avatar
      Update README.md (#2747) · 67fdd7f2
      Chris O'Haver authored
      67fdd7f2
    • spigell's avatar
      add mips to released ARCH (#2746) · b9766ae5
      spigell authored
      b9766ae5
    • Miek Gieben's avatar
      proxy: remove from config (#2744) · a6cc8875
      Miek Gieben authored
      fully remove proxy and make it completely external.
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      a6cc8875
    • Miek Gieben's avatar
      README: minimal changes to say we're a DNS server (#2743) · c21f0c96
      Miek Gieben authored
      Small tweaks, tell we're a DNS server.
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      c21f0c96
    • Xiao An's avatar
      Fully deprecate TIMEOUT and NO_RELOAD (#2742) · cb96ab9f
      Xiao An authored
      * Fully deprecate NO_RELOAD
      Signed-off-by: default avatarXiao An <hac@zju.edu.cn>
      
      * Fully deprecate TIMEOUT
      Signed-off-by: default avatarXiao An <hac@zju.edu.cn>
      
      * Update CI tests to adapt to the deprecation of TIMEOUT
      Signed-off-by: default avatarXiao An <hac@zju.edu.cn>
      
      * Add documents for directive transfer in plugin auto
      Signed-off-by: default avatarXiao An <hac@zju.edu.cn>
      cb96ab9f
    • Miek Gieben's avatar
      plugin/chaos: add default list of authors (#2737) · 99c3d065
      Miek Gieben authored
      * plugin/chaos: add default list of authors
      
      Add a owners_generate.go that generates a Owners variables for use in
      the chaos plugin.
      
      Add a default list of authors in the authors.bind CH zone. When doing a
      query this now returns:
      
      ~~~ sh
      % dig authors.bind TXT CH
      
      ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5456
      ;; flags: qr rd; QUERY: 1, ANSWER: 22, AUTHORITY: 0, ADDITIONAL: 1
      ;; WARNING: recursion requested but not available
      
      ;; OPT PSEUDOSECTION:
      ; EDNS: version: 0, flags:; udp: 4096
      ;; QUESTION SECTION:
      ;authors.bind.			CH	TXT
      
      ;; ANSWER SECTION:
      authors.bind.		0	CH	TXT	"bradbeam"
      authors.bind.		0	CH	TXT	"chrisohaver"
      authors.bind.		0	CH	TXT	"dilyevsky"
      authors.bind.		0	CH	TXT	"ekleiner"
      authors.bind.		0	CH	TXT	"fastest963"
      authors.bind.		0	CH	TXT	"fturib"
      authors.bind.		0	CH	TXT	"greenpau"
      authors.bind.		0	CH	TXT	"grobie"
      authors.bind.		0	CH	TXT	"inigohu"
      authors.bind.		0	CH	TXT	"isolus"
      authors.bind.		0	CH	TXT	"johnbelamaric"
      authors.bind.		0	CH	TXT	"miekg"
      authors.bind.		0	CH	TXT	"nchrisdk"
      authors.bind.		0	CH	TXT	"nitisht"
      authors.bind.		0	CH	TXT	"pmoroney"
      authors.bind.		0	CH	TXT	"rajansandeep"
      authors.bind.		0	CH	TXT	"rdrozhdzh"
      authors.bind.		0	CH	TXT	"rtreffer"
      authors.bind.		0	CH	TXT	"stp-ip"
      authors.bind.		0	CH	TXT	"superq"
      authors.bind.		0	CH	TXT	"varyoo"
      authors.bind.		0	CH	TXT	"yongtang"
      ~~~
      
      This was hard to do previously as we didn't hardcode this in the source,
      but now with OWNERS files we can just generate this list.
      
      Privacy wise this isn't worse than being listed in OWNERS file in the
      first place. And it's a nice hat tip to the people making CoreDNS
      better.
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      
      * Sticklet bot comments
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      99c3d065