// 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!) // FIXME: As require_glob does not work, we have to find another way to allow multiple files being loaded into dnscontrol // Maybe load 1 seperate file which can be expanded (being careful about thread-safety) //require_glob("/app/hosts/"); require("/app/hosts/dump.js");