add wildcard test
This commit is contained in:
parent
4e65f6be3f
commit
bcb9f3cf86
|
@ -57,6 +57,14 @@ module.exports = {
|
|||
, { "zone": "example.com", "name": "email.example.com", "tld": "com", "sld": "example", "sub": "email"
|
||||
, "type": "CNAME", "data": "mailgun.org" }
|
||||
|
||||
// a wildcard domain
|
||||
// wild.example.com does NOT match
|
||||
// exists.wild.example.com DOES match, statically
|
||||
// doesntexist.wild.example.com DOES match, wildly
|
||||
, { "zone": "example.com", "name": "*.wild.example.com", "tld": "com", "sld": "example", "sub": "*.wild"
|
||||
, "type": "A", "address": "12.34.56.78" }
|
||||
, { "zone": "example.com", "name": "exists.wild.example.com", "tld": "com", "sld": "example", "sub": "exists.wild"
|
||||
, "type": "A", "address": "123.0.0.45" }
|
||||
|
||||
// Out-delegated Domains
|
||||
, { "zone": "example.com", "type": "NS", "name": "out-delegated.example.com"
|
||||
|
|
Loading…
Reference in New Issue