mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
plugin/file: add CAA record test case (#5219)
Signed-off-by: xuweiwei <xuweiwei_yewu@cmss.chinamobile.com>
This commit is contained in:
@@ -139,6 +139,13 @@ var dnsTestCases = []test.Case{
|
||||
},
|
||||
Ns: miekAuth,
|
||||
},
|
||||
{
|
||||
Qname: "caa.miek.nl.", Qtype: dns.TypeCAA,
|
||||
Answer: []dns.RR{
|
||||
test.CAA(`caa.miek.nl. 1800 IN CAA 0 issue letsencrypt.org`),
|
||||
},
|
||||
Ns: miekAuth,
|
||||
},
|
||||
}
|
||||
|
||||
const (
|
||||
@@ -244,4 +251,5 @@ srv IN SRV 10 10 8080 a.miek.nl.
|
||||
mx IN MX 10 a.miek.nl.
|
||||
|
||||
txt IN TXT "v=spf1 a mx ~all"
|
||||
caa IN CAA 0 issue letsencrypt.org
|
||||
ext-cname IN CNAME example.com.`
|
||||
|
||||
Reference in New Issue
Block a user