2017-10-06 21:34:36 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
module.exports = {
|
2017-10-09 21:54:18 +00:00
|
|
|
"primaryNameservers": [ 'localhost' ] // 'ns1.redirect-www.org'
|
|
|
|
, "domains": [
|
2017-10-06 21:34:36 +00:00
|
|
|
{ "id": "daplie.me", "revokedAt": 0 }
|
|
|
|
, { "id": "oneal.daplie.me", "revokedAt": 0 }
|
2017-10-09 21:54:18 +00:00
|
|
|
, { "id": "aj.oneal.daplie.me", "revokedAt": 0, "vanityNs": [ 'ns1.daplie.me', 'ns2.daplie.me' ] }
|
2017-10-06 21:34:36 +00:00
|
|
|
]
|
|
|
|
, "records": [
|
|
|
|
// zone daplie.me should be able to have some records on its own
|
2017-10-10 01:17:34 +00:00
|
|
|
{ "zone": "daplie.me", "name": "daplie.me", "tld": "me", "sld": "daplie", "sub": ""
|
|
|
|
, "type": "A", "address": "23.228.168.108", "aname": "tardigrade.devices.daplie.me" }
|
2017-10-07 00:31:59 +00:00
|
|
|
|
2017-10-10 01:17:34 +00:00
|
|
|
, { "zone": "daplie.me", "name": "www.daplie.me", "tld": "me", "sld": "daplie", "sub": "www"
|
|
|
|
, "type": "A", "address": "23.228.168.108", "aname": "tardigrade.devices.daplie.me" }
|
2017-10-06 21:34:36 +00:00
|
|
|
|
2017-10-10 01:17:34 +00:00
|
|
|
, { "zone": "daplie.me", "name": "email.daplie.me", "tld": "me", "sld": "daplie", "sub": "email"
|
|
|
|
, "type": "CNAME", "data": "mailgun.org" }
|
2017-10-06 21:34:36 +00:00
|
|
|
|
2017-10-10 01:17:34 +00:00
|
|
|
, { "zone": "daplie.me", "name": "tardigrade.devices.daplie.me", "tld": "me", "sld": "daplie", "sub": "tardigrade.devices"
|
|
|
|
, "device": "abcdef123"
|
|
|
|
, "type": "ANAME", "address": "23.228.168.108" }
|
2017-10-06 21:34:36 +00:00
|
|
|
|
|
|
|
// zone daplie.me can delegate oneal.daplie.me to the same nameserver
|
|
|
|
// (it's probably programmatically and politically simplest to always delegate from a parent zone)
|
|
|
|
// Thought Experiment: could we delegate the root to a child? i.e. daplie.me -> www.daplie.me
|
|
|
|
// to let someone exclusively "own" the root domain, but none of the children?
|
2017-10-10 01:17:34 +00:00
|
|
|
, { "zone": "daplie.me", "type": "NS", "name": "oneal.daplie.me"
|
|
|
|
, "tld": "me", "sld": "daplie", "sub": "oneal", "data": "ns1.redirect-www.org" }
|
2017-10-06 21:34:36 +00:00
|
|
|
|
2017-10-10 01:17:34 +00:00
|
|
|
, { "zone": "daplie.me", "name": "oneal.daplie.me", "tld": "me", "sld": "daplie", "sub": "oneal"
|
|
|
|
, "type": "NS", "data": "ns2.redirect-www.org" }
|
2017-10-06 21:34:36 +00:00
|
|
|
|
|
|
|
//
|
|
|
|
// now the zone "oneal.daplie.me" can be independently owned (and delegated)
|
|
|
|
// ... but what about email for aj@daplie.me with aj@daplie.me?
|
2017-10-10 01:17:34 +00:00
|
|
|
, { "zone": "oneal.daplie.me", "name": "oneal.daplie.me", "tld": "daplie.me", "sld": "oneal", "sub": ""
|
|
|
|
, "type": "A", "address": "45.56.59.142", "aname": "leo.devices.oneal.daplie.me" }
|
2017-10-06 21:34:36 +00:00
|
|
|
|
2017-10-10 01:17:34 +00:00
|
|
|
, { "zone": "oneal.daplie.me", "name": "www.oneal.daplie.me", "tld": "daplie.me", "sld": "oneal", "sub": "www"
|
|
|
|
, "type": "CNAME", "data": "oneal.daplie.me" }
|
2017-10-06 21:34:36 +00:00
|
|
|
|
2017-10-10 01:17:34 +00:00
|
|
|
, { "zone": "oneal.daplie.me", "name": "aj.oneal.daplie.me", "tld": "daplie.me", "sld": "oneal", "sub": "aj"
|
|
|
|
, "type": "NS", "data": "ns1.redirect-www.org" }
|
2017-10-06 21:34:36 +00:00
|
|
|
|
2017-10-10 01:17:34 +00:00
|
|
|
, { "zone": "oneal.daplie.me", "name": "aj.oneal.daplie.me", "tld": "daplie.me", "sld": "oneal", "sub": "aj"
|
|
|
|
, "type": "NS", "data": "ns2.redirect-www.org" }
|
2017-10-06 21:34:36 +00:00
|
|
|
|
|
|
|
// there can be a wildcard, to which a delegation is the exception
|
2017-10-10 01:17:34 +00:00
|
|
|
, { "zone": "oneal.daplie.me", "name": "*.oneal.daplie.me", "tld": "daplie.me", "sld": "oneal", "sub": "*"
|
|
|
|
, "type": "A", "address": "45.56.59.142", "aname": "leo.devices.oneal.daplie.me" }
|
2017-10-06 21:34:36 +00:00
|
|
|
|
|
|
|
// there can be an exception to the delegation
|
2017-10-10 01:17:34 +00:00
|
|
|
, { "zone": "oneal.daplie.me", "name": "exception.aj.oneal.daplie.me", "tld": "daplie.me", "sld": "oneal", "sub": "exception.aj"
|
|
|
|
, "type": "A", "address": "45.56.59.142", "aname": "leo.devices.oneal.daplie.me" }
|
2017-10-06 21:34:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// aj.oneal.daplie.me
|
|
|
|
//
|
2017-10-10 01:17:34 +00:00
|
|
|
, { "zone": "aj.oneal.daplie.me", "name": "aj.oneal.daplie.me", "tld": "oneal.daplie.me", "sld": "aj", "sub": ""
|
|
|
|
, "type": "A", "address": "45.56.59.142", "aname": "leo.devices.oneal.daplie.me" }
|
2017-10-06 21:34:36 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
;
|