mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Improve the getting started docs (#106)
* A more detailed getting started guide.
This commit is contained in:
8
docs/assets/creds.json-example.txt
Normal file
8
docs/assets/creds.json-example.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bind": {
|
||||
},
|
||||
"r53_ACCOUNTNAME": {
|
||||
"KeyId": "change_to_your_keyid",
|
||||
"SecretKey": "change_to_your_secretkey"
|
||||
}
|
||||
}
|
||||
14
docs/assets/dnsconfig.js-example.txt
Normal file
14
docs/assets/dnsconfig.js-example.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
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')
|
||||
);
|
||||
Reference in New Issue
Block a user