mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
fix computation of reverse zone based on Ipv6 CIDRs (#1415)
This commit is contained in:
committed by
Miek Gieben
parent
9575789c36
commit
f9c03c2ead
@@ -13,6 +13,7 @@ func TestKubernetesParseReverseZone(t *testing.T) {
|
||||
}{
|
||||
{`kubernetes coredns.local 10.0.0.0/16`, []string{"coredns.local.", "0.10.in-addr.arpa."}},
|
||||
{`kubernetes coredns.local 10.0.0.0/17`, []string{"coredns.local.", "0.10.in-addr.arpa."}},
|
||||
{`kubernetes coredns.local fd00:77:30::0/110`, []string{"coredns.local.", "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.3.0.0.7.7.0.0.0.0.d.f.ip6.arpa."}},
|
||||
}
|
||||
|
||||
for i, tc := range tests {
|
||||
|
||||
Reference in New Issue
Block a user