diff --git a/samples/db.js b/samples/db.js index f2f86e9..f07173a 100644 --- a/samples/db.js +++ b/samples/db.js @@ -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"