dnscontrol/providers/octodns/octoyaml/parse_tests/007-apex-quote.js
Tom Limoncelli 54de1ff698
NEW PROVIDER: OctoDNS (#309)
* govendor gopkg.in/yaml.v2
* Ignore YAML and BIND test data litter.  Create README.txt files to force git to create subdirectories.
* Update convertzone to also read OctoDNS files
2018-02-27 17:36:47 -05:00

12 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")
);