Skip to content

feat: support DS records #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

feat: support DS records #12

wants to merge 10 commits into from

Conversation

M0NsTeRRR
Copy link

@M0NsTeRRR M0NsTeRRR commented Oct 5, 2024

Fix #11

Few things to note :

Signed-off-by: Ludovic Ortega <[email protected]>
Signed-off-by: Ludovic Ortega <[email protected]>
__API_VERSION__ = 'v2beta1'


class ScalewayDSAlgorithm(Enum):
Copy link
Author

@M0NsTeRRR M0NsTeRRR Oct 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm missing some dnssec algorithms (4, 9, 11) https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml

Does the documentation is incorrect or it's just unsupported as it's reserved now ?
https://www.scaleway.com/en/developers/api/domains-and-dns/registrar-api/#path-domains-update-domain-dnssec

}
values.append(value)
# The TTL is hardcoded and is not returned by the API
return {'type': _type, 'values': values, 'ttl': '3600'}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't set the TTL for the DS record, and the API doesn't return the TTL. Based on my tests, I assume it is always set to 3600.

Signed-off-by: Ludovic Ortega <[email protected]>

class ScalewayProvider(BaseProvider):
SUPPORTS_GEO = False
SUPPORTS_DYNAMIC = True
SUPPORTS_ROOT_NS = True
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: Ludovic Ortega <[email protected]>
Signed-off-by: Ludovic Ortega <[email protected]>
Signed-off-by: Ludovic Ortega <[email protected]>
@M0NsTeRRR
Copy link
Author

Hello @jerjako,
Sorry to ping you directly, but is it possible to get a review and move this PR forward ?
Regards,

@M0NsTeRRR M0NsTeRRR force-pushed the main branch 2 times, most recently from 10a4908 to 802e37f Compare June 4, 2025 17:49
M0NsTeRRR added 2 commits June 4, 2025 19:50
Signed-off-by: Ludovic Ortega <[email protected]>
@M0NsTeRRR
Copy link
Author

@remyleone I've fixed the CI if you can run the workflow as it works on my fork https://github.com/M0NsTeRRR/octodns-scaleway/actions/runs/15449413829

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support DS records
1 participant