{"id":18451952,"url":"https://github.com/libdns/gandi","last_synced_at":"2026-02-02T07:44:55.161Z","repository":{"id":55148235,"uuid":"264704028","full_name":"libdns/gandi","owner":"libdns","description":"Gandi provider implementation for libdns","archived":false,"fork":false,"pushed_at":"2024-01-25T15:54:03.000Z","size":16,"stargazers_count":9,"open_issues_count":1,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-06-18T20:09:29.639Z","etag":null,"topics":["gandi","libdns"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/libdns.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-17T15:57:37.000Z","updated_at":"2024-04-19T02:56:38.000Z","dependencies_parsed_at":"2024-06-18T20:11:08.116Z","dependency_job_id":null,"html_url":"https://github.com/libdns/gandi","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libdns%2Fgandi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libdns%2Fgandi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libdns%2Fgandi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libdns%2Fgandi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libdns","download_url":"https://codeload.github.com/libdns/gandi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223300416,"owners_count":17122600,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gandi","libdns"],"created_at":"2024-11-06T07:29:49.246Z","updated_at":"2026-02-02T07:44:50.125Z","avatar_url":"https://github.com/libdns.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"Gandi for `libdns`\n=======================\n\n[![godoc reference](https://img.shields.io/badge/godoc-reference-blue.svg)](https://pkg.go.dev/github.com/libdns/gandi)\n\nThis package implements the [libdns interfaces](https://github.com/libdns/libdns) for [Gandi](https://www.gandi.net/).\n\n## Authenticating\n\nThis package only supports **API Key authentication**. Refer to the [Gandi's Public API documentation](https://api.gandi.net/docs/reference/#Authentication) for more information.\n\nStart by [retrieving your API key](https://account.gandi.net/) from the _Security_ section in Gandi account admin panel to be able to make authenticated requests to the API.\n\n## Technical limitations\n\nThe [LiveDNS documentation](https://api.gandi.net/docs/livedns/) states that records with the same name and type are merged so that their `rrset_values` are grouped together.\n\n```\n{\n  \"rrset_type\": \"MX\",\n  \"rrset_ttl\": 1800,\n  \"rrset_name\": \"@\",\n  \"rrset_href\": \"https://api.gandi.net/v5/livedns/domains/gconfs.fr/records/@/MX\",\n  \"rrset_values\": [\n    \"1 aspmx.l.google.com.\",\n    \"5 alt1.aspmx.l.google.com.\",\n    \"5 alt2.aspmx.l.google.com.\",\n    \"10 alt3.aspmx.l.google.com.\"\n  ]\n}\n```\n\nOn the above example, such a design forces us to perform a `PUT` to add a new `@ 1800 IN MX 10 alt4.aspmx.l.google.com.` record instead of a simple `POST`. Thus, we can not use `POST` to add new records if there is already existing records with the same name and type.\n\nThat's why `AppendRecord` has the same behaviour than `SetRecord`. Due to these technical limitations, updating or appending records may affect the TTL of similar records which have the same name and type.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibdns%2Fgandi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibdns%2Fgandi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibdns%2Fgandi/lists"}