{"id":17664459,"url":"https://github.com/tilfin/gc-ddns","last_synced_at":"2025-05-07T23:38:00.388Z","repository":{"id":36568766,"uuid":"40874686","full_name":"tilfin/gc-ddns","owner":"tilfin","description":"Dynamic DNS API Service for Google Cloud","archived":false,"fork":false,"pushed_at":"2016-09-22T05:00:54.000Z","size":16,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-26T05:41:31.752Z","etag":null,"topics":["dynamic-dns-solution","google-cloud"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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}},"created_at":"2015-08-17T07:44:07.000Z","updated_at":"2020-08-06T05:02:22.000Z","dependencies_parsed_at":"2022-09-08T20:41:01.623Z","dependency_job_id":null,"html_url":"https://github.com/tilfin/gc-ddns","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilfin%2Fgc-ddns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilfin%2Fgc-ddns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilfin%2Fgc-ddns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilfin%2Fgc-ddns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tilfin","download_url":"https://codeload.github.com/tilfin/gc-ddns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243042922,"owners_count":20226722,"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":["dynamic-dns-solution","google-cloud"],"created_at":"2024-10-23T20:05:29.696Z","updated_at":"2025-03-11T13:32:03.412Z","avatar_url":"https://github.com/tilfin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"gc-ddns\n=======\n\nDynamic DNS API Service for Google Cloud\n\nThis is a hub service to connect dynamic IP address endpoint as a home network at any time.\nYour DNS record on Google Cloud is updated by posting this service from Home PC periodically.\n\n## Environment\n\nNode.js 4.3 or Later\n\n## Configuration\nEdit _config/local.yml_\n\n```\nconfig:\n  app:\n    apiKey: \u003cAPI service key\u003e\n  googleCloud:\n    project: \u003cproject name\u003e\n    authKeyJsonFile: \u003cauth json file path\u003e\n    dns:\n      zone: \u003czone name\u003e\n      domain: \u003cdomain\u003e\n```\n\n- _authKeyJsonFile_ is provided by authentication page at Google Cloud Console.\n\n## Setup and Start API service\n\n```\n$ git clone git@github.com:tilfin/gc-ddns.git\n$ cd gc-ddns\n$ npm install\n$ node app.js\n```\n\n## How to update A/AAAA record\n\n### Linux/OS X\n\n```\n$ curl -X POST \\\n    -d 'host=\u003cHost name\u003e\u0026ip=\u003cIP Address\u003e\u0026key=\u003cAPI service key\u003e\u0026ttl=\u003cTTL\u003e' \\\n    http://localhost:8080/records\n```\n\n### Windows PowerShell\n\n```\nPS \u003e Invoke-RestMethod http://localhost:8080/records `\n    -Method POST `\n    -Body \"host=\u003cHost name\u003e\u0026ip=\u003cIP Address\u003e\u0026key=\u003cAPI service key\u003e\u0026ttl=\u003cTTL\u003e\" `\n```\n\n- Service port is config.app.port (default 8080)\n- Default TTL is config.ttl\n- Specify request source host IP address if _ip_ is not specified\n- Recommend to access API Service via HTTPS (using nginx as a reverse proxy)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftilfin%2Fgc-ddns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftilfin%2Fgc-ddns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftilfin%2Fgc-ddns/lists"}