dnscontrol/docs/assets/dnsconfig.js-example.txt
Tom Limoncelli 05da8b9e83 Improve the getting started docs (#106)
* A more detailed getting started guide.
2017-05-02 09:08:28 -04:00

14 lines
307 B
Text

/*
dnsconfig.js: dnscontrol configuration file for ORGANIZATION NAME.
*/
// Providers:
var REG_NONE = NewRegistrar('none', 'NONE'); // No registrar.
var DNS_BIND = NewDnsProvider('bind', 'BIND'); // ISC BIND.
// Domains:
D('example.com', REG_NONE, DnsProvider(DNS_BIND),
A('@', '1.2.3.4')
);