mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-10-25 21:46:57 +08: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.
7 lines
190 B
JavaScript
7 lines
190 B
JavaScript
D("foo.com","none",
|
|
A("@","1.2.3.4", TTL("300s")),
|
|
A("@","1.2.3.5", TTL("300")),
|
|
A("@","1.2.3.6", TTL("3m")),
|
|
A("@","1.2.3.7", TTL("3h")),
|
|
A("@","1.2.3.8", TTL("3d"))
|
|
);
|