mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-10 17:38:13 +08:00
9e6d642e35
Fixes https://github.com/StackExchange/dnscontrol/issues/1457 * New-style creds.json implememented backwards compatible * Update tests * Update docs * Assume new-style TYPE
14 lines
291 B
Text
14 lines
291 B
Text
/*
|
|
dnsconfig.js: dnscontrol configuration file for ORGANIZATION NAME.
|
|
*/
|
|
|
|
// Providers:
|
|
|
|
var REG_NONE = NewRegistrar('none'); // No registrar.
|
|
var DNS_BIND = NewDnsProvider('bind'); // ISC BIND.
|
|
|
|
// Domains:
|
|
|
|
D('example.com', REG_NONE, DnsProvider(DNS_BIND),
|
|
A('@', '1.2.3.4')
|
|
);
|