https://github.com/eason0729/google-ddns-js
Dymanic dns for cloud dns(GCP)
https://github.com/eason0729/google-ddns-js
ddns docker google-cloud ipv6-support
Last synced: about 2 months ago
JSON representation
Dymanic dns for cloud dns(GCP)
- Host: GitHub
- URL: https://github.com/eason0729/google-ddns-js
- Owner: Eason0729
- Created: 2023-03-04T12:17:39.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T12:18:01.000Z (over 3 years ago)
- Last Synced: 2025-05-31T19:36:47.607Z (about 1 year ago)
- Topics: ddns, docker, google-cloud, ipv6-support
- Language: JavaScript
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# google-ddns-js
Dymanic dns for cloud dns(GCP)
## Environment variable
```env
GOOGLE_APPLICATION_CREDENTIALS= // require if not on gcp
ZONE_NAME=// require
DOMAIN_NAME=// require
TTL=// require
DETECT_INTERVAL=// default to 60sec
IPV4="true"|"false"// default to "true"
IPV6="true"|"false"// default to "false"
```
# Get started
## bare-metal
```shell
npm run production
```
## docker
1. start the container with environment variable
## docker on google cloud
1. configure the AIM setting, make sure the container have following premission
- dns.changes.create
- dns.changes.get
- dns.changes.list
- dns.projects.get
- dns.resourceRecordSets.create
- dns.resourceRecordSets.delete
- dns.resourceRecordSets.get
- dns.resourceRecordSets.list
- dns.resourceRecordSets.update
2. start the container with environment variable