add wildcard test

This commit is contained in:
AJ ONeal 2017-10-23 21:14:52 -06:00
parent 4e65f6be3f
commit bcb9f3cf86
1 changed files with 8 additions and 0 deletions

View File

@ -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"