You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
536 B
JavaScript
24 lines
536 B
JavaScript
3 years ago
|
// Providers
|
||
|
var REG_NONE = NewRegistrar('none', 'NONE'); // No registrar.
|
||
|
|
||
|
var cloudflare = NewDnsProvider('cloudflare', 'CLOUDFLAREAPI');
|
||
|
|
||
|
|
||
|
// Default settings
|
||
|
DEFAULTS(
|
||
|
NAMESERVER_TTL('1d'),
|
||
|
DefaultTTL('1d'),
|
||
|
AUTOSPLIT, // Split long TXT
|
||
|
CF_PROXY_DEFAULT_OFF // Dont use Cloudflare-Proxy-Feature
|
||
|
);
|
||
|
|
||
|
|
||
|
// Zone-declaration
|
||
|
D('example.com', REG_NONE, DnsProvider(cloudflare));
|
||
|
|
||
|
|
||
|
|
||
|
// Include
|
||
|
// (Do not touch unless you know what you are doing!)
|
||
|
require_glob(""); // TODO: determine correct location to include
|