mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-09-21 04:24:53 +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.
28 lines
523 B
JSON
28 lines
523 B
JSON
{
|
|
"dns_providers": [],
|
|
"domains": [
|
|
{
|
|
"dnsProviders": {},
|
|
"name": "foo2.com",
|
|
"records": [],
|
|
"registrar": "reg"
|
|
},
|
|
{
|
|
"dnsProviders": {},
|
|
"name": "foo.com",
|
|
"records": [
|
|
{
|
|
"meta": {
|
|
"transform_table": "0.0.0.0 ~ 1.1.1.1 ~ 2.2.2.2 ~ "
|
|
},
|
|
"name": "@",
|
|
"target": "foo2.com",
|
|
"ttl": 60,
|
|
"type": "IMPORT_TRANSFORM"
|
|
}
|
|
],
|
|
"registrar": "reg"
|
|
}
|
|
],
|
|
"registrars": []
|
|
}
|