An open API service indexing awesome lists of open source software.

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)

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