{"id":50978821,"url":"https://github.com/selectel/private-dns-go","last_synced_at":"2026-06-19T12:03:05.207Z","repository":{"id":360967841,"uuid":"1114376963","full_name":"selectel/private-dns-go","owner":"selectel","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-28T15:48:08.000Z","size":17,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-28T17:23:24.461Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/selectel.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-11T09:34:53.000Z","updated_at":"2025-12-22T11:20:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/selectel/private-dns-go","commit_stats":null,"previous_names":["selectel/private-dns-go"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/selectel/private-dns-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectel%2Fprivate-dns-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectel%2Fprivate-dns-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectel%2Fprivate-dns-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectel%2Fprivate-dns-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/selectel","download_url":"https://codeload.github.com/selectel/private-dns-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectel%2Fprivate-dns-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34530302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-06-19T12:03:04.388Z","updated_at":"2026-06-19T12:03:05.199Z","avatar_url":"https://github.com/selectel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Getting started\n\n### Installation\n\nYou can install needed `private-dns-go` packages via `go get` command:\n\n```bash\ngo get github.com/selectel/private-dns-go\n```\n\n### Authentication\n\nTo work with the Selectel Cloud Private DNS API you first need to:\n\n* Create a Selectel account: [registration page](https://my.selectel.ru/registration).\n* Create a project in Selectel Cloud Platform [projects](https://my.selectel.ru/vpc/projects).\n* Retrieve a token for your project via API or [go-selvpcclient](https://github.com/selectel/go-selvpcclient).\n\n### Endpoints\n\nYou can find available endpoints [here](https://docs.selectel.ru/en/api/urls/).\n\n### Usage example\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"log\"\n\n\tprivatedns \"github.com/selectel/private-dns-go/pkg/v1\"\n)\n\nfunc main() {\n\n\t// Create the client.\n    cfg := \u0026privatedns.Config{\n        // Token to work with Selectel Cloud project.\n        AuthToken: \"...\"\n        // Cloud private dns endpoint to work with.\n        URL: \"https://ru-3.cloud.api.selcloud.ru/private-dns/\"\n    }\n\tclient := privatedns.NewPrivateDNSClient(cfg)\n\n\t// Get zones for project.\n\tzones, err := client.ListZones(context.Background(), nil)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\t// Print the zones.\n\tfor idx, zone := range zones {\n\t\tfmt.Printf(\"Zone %d: %+v\", idx, zone)\n\t}\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselectel%2Fprivate-dns-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fselectel%2Fprivate-dns-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselectel%2Fprivate-dns-go/lists"}