mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-02-28 17:43:13 +08:00
13 lines
434 B
JavaScript
13 lines
434 B
JavaScript
|
// FYI: go-yaml writes an empty string as ""; python's yaml writes an empty string as "".
|
||
|
// For that reason:
|
||
|
// 006-apex: tests YAML -> JSON.
|
||
|
// 007-apex-quote: tests JS -> YAML -> JSON
|
||
|
// It would be nice if go-yaml has an option to write '' instead of "".
|
||
|
|
||
|
var REG = NewRegistrar("Third-Party","NONE");
|
||
|
var CF = NewDnsProvider("bind", "BIND")
|
||
|
D("example.tld",REG,DnsProvider(CF),
|
||
|
DefaultTTL(307),
|
||
|
A("@","1.2.3.4")
|
||
|
);
|