dnscontrol/pkg/js/parse_tests/017-txt.json
Tom Limoncelli 1b5935d1af
Release 3.0.0 Candidate (#699)
Final changes before V3.0.0 release

* Remove old Gandi.  Fixes #575
* Many cleanups
* go mod tidy && go mod vendor

* integration_test.go: Output subtest name

* Cleanups

* integration_test.go: Description should include sub-test name
* Add a whitespace test to js/parse_tests/017-txt.js

* Cloudflare strips whitespace from end of TXT

* Fixes https://github.com/StackExchange/dnscontrol/issues/700

* Whitespace at end of TXT records

Name.com strips the whitespace from the end of a TXT record. There's
nothing we can do other than file a bug.

* Fixes https://github.com/StackExchange/dnscontrol/issues/701
2020-03-22 13:38:37 -04:00

56 lines
1 KiB
JSON

{
"registrars": [],
"dns_providers": [],
"domains": [
{
"name": "foo.com",
"registrar": "none",
"dnsProviders": {},
"records": [
{
"type": "TXT",
"name": "a",
"target": "simple",
"txtstrings": [
"simple"
]
},
{
"type": "TXT",
"name": "b",
"target": "ws at end ",
"txtstrings": [
"ws at end "
]
},
{
"type": "TXT",
"name": "c",
"target": "one",
"txtstrings": [
"one"
]
},
{
"type": "TXT",
"name": "d",
"target": "bonie",
"txtstrings": [
"bonie",
"clyde"
]
},
{
"type": "TXT",
"name": "e",
"target": "straw",
"txtstrings": [
"straw",
"wood",
"brick"
]
}
]
}
]
}