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. 23 Aug, 2016 3 commits
  2. 22 Aug, 2016 2 commits
  3. 21 Aug, 2016 4 commits
  4. 20 Aug, 2016 1 commit
    • Miek Gieben's avatar
      Make CoreDNS a server type plugin for Caddy (#220) · 9ac3cab1
      Miek Gieben authored
      * Make CoreDNS a server type plugin for Caddy
      
      Remove code we don't need and port all middleware over. Fix all tests
      and rework the documentation.
      
      Also make `go generate` build a caddy binary which we then copy into
      our directory. This means `go build`-builds remain working as-is.
      
      And new etc instances in each etcd test for better isolation.
      Fix more tests and rework test.Server with the newer support Caddy offers.
      
      Fix Makefile to support new mode of operation.
      9ac3cab1
  5. 17 Aug, 2016 3 commits
  6. 15 Aug, 2016 3 commits
    • Miek Gieben's avatar
      Remove go 1.5 from travi (#214) · 79fd268e
      Miek Gieben authored
      79fd268e
    • Miek Gieben's avatar
      Fix TestStubLookup and TestLookup (#213) · 34ffb2b3
      Miek Gieben authored
      Changes large parts of proxy lookup mechanism.
      
      The duplicate zone checking erroneous added a nameserver for each
      zone we are auth. for, creating to many backend hosts. So even when a
      host was determined do be Down() we still got an (identical) new one
      from the list.
      
      The Down() and failure checking for upstream hosts had data race in the
      uh.Fails check - we now use atomic.LoadInt32 for that.
      
      Use and debug the test/server.go test servers implementation in the
      TestStubLookup test to prevent going out to the internet.
      
      Also delete the stub cycle test. That test was wrong and did not test
      what it needed to be testing.  Deleted for now.
      34ffb2b3
    • elcore's avatar
      Set Authoritative Answer - DNSKEY (fix #210) (#212) · 6d3f9d21
      elcore authored
      * Authoritative Answer - DNSKEY
      
      * Improve Style
      6d3f9d21
  7. 14 Aug, 2016 2 commits
  8. 13 Aug, 2016 1 commit
  9. 09 Aug, 2016 4 commits
    • Miek Gieben's avatar
      Fix lookup test (#206) · 3b7b9b49
      Miek Gieben authored
      * Always continue
      
      * debug queries: more sane impl
      
      This PR just add a msg.Service to debug instead of crafting an TXT RR
      at that point. This way we lift on the normal way of generating debug
      responses and don't muck with that implementation.
      
      The tags=etcd is flaky as hell for some reason.
      3b7b9b49
    • Miek Gieben's avatar
      Add debugging for failed lookups (#199) · b53661d2
      Miek Gieben authored
      This PR adds debug support for failed lookups. I.e. when a record
      is outside the configured domain, we do a forward lookup. If this
      fails the error is silently dropped. This PR adds it back as an error
      in when debugging is enabled.
      
      Fixes #197
      b53661d2
    • Miek Gieben's avatar
      Fix stubzone retention (#198) · ad76aef5
      Miek Gieben authored
      Make the receiver a pointer so that the uptdateStubZones map update will
      retain the stubzones found, unlike the current case where the update
      will be applied and then promptly forgotten, because it is working on a
      copy.
      
      Add test/etcd_test.go to test a large part of the code. This didn't
      catch the chaos middleware hack though. The chaos middleware zones are
      now *not* automatically added. You have to take care of that by yourself
      (docs updates).
      
      When using debug queries and falling through to the next middleware in
      etcd, restore the original (with o-o.debug) query before passing it on.
      ad76aef5
    • Michael Richmond's avatar
      Adding `resyncperiod` to Corefile (#205) · c079de65
      Michael Richmond authored
      * Removing old unused inline k8s API code and tests.
      * Adding parsing implementation for `resyncperiod` keyword from Corefile.
      * Adding tests for parsing `resyncperiod` keyword from Corefile.
      8 Updating README.md and conf/k8sCorefile.
      c079de65
  10. 08 Aug, 2016 1 commit
    • Michael Richmond's avatar
      Switch over to k8s notification API -- Syncing forked project · 51eaefc0
      Michael Richmond authored
      Switch over to k8s notification API
      * Merge notification code by @aledbf and update for recent changes.
      * Fix travis environment to correctly build with k8s.io and forked repositories.
      * Refactored kubernetes Corefile parser
      * Added lots of Corefile parsing tests
      51eaefc0
  11. 06 Aug, 2016 2 commits
  12. 29 Jul, 2016 2 commits
  13. 28 Jul, 2016 2 commits
  14. 23 Jul, 2016 1 commit
  15. 19 Jul, 2016 1 commit
    • Michael Richmond's avatar
      Move to logging package (#191) · 3ba86f24
      Michael Richmond authored
      * Updating comment to remove references to Caddy
      
      * Updating README to mark TODO items complete
      
      * Changing all debug print statements over to use logging package
      3ba86f24
  16. 15 Jul, 2016 1 commit
    • Michael Richmond's avatar
      Adding wildcard support (#190) · 3f4ec783
      Michael Richmond authored
      * Commenting out unused functions. TODO: remove when it is not needed
      
      * Update README with namespace and template example
      
      * Adding note about changing the record name format via a template
      
      * Adding test scripts to automate k8s startup
      
      * Automating k8s namespace creation
      
      * Adding automation to start 4 k8s services
      
      * Updating documentation for k8s tests
      
      * Avoid downloading kubectl if already exists
      
      * Adding debug statement when namespace is not exposed.
      
      * Adding basic kubernetes integration tests
      
      * Makefile now contains a "testk8s" target. This target requires k8s to
        be running.
      * Adding test/kubernetes_test.go file with a couple of basic A record
        tests.
      
      * Updating k8s integration tests to only run k8s integration tests
      
      * Adding support for namespace wildcards
      
      * Refactoring to move filtering logic to kubernetes.go file
      
      * go fmt fixes
      
      * Adding wildcard support for namespaces and service names
      
      * Kubernetes integration tests updated for A records.
      * Expanded record name assembly for answer section not yet implemented.
      * Refactoring to focus k8sclient code just on accessing k8s API.
       Filtering now handled in kubernetes.go
      
      * Adding wildcard test cases
      
      * Adding skydns startup script. (To allow side by side testing of wildcards.)
      * Commenting out record name assmebly based on NameTemplate. Need to improve template before this makes sense.
      
      * Adding basic SRV integration tests
      
      * Need to add verification for additional answer section
      
      * Fixing comments and formatting
      
      * Moving wildcard constants to vars
      
      * Travis test execution appears to be failing on access to these
       constants
      
      * Fixing access to util package
      
      * Trying to work around Travis test bug
      
      * Reverting to access kubernetes/util as "util"
      
      Travis breakage is due to "Infoblox-CTO" in src path
      3f4ec783
  17. 13 Jul, 2016 1 commit
  18. 08 Jul, 2016 1 commit
  19. 07 Jul, 2016 1 commit
    • Michael Richmond's avatar
      k8s middleware cleanup, testcases, basic SRV (#181) · 289f53d3
      Michael Richmond authored
      * Removing unnecessary gitignore pattern
      
      * Updating Makefile to run unittests for subpackages
      
      * Adding Corefile validation to ignore overlapping zones
      
      * Fixing SRV query handling
      
      * Updating README.md now that SRV works
      
      * Fixing debug message, adding code comment
      
      * Clarifying implementation of zone normalization
      
      * "Overlapping zones" is ill-defined. Reimplemented zone overlap/subzone
        checking to contain these functions in k8s middleware and provide
        better code comments explaining the normalization.
      
      * Separate build verbosity from test verbosity
      
      * Cleaning up comments to match repo code style
      
      * Merging warning messages into single message
      * Moving function docs to before function declaration
      
      * Adding test cases for k8sclient connector
      
      * Tests cover connector create and setting base url
      * Fixed bugs in connector create and setting base url functions
      
      * Updaing README to group and order development work
      
      * Priority focused on achieving functional parity with SkyDNS.
      
      * Adding work items to README and cleaning up formatting
      
      * More README format cleaning
      
      * List formating
      
      * Refactoring k8s API call to allow dependency injection
      
      * Add test cases for data parsing from k8s into dataobject structures
      
      * URL is dependency-injected to allow replacement with a mock http
        server during test execution
      
      * Adding more data validation for JSON parsing tests
      
      * Adding test case for GetResourceList()
      
      * Adding notes about SkyDNS embedded IP and port record names
      
      * Marked test case implemented.
      
      * Fixing formatting for example command.
      
      * Fixing formatting
      
      * Adding notes about Docker image building.
      
      * Adding SkyDNS work item
      
      * Updating TODO list
      
      * Adding name template to Corefile to specify how k8s record names are assembled
      
      * Adding template support for multi-segment zones
      
      * Updating example CoreFile for k8s with template comment
      
      * Misc whitespace cleanup
      
      * Adding SkyDNS naming notes
      
      * Adding namespace filtering to CoreFile config
      
      * Updating example k8sCoreFile to specify namespaces
      
      * Removing unused codepath
      
      * Adding check for valid namespace
      
      * More README TODO restructuring to focus effort
      
      * Adding template validation while parsing CoreFile
      
      * Record name template is considered invalid if it contains a symbol of the form ${bar} where the symbol
        "${bar}" is not an accepted template symbol.
      
      * Refactoring generation of answer records
      
      * Parse typeName out of query string
      * Refactor answer record creation as operation over list of ServiceItems
      
      * Moving k8s API caching into SkyDNS equivalency segment
      
      * Adding function to assemble record names from template
      
      * Warning: This commit may be broken. Syncing to get laptop code over to dev machine.
      
      * More todo notes
      
      * Adding comment describing sample test data.
      
      * Update k8sCorefile
      
      * Adding comment
      
      * Adding filtering support for kubernetes "type"
      
      * Required refactoring to support reuse of the StringInSlice function.
      
      * Cleaning up formatting
      
      * Adding note about SkyDNS supporting word "any".
      
      * baseUrl -> baseURL
      
      * Also removed debug statement from core/setup/kubernetes.go
      
      * Fixing test breaking from Url -> URL naming changes
      
      * Changing record name template language ${...} -> {...}
      
      * Fix formatting with go fmt
      
      * Updating all k8sclient data getters to return error value
      
      * Adding error message to k8sclient data accessors
      
      * Cleaning up setup for kubernetes
      
      * Removed verbose nils in initial k8s middleware instance
      * Set reasonable defaults if CoreFile has no parameters in the
      kubernetes block. (k8s endpoint, and name template)
      
      * Formatting cleanup -- go fmt
      289f53d3
  20. 05 Jul, 2016 1 commit
    • Miek Gieben's avatar
      middleware/proxy: healthchecks fixes (#183) · 558c34a2
      Miek Gieben authored
      * middleware/proxy: add spray keyword
      
      When spray is used, the proxy will, when all backend are down, spray to
      each target. When not used, default to the old defaults: max 1 failure
      and no spray. These defaults are also used when forwarding queries to
      another CoreDNS instance.
      
      Update the README with the new keyword.
      
      * typos
      
      * Make MaxFail = 1 again
      
      * more reversals
      558c34a2
  21. 04 Jul, 2016 2 commits
  22. 26 Jun, 2016 1 commit