Skip to content
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

Bug: Gandi dns url has changed #852

Closed
Nichlas opened this issue Nov 5, 2024 · 3 comments
Closed

Bug: Gandi dns url has changed #852

Nichlas opened this issue Nov 5, 2024 · 3 comments

Comments

@Nichlas
Copy link

Nichlas commented Nov 5, 2024

TLDR: Gandi fails because dns url is deprecated

  1. Is this urgent: Yes

  2. DNS provider(s) you use: Gandi

  3. Program version: 2.8.1

    Running version 2.8.1 built on 2024-09-20T07:18:44.173Z (commit c16287e)

  4. What are you using to run the container: docker-compose

  5. Extra information (optional)

New API URL: https://api.gandi.net/v5/livedns

2024-11-05 17:20:44.810921+00:002024-11-05T18:20:44+01:00 ERROR HTTP status is not valid: 403: {"object": "HTTPForbidden", "cause": "Forbidden", "code": 403, "message": "Access was denied to this resource."}

@qdm12
Copy link
Owner

qdm12 commented Nov 5, 2024

What's the difference between the domain API (https://api.gandi.net/docs/domains/) and the LiveDNS API (https://api.gandi.net/docs/livedns/)?

I would prefer to go the domain API route, and check if it works for you first, before doing the livedns API which might not work for all gandi.net domains.

@Nichlas
Copy link
Author

Nichlas commented Nov 5, 2024

I'm not sure the one or the other is best, but the point is that the api endpoint in the code doesn't work, and that the endpoint should be updated.

@qdm12 qdm12 closed this as completed in 46e1edb Nov 7, 2024
@qdm12
Copy link
Owner

qdm12 commented Nov 7, 2024

API URL updated in 46e1edb 😉
Please let me know if it works fine.
Also, side extra question, can you try it with an owner (aka host) that doesn't exist on your existing domain, to check if ddns-updater creates the record or what error you get in the logs? For example set your "domain": "doesnotexist.yourdomain.com". Trying to fix this for issue #129 whilst I'm at it.

qdm12 added a commit that referenced this issue Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants