{"id":17664458,"url":"https://github.com/tilfin/gcdns-cli","last_synced_at":"2025-03-30T12:16:52.011Z","repository":{"id":145828487,"uuid":"94230781","full_name":"tilfin/gcdns-cli","owner":"tilfin","description":"Google Cloud DNS CLI","archived":false,"fork":false,"pushed_at":"2017-06-13T16:41:38.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T14:12:33.152Z","etag":null,"topics":["cli-app","google-cloud-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/tilfin.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":"2017-06-13T15:55:00.000Z","updated_at":"2017-06-13T16:43:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"f6ace567-ec3d-4f9d-bd48-03158fc8028f","html_url":"https://github.com/tilfin/gcdns-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilfin%2Fgcdns-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilfin%2Fgcdns-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilfin%2Fgcdns-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilfin%2Fgcdns-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tilfin","download_url":"https://codeload.github.com/tilfin/gcdns-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246314150,"owners_count":20757463,"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":["cli-app","google-cloud-dns"],"created_at":"2024-10-23T20:05:29.318Z","updated_at":"2025-03-30T12:16:51.978Z","avatar_url":"https://github.com/tilfin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gcdns\n\n## Build\n\n```\n$ go build -o gcdns main.go\n```\n\n### Windows\n\n```\n$ GOOS=windows GOARCH=386 go build -o gcdns.exe main.go\n```\n\n## Usage\n\n```\n$ ./gcdns --help\nusage: gcdns --project=PROJECT --mz=MZ [\u003cflags\u003e] \u003ccommand\u003e [\u003cargs\u003e ...]\n\nGoogle Cloud DNS CLI\n\nFlags:\n  --help             Show context-sensitive help (also try --help-long and\n                     --help-man).\n  --keyfile=KEYFILE  JSON key file\n  --project=PROJECT  Project name of Google Cloud\n  --mz=MZ            Target managed zone of project\n\nCommands:\n  help [\u003ccommand\u003e...]\n    Show help.\n\n  list\n    list record\n\n  set \u003chost\u003e \u003cip\u003e\n    set record\n\n```\n\n## Examples\n\n### Show list record sets\n\n```\n$ ./gcdns list --keyfile company-abcdef012345.json --project high-office-XXX --mz ddns-example-net\n+-----------------------------+------+------------------------------------------------------------------+\n| Name                        | Type | Value                                                            |\n+-----------------------------+------+------------------------------------------------------------------+\n| ddns.example.net.           | NS   | ns-cloud-c1.googledomains.com.                                   |\n|                             |      | ns-cloud-c2.googledomains.com.                                   |\n|                             |      | ns-cloud-c3.googledomains.com.                                   |\n|                             |      | ns-cloud-c4.googledomains.com.                                   |\n+-----------------------------+------+------------------------------------------------------------------+\n| ddns.example.net.           | SOA  | ns.googledomains.com. admin.google.com. 0 21600 3600 1209600 300 |\n+-----------------------------+------+------------------------------------------------------------------+\n| local.ddns.example.net.     | A    | 127.0.0.1                                                        |\n+-----------------------------+------+------------------------------------------------------------------+\n```\n\n### Set A record\n\nSet IP address of the host where you logged in\n\n```\n$ ./gcdns set --keyfile company-abcdef012345.json --project high-office-XXX --mz ddns-example-net \\\n  mine.ddns.example.net `curl ifconfig.io 2\u003e /dev/null`\nA record of mine.ddns.example.net has changed (new IP address: 12.34.56.78).\n```\n\n## References\n\n* [\nGoogle Application Default Credentials](https://developers.google.com/identity/protocols/application-default-credentials)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftilfin%2Fgcdns-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftilfin%2Fgcdns-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftilfin%2Fgcdns-cli/lists"}