Skip to content

Fix #339 prevent the ovh provider to panic on SPF and DKIM record types#340

Merged
tlimoncelli merged 1 commit intoStackExchange:masterfrom
masterzen:bugfix/339-no-crash-with-SPF-DKIM
Mar 21, 2018
Merged

Fix #339 prevent the ovh provider to panic on SPF and DKIM record types#340
tlimoncelli merged 1 commit intoStackExchange:masterfrom
masterzen:bugfix/339-no-crash-with-SPF-DKIM

Conversation

@masterzen
Copy link
Copy Markdown
Collaborator

OVH uses special SPF and DKIM invalid types for records added with the web ui (or default zone records).

The ovh provider didn't correctly handle those invalid record types and was panic'ing.
This change prevents the panic by converting such records to TXT (which is what they are in fact), but also auto-corrects any SPF or DKIM records to TXT ones so that next push will see no modifications.

OVH uses special SPF and DKIM invalid types for records added with
the web ui (or default zone records).
The ovh provider didn't correctly handle those invalid record types
and was panic'ing.
This change prevents the panic by converting such records to TXT
(which is what they are in fact), but also auto-corrects any SPF
or DKIM records to TXT ones.
@tlimoncelli tlimoncelli merged commit f9d7480 into StackExchange:master Mar 21, 2018
rblenkinsopp pushed a commit to rblenkinsopp/dnscontrol that referenced this pull request Aug 21, 2020
OVH uses special SPF and DKIM invalid types for records added with
the web ui (or default zone records).
The ovh provider didn't correctly handle those invalid record types
and was panic'ing.
This change prevents the panic by converting such records to TXT
(which is what they are in fact), but also auto-corrects any SPF
or DKIM records to TXT ones.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants