Add TXT coverage (#807)
This commit is contained in:
parent
78db9fbb10
commit
2410f5b3f4
1 changed files with 7 additions and 0 deletions
|
@ -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){
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue