libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [libcloud] insertjokehere opened a new issue #1512: Cannot create SSHFP records with Cloudflare DNS driver
Date Mon, 26 Oct 2020 04:03:00 GMT

insertjokehere opened a new issue #1512:
URL: https://github.com/apache/libcloud/issues/1512


   ## Summary
   
   When attempting to create an SSHFP DNS record using the Cloudflare driver, an error like
`1004: DNS Validation Error (error chain: 9101: algorithm is a required data field.)` is raised
and the record is not created.
   
   ## Detailed Information
   
   It is not terribly well documented, but the Cloudflare API does not allow you to create
SSHFP records using the "normal" `<algorithm> <type> <fingerprint>` format
as a value to the `content` property like you would do with other records, instead you must
leave `content` as `null`, and pass a dictionary like:
   
   ```json
   {
     "algorithm": "2",
     "type": "1",
     "fingerprint": "..."
   }
   ```
   
   as the value of the `data` property.
   
   I have a modified version of the driver working locally, I will try to open an MR to fix
this soon


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message