https://github.com/mathieu2301/easy-gns
Automatic DDNS updater for GDomains
https://github.com/mathieu2301/easy-gns
ddns ddns-client ddns-updater dns domains google-domains google-domains-ip-updater
Last synced: 5 days ago
JSON representation
Automatic DDNS updater for GDomains
- Host: GitHub
- URL: https://github.com/mathieu2301/easy-gns
- Owner: Mathieu2301
- Created: 2022-08-22T18:35:39.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-09T20:37:41.000Z (about 2 years ago)
- Last Synced: 2025-01-15T13:31:00.923Z (5 months ago)
- Topics: ddns, ddns-client, ddns-updater, dns, domains, google-domains, google-domains-ip-updater
- Language: JavaScript
- Homepage: https://domains.google.com
- Size: 5.86 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Easy GNS
Simplest DDNS auto updater for Google Domains.
This script will update your domains every `X` minutes.## Run with Docker
```yml
version: '3'services:
easy-gns:
image: ghcr.io/mathieu2301/easy-gns:latest
restart: always
environment:
GNS_EMAIL: [email protected] # Your GDomains email
GNS_IPV6: true # Set this to false if you are sure you don't use ipv6
GNS_INTERVAL: 30 # Interval in minutes# You can add as many domains as you want
# every variable starting with GNS_ will
# be parsed as a domain
GNS_DOMAIN_1: username1:[email protected]
GNS_DOMAIN_2: username2:password2@*.example2.fr
GNS_DOMAIN_3: username3:password3@*.subdomain.example.fr
# ...
GNS_DEBUG: 1 # Comment this line to disable debug mode
```## Run with pm2
### Configuration
Create a `.env` file with the following content:
```sh
[email protected] # Your GDomains email
GNS_IPV6=true # Set this to false if you are sure you don't use ipv6
GNS_INTERVAL=30 # Interval in minutes# You can add as many domains as you want
# every variable starting with GNS_ will
# be parsed as a domain
GNS_DOMAIN_1=username1:[email protected]
GNS_DOMAIN_2=username2:password2@*.example2.fr
GNS_DOMAIN_3=username3:password3@*.subdomain.example.fr
# ...
GNS_DEBUG=1 # Comment this line to disable debug mode
```### Run
```sh
pm2 start main.js --name 'Easy GNS'
```