mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
DOCS: Inline creds.json.tpl-example.txt example (#1784)
This commit is contained in:
committed by
GitHub
parent
010ba5682a
commit
ae1eb970f5
14
docs/assets/getting-started/dnsconfig.js
Normal file
14
docs/assets/getting-started/dnsconfig.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
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')
|
||||
);
|
||||
Reference in New Issue
Block a user