{"id":43379084,"url":"https://github.com/libdns/vultr","last_synced_at":"2026-02-02T07:44:50.919Z","repository":{"id":74911431,"uuid":"315465232","full_name":"libdns/vultr","owner":"libdns","description":"Vultr provider implementation for libdns","archived":false,"fork":false,"pushed_at":"2025-07-23T12:14:18.000Z","size":83,"stargazers_count":3,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-29T11:11:08.949Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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,"zenodo":null}},"created_at":"2020-11-23T23:24:12.000Z","updated_at":"2025-07-23T12:14:17.000Z","dependencies_parsed_at":"2025-07-23T13:06:49.409Z","dependency_job_id":"75e5491e-e9b7-408e-b033-0858abbc521a","html_url":"https://github.com/libdns/vultr","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/libdns/vultr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libdns%2Fvultr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libdns%2Fvultr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libdns%2Fvultr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libdns%2Fvultr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libdns","download_url":"https://codeload.github.com/libdns/vultr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libdns%2Fvultr/sbom","scorecard":{"id":587870,"data":{"date":"2025-08-11","repo":{"name":"github.com/libdns/vultr","commit":"eec1c1126561960f88d332b7b09f860a58987c27"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/27 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":5,"reason":"7 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T21:03:42.350Z","repository_id":74911431,"created_at":"2025-08-20T21:03:42.350Z","updated_at":"2025-08-20T21:03:42.350Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29007316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T06:37:10.400Z","status":"ssl_error","status_checked_at":"2026-02-02T06:37:09.383Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-02-02T07:44:50.131Z","updated_at":"2026-02-02T07:44:50.901Z","avatar_url":"https://github.com/libdns.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vultr for `libdns`\n\n\nThis package implements the libdns interfaces for the [Vultr API](https://www.vultr.com/api/) (using the Go library client from: https://github.com/vultr/govultr)\n\n## Authenticating\n\nTo authenticate you need to supply a Vultr API token.\n\n## Example\n\nHere's a minimal example of how to get all your DNS records using this `libdns` provider (see `_example/main.go`)\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"os\"\n\t\"time\"\n\n\t\"github.com/libdns/libdns\"\n\n\t\"github.com/libdns/vultr\"\n)\n\nfunc main() {\n\ttoken := os.Getenv(\"VULTR_API_TOKEN\")\n\tif token == \"\" {\n\t\tfmt.Printf(\"VULTR_API_TOKEN not set\\n\")\n\t\treturn\n\t}\n\tzone := os.Getenv(\"ZONE\")\n\tif zone == \"\" {\n\t\tfmt.Printf(\"ZONE not set\\n\")\n\t\treturn\n\t}\n\n\tprovider := vultr.Provider{APIToken: token}\n\n\tzones, err := provider.ListZones(context.TODO())\n\tif err != nil {\n\t\tfmt.Printf(\"ERROR: %s\\n\", err.Error())\n\t}\n\n\tfor _, zone := range zones {\n\t\tfmt.Printf(\"%s\\n\", zone.Name)\n\t}\n\n\trecords, err := provider.GetRecords(context.TODO(), zone)\n\tif err != nil {\n\t\tfmt.Printf(\"ERROR: %s\\n\", err.Error())\n\t}\n\n\ttestName := \"libdns-test\"\n\ttestId := \"\"\n\tfor _, record := range records {\n\t\tfmt.Printf(\"%s (.%s): %s, %s\\n\", record.RR().Name, zone, record.RR().Data, record.RR().Type)\n\n\t\trecordId, err := vultr.GetRecordID(record)\n\t\tif err != nil {\n\t\t\tfmt.Printf(\"ERROR: %s\\n\", err.Error())\n\t\t}\n\n\t\tif record.RR().Name == testName {\n\t\t\ttestId = recordId\n\t\t}\n\t}\n\n\tif testId != \"\" {\n\t\t// fmt.Printf(\"Delete entry for %s (id:%s)\\n\", testName, testId)\n\t\t// _, err = provider.DeleteRecords(context.TODO(), zone, []libdns.Record{libdns.Record{\n\t\t// \tID: testId,\n\t\t// }})\n\t\t// if err != nil {\n\t\t// \tfmt.Printf(\"ERROR: %s\\n\", err.Error())\n\t\t// }\n\t\t// Set only works if we have a record.ID\n\t\tfmt.Printf(\"Replacing entry for %s\\n\", testName)\n\t\t_, err = provider.SetRecords(context.TODO(), zone, []libdns.Record{libdns.TXT{\n\t\t\tName:         testName,\n\t\t\tText:         fmt.Sprintf(\"Replacement test entry created by libdns %s\", time.Now()),\n\t\t\tTTL:          time.Duration(30) * time.Second,\n\t\t\tProviderData: testId,\n\t\t}})\n\t\tif err != nil {\n\t\t\tfmt.Printf(\"ERROR: %s\\n\", err.Error())\n\t\t}\n\t} else {\n\t\tfmt.Printf(\"Creating new entry for %s\\n\", testName)\n\t\t_, err = provider.AppendRecords(context.TODO(), zone, []libdns.Record{libdns.RR{\n\t\t\tType: \"TXT\",\n\t\t\tName: testName,\n\t\t\tData: fmt.Sprintf(\"This is a test entry created by libdns %s\", time.Now()),\n\t\t\tTTL:  time.Duration(30) * time.Second,\n\t\t}})\n\t\tif err != nil {\n\t\t\tfmt.Printf(\"ERROR: %s\\n\", err.Error())\n\t\t}\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibdns%2Fvultr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibdns%2Fvultr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibdns%2Fvultr/lists"}