https://github.com/isfakeaccount/ddns_updater
ddns_updater
https://github.com/isfakeaccount/ddns_updater
Last synced: 3 months ago
JSON representation
ddns_updater
- Host: GitHub
- URL: https://github.com/isfakeaccount/ddns_updater
- Owner: isFakeAccount
- License: wtfpl
- Created: 2025-02-21T03:36:02.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-21T04:13:58.000Z (over 1 year ago)
- Last Synced: 2025-02-21T04:28:24.371Z (over 1 year ago)
- Language: Python
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# DDNS Updater
DDNS Updater is a simple, systemd-based utility that periodically updates your dynamic DNS (DDNS) records.
## Installation
Clone this repo in /usr/local/share
```bash
git clone https://github.com/isFakeAccount/ddns_updater.git
```
Change the ownership of the cloned directory by using this cmd
```bash
sudo chown -R $USER: ddns_updater
```
## Features
- Uses `systemd` to ensure periodic updates.
- Supports multiple DDNS providers via a JSON-based configuration.
## Configuration
Create a configuration file at `/etc/xdg/ddns_update/config.json` with the following format:
```json
{
"ddns_updater": [
{
"provider": "",
"update_url": "",
"method": "GET",
"params": {
"key": "value"
},
"body": {
"key": "value"
}
},
{
"provider": "",
"update_url": "",
"method": "GET",
"params": {
"key": "value"
},
"body": {
"key": "value"
}
}
]
}
```
## Setting Up the Service
1. **Run the `add_service_files.sh` script**:
This script will copy the necessary service and timer files to the correct systemd directory and start them.
```bash
./add_service_files.sh
```