1
0
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:
Jeffrey Cafferata
2022-10-31 20:59:29 +01:00
committed by GitHub
parent 010ba5682a
commit ae1eb970f5
6 changed files with 22 additions and 5 deletions

View 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')
);