This commit is contained in:
Tom Limoncelli 2022-03-04 09:42:36 -05:00 committed by GitHub
parent 95ea4eedc9
commit cc6f5eb8d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -10,7 +10,8 @@ This is the provider for [Cloudflare](https://www.cloudflare.com/).
## Important notes
* When using `SPF()` or the `SPF_BUILDER()` the records are converted to RecordType `TXT` as Cloudflare API fails otherwise. See more [here](https://github.com/StackExchange/dnscontrol/issues/446).
* SPF records are silently converted to RecordType `TXT` as Cloudflare API fails otherwise. See [StackExchange/dnscontrol#446](https://github.com/StackExchange/dnscontrol/issues/446).
* This provider currently fails if there are more than 1000 corrections on one domain. This only affects "push". This usually when moving a domain with many records to Cloudflare. Try commenting out most records, then uncomment groups of 999. Typical updates are less than 1000 corrections and will not trigger this bug. See [StackExchange/dnscontrol#1440](https://github.com/StackExchange/dnscontrol/issues/1440).
## Configuration

View file

@ -1052,11 +1052,12 @@ func makeTests(t *testing.T) []*TestGroup {
testgroup("pager1201",
only(
//"MSDNS", // No paging done. No need to test.
//"AKAMAIEDGEDNS", // No paging done. No need to test.
//"AZURE_DNS", // Currently failing. See https://github.com/StackExchange/dnscontrol/issues/770
//"CLOUDFLAREAPI", // Fails with >1000 corrections. See https://github.com/StackExchange/dnscontrol/issues/1440
"HEXONET",
"HOSTINGDE",
//"MSDNS", // No paging done. No need to test.
"ROUTE53",
),
tc("1200 records", manyA("rec%04d", "1.2.3.4", 1200)...),