Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jmkim/google-domains-ddns-updater
Google Domains DDNS Updater (Bash script)
https://github.com/jmkim/google-domains-ddns-updater
ddns ddns-client ddns-manager google-domains shell
Last synced: 3 months ago
JSON representation
Google Domains DDNS Updater (Bash script)
- Host: GitHub
- URL: https://github.com/jmkim/google-domains-ddns-updater
- Owner: jmkim
- Created: 2015-01-15T03:17:37.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2022-07-08T18:06:21.000Z (over 2 years ago)
- Last Synced: 2024-10-31T06:41:59.227Z (3 months ago)
- Topics: ddns, ddns-client, ddns-manager, google-domains, shell
- Language: Shell
- Homepage:
- Size: 207 KB
- Stars: 12
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Google Domains DDNS Updater
Works well with `bash`.This script follows the [LSBInitScripts](https://wiki.debian.org/LSBInitScripts/).
You can update your IP address every few minutes using `cron`, or update it at boot time using `init`.## Installation
*Make your [host information file](#example-of-host-information-file) first.*
`init`:
```bash
# Update IP at runlevel 0 1 2 3 4 5 6 (while booting, rebooting, shutdown, etc.)
$ update-rc.d update-ddns start 90 2 3 4 5 . stop 90 0 1 6 .
````cron`:
```bash
$ crontab -e# Update IP for every 5 mins
*/5 * * * * /etc/init.d/update-ddns start
```## Example of host information file
```json
{
"amount": 3,
"host1":
{
"hostname": "mysubdomain.mydomain",
"username": "iVETU0O6r0CTNYdX",
"password": "XsaMlfmzSU1dRrMg"
},
"host2":
{
"hostname": "mysubdomain2.mydomain",
"username": "sUNeCRROUlnYbyDJ",
"password": "afM95PIqWOGSNHHw"
},
"host3":
{
"hostname": "mysubdomain3.mydomain",
"username": "tNCcjHOKHyVnHTg0",
"password": "GiBeuNrU92JXLd1w"
}
}
```## Links
* [Google Domains Help - Dynamic DNS](https://support.google.com/domains/answer/6147083)