mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
* js_test.go: Do a zonefile test if $TESTNAME/parse_tests/{zonefile} exists. * Add parse_tests zone files for all the tests that make sense. * js_test.go: Addd the test datafile when displaying failures. * 007-importTransformTTL.js: Was referring to a non-existent domain. * 012-duration.js: Had duplicate DNS records. * 029-dextendsub.js: Move CF-related tests to separate test. * validate.go: Report non-existent domains as an error. * cloudflareProvider.go: newCloudflare should not talk to the API.
9 lines
306 B
JavaScript
9 lines
306 B
JavaScript
var REGISTRAR = NewRegistrar('none', 'NONE'); // No registrar.
|
|
var BIND = NewDnsProvider('bind', 'BIND');
|
|
|
|
// Delegating reverse zones
|
|
D(REV('1.3.0.0/16'), REGISTRAR, DnsProvider(BIND),
|
|
NS(REV('1.3.1.0/24'), "ns1.example.com.")
|
|
);
|
|
D_EXTEND(REV("1.3.2.0/24"), NS(REV("1.3.2.0/24"), "ns2.example.org."))
|