mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
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
This commit is contained in:
10
providers/octodns/octoyaml/parse_tests/003-complex.js
Normal file
10
providers/octodns/octoyaml/parse_tests/003-complex.js
Normal file
@@ -0,0 +1,10 @@
|
||||
var REG = NewRegistrar("Third-Party","NONE");
|
||||
var CF = NewDnsProvider("bind", "BIND")
|
||||
D("example.tld",REG,DnsProvider(CF),
|
||||
DefaultTTL(303),
|
||||
A("one","1.2.3.3"),
|
||||
A("foo","1.2.3.4"),
|
||||
A("foo","1.2.3.5"),
|
||||
MX("foo", 10, "mx1.example.com."),
|
||||
MX("foo", 10, "mx2.example.com.")
|
||||
);
|
Reference in New Issue
Block a user