mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-02-28 09:32:55 +08:00
* 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
10 lines
296 B
JavaScript
10 lines
296 B
JavaScript
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.")
|
|
);
|