mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
handle blank name and namespaces (#2042)
This commit is contained in:
committed by
Miek Gieben
parent
444472891f
commit
e6ef320d13
@@ -323,6 +323,13 @@ var dnsTestCases = []test.Case{
|
||||
test.SOA("cluster.local. 303 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 60"),
|
||||
},
|
||||
},
|
||||
{
|
||||
Qname: "testns.svc.cluster.local.", Qtype: dns.TypeA,
|
||||
Rcode: dns.RcodeSuccess,
|
||||
Ns: []dns.RR{
|
||||
test.SOA("cluster.local. 303 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 60"),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
func TestServeDNS(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user