You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by GitBox <gi...@apache.org> on 2020/11/21 23:29:12 UTC

[GitHub] [libcloud] macfreek opened a new issue #1520: Possible error in hostvirtual DNS RECORD_TYPE_MAP

macfreek opened a new issue #1520:
URL: https://github.com/apache/libcloud/issues/1520


   ## Summary
   
   [libcloud/dns/drivers/hostvirtual.py](libcloud/dns/drivers/hostvirtual.py#L65) and [libcloud/dns/drivers/godaddy.py](libcloud/dns/drivers/godaddy.py#L111) both contain the following definition:
   
   ```
       RECORD_TYPE_MAP = {
           RecordType.A: 'A',
           RecordType.AAAA: 'AAAA',
           RecordType.CNAME: 'CNAME',
           RecordType.MX: 'MX',
           RecordType.NS: 'SPF',
           RecordType.SRV: 'SRV',
           RecordType.TXT: 'TXT',
       }
   ```
   
   The line `RecordType.NS: 'SPF',` is very unusual. This is only two of three places in the libcloud/driver library where there is a mismatch between record type and name. (The other is cloudflare.py, which defines `RecordType.URL: 'LOC'`). I suspect this is a bug.
   
   If it is really not a bug, I suggest to add a comment explaining this mismatch.
   
   My apologies for not adding a full bug report with reproducible code. I encountered this during a coarse check which record types are commonly supported.


----------------------------------------------------------------
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



[GitHub] [libcloud] stale[bot] commented on issue #1520: Possible error in godaddy & hostvirtual DNS RECORD_TYPE_MAP

Posted by GitBox <gi...@apache.org>.
stale[bot] commented on issue #1520:
URL: https://github.com/apache/libcloud/issues/1520#issuecomment-868936538


   Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically marking is as stale. If this issue is not relevant or applicable anymore (problem has been fixed in a new version or similar), please close the issue or let us know so we can close it. On the contrary, if the issue is still relevant, there is nothing you need to do, but if you have any additional details or context which would help us when working on this issue, please include it as a comment to this issue.
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@libcloud.apache.org

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