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. 11 Oct, 2016 1 commit
  2. 10 Oct, 2016 1 commit
  3. 09 Oct, 2016 2 commits
  4. 08 Oct, 2016 5 commits
  5. 07 Oct, 2016 1 commit
    • Miek Gieben's avatar
      Use dns.port argument as default · f29f622e
      Miek Gieben authored
      Make DefaultPort just be 53. And use the value of Port to make the zone
      stanzas complete (instead of defaulting to 53 always). This allows you
      to override the port with dns.port.
      f29f622e
  6. 05 Oct, 2016 1 commit
    • Miek Gieben's avatar
      kubernetes: hide contrib (#320) · ea984295
      Miek Gieben authored
      This is purely travis (and maybe local testing). Does not warrent (IMHO)
      a contrib/ directory. Hide it in a .travis directory.
      ea984295
  7. 04 Oct, 2016 1 commit
    • Miek Gieben's avatar
      middleware/metrics: fix crash on startup (#318) · db6c9a3f
      Miek Gieben authored
      Make the methods that handle Metrics all use pointer receivers to fix
      sync.Once not being initialized.
      
      Finish the setup_test to test for failures. And make the check for the
      address more strict and return an error when it does not have a port
      number.
      
      Add a toplevel test that starts a CoreDNS server with metrics enabled
      so we catch these errors in the future.
      db6c9a3f
  8. 03 Oct, 2016 3 commits
    • Yong Tang's avatar
      Fix a typo (#315) · d9148329
      Yong Tang authored
      This fix fixes a typo in middle/cache/README.md:
      `1 hours` => `1 hour`
      Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
      d9148329
    • Miek Gieben's avatar
      middleware/file: transfer from does not make sense (#314) · cc486fb9
      Miek Gieben authored
      Make it return an error when you use `transfer from` when you're
      not a secondary.
      
      Add tests as well.
      
      Fixes #310
      cc486fb9
    • Miek Gieben's avatar
      EDNS0 unknown flags handling (#313) · 560f11d1
      Miek Gieben authored
      Fix the unknown flags handling when receiving such message. We should
      zero out all of the Z bits in the OPT record before returning.
      
      Current behavior:
      
          dig +norec +noad +ednsflags=0x80 soa miek.nl @deb.atoom.net
          ...
          ; EDNS: version: 0, flags:; MBZ: 0080 , udp: 4096
      
      New:
      
          dig +norec +noad +ednsflags=0x80 soa miek.nl @localhost -p 2053
          ...
          ; EDNS: version: 0, flags:; udp: 4096
      
      Take care no to overwrite the Do bit.
      
      We still accept *all* EDNS option; I do not consider that a bug in
      itself.
      
      Fixes #306
      560f11d1
  9. 02 Oct, 2016 2 commits
    • Miek Gieben's avatar
      Pr 311 2 (#312) · 4096c490
      Miek Gieben authored
      * Add a setup test for middleware/file
      
      This fix adds a setup test for middleware/file so that there is
      a basic coverage for the Corefile processing of middleware/file.
      
      This fix is related to 308 (Will look into it).
      Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
      
      * middleware/file: use helper function for test
      
      Fixup setup_test.go and use the test.TempFile function to make things
      somewhat shorter.
      
      Use clean up the use of testing.T in TempFile - it is not used.
      4096c490
    • Miek Gieben's avatar
      middleware/cache: split cache in positive and negative and use lru (#298) · e54c232c
      Miek Gieben authored
      Make the cache memory bounded, by using a LRU cache. Also split the
      cache in a positive and negative one - each with its own controls.
      
      Extend the cache stanza to allow for this:
      
          cache {
             positive limit [ttl]
             negative limit [ttl]
          }
      
      is now possible. This also add a cache_test.go in the toplevel test/
      directory that exercises the caching path.
      
      Fixes #260
      e54c232c
  10. 27 Sep, 2016 1 commit
    • Yong Tang's avatar
      Cleanup Makefile and .travis.yml (#305) · 9b6b8d27
      Yong Tang authored
      This fix updates .travis.yml and Makefile for several places:
      - Remove unneeded `docker pull gcr.io/google_containers/hyperkube-amd64:v1.2.4` (only v1.3.7 was used)
      - Use docker to deploy etcd (insteadof downloading etcd binary).
      - Merge `make testk8s` and `make testk8s-setup` (no need to have multiple targets for a couple of tests)
      - Set version of etcd and kubernetes in .travis.yml (so that it is easy to update new version in the future)
      Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
      9b6b8d27
  11. 26 Sep, 2016 5 commits
  12. 25 Sep, 2016 3 commits
  13. 24 Sep, 2016 3 commits
    • Silas Baronda's avatar
    • Chris O'Haver's avatar
      Add TLS support for k8s middleware (#289) · 15297c8e
      Chris O'Haver authored
      * Added TLS to k8s client
      
      Added options for TLS kubernetes client connection.
      
      * Fix k8s TLS config option parsing
      
      Brings config option parsing for kubernetes TLS in line with recent changes.
      
      * Put TLS config on one line
      
      Put kubernetes tls config on one line to match style established in etcd tls config.
      
      * Add tls option to README
      15297c8e
    • Yong Tang's avatar
      Golint middleware/proxy (#290) · b9cf32f7
      Yong Tang authored
      While looking into the proxy middleware it appears that there are
      several golint messages:
      ```
      ubuntu@ubuntu:~/coredns$ golint middleware/proxy/
      middleware/proxy/lookup.go:66:1: exported method Proxy.Forward should have comment or be unexported
      middleware/proxy/proxy.go:24:6: exported type Client should have comment or be unexported
      middleware/proxy/proxy.go:107:1: exported function Clients should have comment or be unexported
      middleware/proxy/reverseproxy.go:10:6: exported type ReverseProxy should have comment or be unexported
      middleware/proxy/reverseproxy.go:16:1: exported method ReverseProxy.ServeDNS should have comment or be unexported
      middleware/proxy/upstream.go:42:6: exported type Options should have comment or be unexported
      ```
      
      This fix addressed the above golint messages.
      Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
      b9cf32f7
  14. 23 Sep, 2016 7 commits
    • Manuel Alejandro de Brito Fontes's avatar
      Merge pull request #284 from aledbf/remove-k8s-else · 0959b52e
      Manuel Alejandro de Brito Fontes authored
      Lint k8s middleware
      0959b52e
    • Manuel de Brito Fontes's avatar
      Lint k8s middleware · 1810e21b
      Manuel de Brito Fontes authored
      1810e21b
    • Manuel Alejandro de Brito Fontes's avatar
      Merge pull request #283 from aledbf/k8s-util · 7c105ee0
      Manuel Alejandro de Brito Fontes authored
      Refactoring of k8s helpers
      7c105ee0
    • Manuel de Brito Fontes's avatar
      8e6257c5
    • Manuel de Brito Fontes's avatar
      Remove unused const block · 6e0944eb
      Manuel de Brito Fontes authored
      6e0944eb
    • Manuel de Brito Fontes's avatar
      Refactoring of k8s helpers · 2b623842
      Manuel de Brito Fontes authored
      2b623842
    • Miek Gieben's avatar
      Golint2 (#280) · 090d1872
      Miek Gieben authored
      * Fix linter errors
      
      * More linting fixes
      
      * More docs and making members private that dont need to be public
      
      * Fix linter errors
      
      * More linting fixes
      
      * More docs and making members private that dont need to be public
      
      * More lint fixes
      
      This leaves:
      
      ~~~
      middleware/kubernetes/nametemplate/nametemplate.go:64:6: exported type NameTemplate should have comment or be unexported
      middleware/kubernetes/nametemplate/nametemplate.go:71:1: exported method NameTemplate.SetTemplate should have comment or be unexported
      middleware/kubernetes/nametemplate/nametemplate.go:108:1: exported method NameTemplate.GetZoneFromSegmentArray should have comment or be unexported
      middleware/kubernetes/nametemplate/nametemplate.go:116:1: exported method NameTemplate.GetNamespaceFromSegmentArray should have comment or be unexported
      middleware/kubernetes/nametemplate/nametemplate.go:120:1: exported method NameTemplate.GetServiceFromSegmentArray should have comment or be unexported
      middleware/kubernetes/nametemplate/nametemplate.go:124:1: exported method NameTemplate.GetTypeFromSegmentArray should have comment or be unexported
      middleware/kubernetes/nametemplate/nametemplate.go:135:1: exported method NameTemplate.GetSymbolFromSegmentArray should have comment or be unexported
      middleware/kubernetes/nametemplate/nametemplate.go:167:1: exported method NameTemplate.IsValid should have comment or be unexported
      middleware/kubernetes/nametemplate/nametemplate.go:182:6: exported type NameValues should have comment or be unexported
      middleware/kubernetes/util/util.go:1:1: package comment should be of the form "Package util ..."
      middleware/kubernetes/util/util.go:27:2: exported const WildcardStar should have comment (or a comment on this block) or be unexported
      middleware/proxy/lookup.go:66:1: exported method Proxy.Forward should have comment or be unexported
      middleware/proxy/proxy.go:24:6: exported type Client should have comment or be unexported
      middleware/proxy/proxy.go:107:1: exported function Clients should have comment or be unexported
      middleware/proxy/reverseproxy.go:10:6: exported type ReverseProxy should have comment or be unexported
      middleware/proxy/reverseproxy.go:16:1: exported method ReverseProxy.ServeDNS should have comment or be unexported
      middleware/proxy/upstream.go:42:6: exported type Options should have comment or be unexported
      ~~~
      
      I plan on reworking the proxy anyway, so I'll leave that be.
      090d1872
  15. 22 Sep, 2016 4 commits