mirror of
https://github.com/coredns/coredns.git
synced 2025-10-30 09:43:17 -04:00
Add TXT coverage (#807)
This commit is contained in:
committed by
John Belamaric
parent
78db9fbb10
commit
2410f5b3f4
@@ -97,6 +97,13 @@ var dnsTestCases = map[string](*test.Case){
|
|||||||
test.SOA("cluster.local. 300 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 60"),
|
test.SOA("cluster.local. 300 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 60"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"TXT Schema": {
|
||||||
|
Qname: "dns-version.cluster.local.", Qtype: dns.TypeTXT,
|
||||||
|
Rcode: dns.RcodeSuccess,
|
||||||
|
Answer: []dns.RR{
|
||||||
|
test.TXT("dns-version.cluster.local 28800 IN TXT 1.0.1"),
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
var autopathCases = map[string](*test.Case){
|
var autopathCases = map[string](*test.Case){
|
||||||
|
|||||||
Reference in New Issue
Block a user