{"id":22235334,"url":"https://github.com/0x1ee7/cloudns","last_synced_at":"2025-07-05T22:39:51.507Z","repository":{"id":57569622,"uuid":"153333992","full_name":"0x1ee7/cloudns","owner":"0x1ee7","description":"Manage google cloud dns records.","archived":false,"fork":false,"pushed_at":"2018-10-17T21:48:46.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T08:43:27.193Z","etag":null,"topics":["cloud","dns","golang","google","google-dns"],"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/0x1ee7.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}},"created_at":"2018-10-16T18:24:49.000Z","updated_at":"2018-10-17T21:35:24.000Z","dependencies_parsed_at":"2022-09-26T19:00:44.008Z","dependency_job_id":null,"html_url":"https://github.com/0x1ee7/cloudns","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x1ee7%2Fcloudns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x1ee7%2Fcloudns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x1ee7%2Fcloudns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x1ee7%2Fcloudns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x1ee7","download_url":"https://codeload.github.com/0x1ee7/cloudns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245433188,"owners_count":20614449,"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":["cloud","dns","golang","google","google-dns"],"created_at":"2024-12-03T02:12:53.830Z","updated_at":"2025-03-25T09:24:39.857Z","avatar_url":"https://github.com/0x1ee7.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cloudns\n\nAdd \u0026 remove dns records to google cloud dns\n\n[![GoDoc](https://godoc.org/github.com/0x1EE7/cloudns/acme?status.svg)](https://godoc.org/github.com/0x1EE7/cloudns)\n\n## Installation\n\ncloudns supports both binary installs and install from source.\n\nTo get the binary just download the latest release for your OS/Arch from [the release page](https://github.com/0x1EE7/cloudns/releases)\nand put the binary somewhere convenient. cloudns does not assume anything about the location you run it from.\n\nTo install from source, just run:\n\n```bash\ngo get -u github.com/0x1EE7/cloudns\n```\n\n## Features\n\n- Add given IPs to the domain\n- Remove given IPs from the domain\n\n## Usage\n\n```shellsession\n$ cloudns add -i `curl -s https://ipinfo.io/ip`  -d your.app.tld\nUsing config file: ~/.cloudns.yaml\nAdding IPs [2.2.3.4] to your.app.tld\nUp to date records after changes: [2.2.3.4 1.2.3.4]\n\n$ cloudns remove -i 1.2.3.4 -i 2.2.3.4 -d your.app.tld\nUsing config file: ~/.cloudns.yaml\nRemoving IPs [1.2.3.4 2.2.3.4] from your.app.tld\nUp to date records after changes: []\n```\n\n### Config File \u0026 env\n`sa_file` \u0026 `dns_zone` can be configured in `--config` file\n```yaml\n$ cat ~/.cloudns.yaml\nsa_file: /path/to/google_cloud_sa_file.json\ndns_zone: yourapp-zone-name\n```\nValues in config file can be overriden|set by an env var too\n```shellsession\n$ SA_FILE=/path/to/another_sa.json cloudns\n```\n\n\n### Help\n```shellsession\n$ cloudns\nEasily modify DNS records in Google Cloud DNS\n\ncloudns is a CLI to add and remove DNS entries.\n\nUsage:\n  cloudns [command]\n\nAvailable Commands:\n  add         Add given IPs to the domain\n  help        Help about any command\n  remove      Remove given IPs for the domain\n\nFlags:\n      --config string   config file (default is $HOME/.cloudns.yaml)\n  -h, --help            help for cloudns\n  -r, --retry int       number of retries when multiple instances are concurrently trying to modify the same domain name  (default 1)\n\nUse \"cloudns [command] --help\" for more information about a command.\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x1ee7%2Fcloudns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x1ee7%2Fcloudns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x1ee7%2Fcloudns/lists"}