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. 20 May, 2021 2 commits
    • Miek Gieben's avatar
      Fix obsure crash in Corefile parsing (#4637) · 5d80a6e2
      Miek Gieben authored
      This was found by fuzzing.
      
      We need to make this a fully qualified domain name to catch all errors
      in dnsserver/register.go and not later when plugin.Normalize() is called again on these
      strings, with the prime difference being that the domain name is fully
      qualified. This was found by fuzzing where "ȶ" is deemed OK, but "ȶ." is
      not (might be a bug in miekg/dns actually). But here we were checking ȶ,
      which is OK, and later we barf in ȶ. leading to "index out of range".
      
      Added a tests and check manually if it would crash with the current code
      (yes), and fail with an error in this PR (yes).
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      5d80a6e2
    • Chris O'Haver's avatar
      bump etcd to v3.5.0-beta3 (#4638) · df736adb
      Chris O'Haver authored
      Signed-off-by: default avatarChris O'Haver <cohaver@infoblox.com>
      df736adb
  2. 19 May, 2021 2 commits
  3. 18 May, 2021 3 commits
    • Jason Du's avatar
      plugin/file: Fix in wrong answers returned when wildcard and concrete records exist (#4599) · fbf3f07f
      Jason Du authored
      * plugin/file: Fix in wrong answers returned when wildcard and concrete records exist
      Signed-off-by: default avatarJason Du <xdu@infoblox.com>
      
      * Remove superfluous change
      Signed-off-by: default avatarJason Du <xdu@infoblox.com>
      
      * Re-implementation and new test case
      If the domain's terminal is neither the matching wildcard, nor a domian directly
      under the wildcard, return NXDOMAIN
      Signed-off-by: default avatarJason Du <xdu@infoblox.com>
      
      * Fix empty non-terminal & add test case
      Signed-off-by: default avatarJason Du <xdu@infoblox.com>
      
      * Cleanup
      Signed-off-by: default avatarJason Du <xdu@infoblox.com>
      
      * Fix case on domain name with character before * and add more test cases
      Signed-off-by: default avatarJason Du <xdu@infoblox.com>
      
      * Use different IPs for records in cornerCasesWildcard zone file
      Signed-off-by: default avatarJason Du <xdu@infoblox.com>
      fbf3f07f
    • Miek Gieben's avatar
      reverse zone: fix Normalize (#4621) · 5f41d8eb
      Miek Gieben authored
      Make normalize return multiple "hosts" (= reverse zones) when a
      non-octet boundary cidr is given.
      
      Added pkg/cidr package that holds the cidr calculation routines; felt
      they didn't really fit dnsutil.
      
      This change means the IPNet return parameter isn't needed, the hosts are
      all correct. The tests that tests this is also removed: TestSplitHostPortReverse
      The fallout was that zoneAddr _also_ doesn't need the IPNet member, that
      in turn make it visible that zoneAddr in address.go duplicated a bunch
      of stuff from register.go; removed/refactored that too.
      
      Created a plugin.OriginsFromArgsOrServerBlock to help plugins do the
      right things, by consuming ZONE arguments; this now expands reverse
      zones correctly. This is mostly mechanical.
      
      Remove the reverse test in plugin/kubernetes which is a copy-paste from
      a core test (which has since been fixed).
      
      Remove MustNormalize as it has no plugin users.
      
      This change is not backwards compatible to plugins that have a ZONE
      argument that they parse in the setup util.
      
      All in-tree plugins have been updated.
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      5f41d8eb
    • Chris O'Haver's avatar
      consider nil ready as ready (#4632) · 54093796
      Chris O'Haver authored
      Signed-off-by: default avatarChris O'Haver <cohaver@infoblox.com>
      54093796
  4. 17 May, 2021 2 commits
  5. 15 May, 2021 1 commit
  6. 14 May, 2021 2 commits
  7. 13 May, 2021 2 commits
  8. 12 May, 2021 1 commit
  9. 11 May, 2021 6 commits
  10. 10 May, 2021 1 commit
  11. 06 May, 2021 1 commit
  12. 05 May, 2021 3 commits
  13. 04 May, 2021 4 commits
  14. 03 May, 2021 3 commits
  15. 28 Apr, 2021 2 commits
  16. 26 Apr, 2021 2 commits
  17. 22 Apr, 2021 3 commits