This commit is contained in:
parent
50ab8a499c
commit
e075c6ebe7
54
domains/035-evpn.burble.dn42.js
Normal file
54
domains/035-evpn.burble.dn42.js
Normal file
@ -0,0 +1,54 @@
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// define domains
|
||||
|
||||
domain='evpn.burble.dn42';
|
||||
D(
|
||||
domain,
|
||||
REG_NONE,
|
||||
DnsProvider(PDNS),
|
||||
DefaultTTL(3600),
|
||||
NAMESERVER_TTL(86400),
|
||||
NAMESERVER('ns1.evpn.burble.dn42.'),
|
||||
NAMESERVER('ns2.evpn.burble.dn42.')
|
||||
);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
D_EXTEND(
|
||||
domain,
|
||||
|
||||
// nameservers
|
||||
AAAA('ns1', 'fd42:4242:2601:329:72e8:bff:fe58:b51b'),
|
||||
AAAA('ns2', 'fd42:4242:2601:325:72e8:bff:fe58:b51b'),
|
||||
|
||||
// BGP reflectors
|
||||
AAAA('reflector.uk-lon4', 'fd42:4242:2601:329::23f1'),
|
||||
AAAA('reflector.us-nyc1', 'fd42:4242:2601:325::23f1'),
|
||||
|
||||
// dn42 gateways
|
||||
AAAA('gateway.uk-lon4', 'fd42:4242:2601:329::4242'),
|
||||
AAAA('gateway.us-nyc1', 'fd42:4242:2601:325::4242'),
|
||||
|
||||
// borg backup
|
||||
AAAA('borg.se-sto1', 'fd42:4242:2601:330::1234')
|
||||
)
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// hosts
|
||||
|
||||
// homenet special config
|
||||
D_EXTEND(
|
||||
domain,
|
||||
AAAA('saiph', 'fd42:4242:2601:320::1')
|
||||
);
|
||||
|
||||
// main nodes
|
||||
nodes.forEach(function(n) {
|
||||
var hex = (n[4] + 32).toString(16);
|
||||
D_EXTEND(domain, AAAA(n[0], 'fd42:4242:2601:3'+hex+'::1'));
|
||||
});
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// end of file
|
||||
|
Loading…
x
Reference in New Issue
Block a user