This repository has been archived on 2024-04-02. You can view files and clone it, but cannot push or open issues or pull requests.
2023-01-12 01:07:11 +00:00
|
|
|
# ddnser
|
|
|
|
|
|
|
|
Refreshes domain records periodically or when interfaces change IP addresses.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
Create a config file:
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
// "ip": "hardcoded IP address, if set it is used instead of detected address",
|
|
|
|
// how often to poll unconditionally
|
|
|
|
"every": 60,
|
|
|
|
"domains": [
|
|
|
|
{
|
|
|
|
"type": "njalla ddns",
|
|
|
|
"name": "estoesprueba.nulo.in",
|
|
|
|
"key": "INSERT_KEY"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "he.net ddns",
|
|
|
|
"name": "pruebas.bat.ar",
|
|
|
|
"key": "INSERT_KEY"
|
2024-04-02 16:38:20 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "cloudflare v4 api",
|
|
|
|
"name": "*.nulo.in",
|
|
|
|
"zoneName": "nulo.in",
|
|
|
|
"key": "INSERT_KEY" // https://dash.cloudflare.com/profile/api-tokens
|
2023-01-12 01:07:11 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
Run:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
ddnser ./path/to/config.json
|
|
|
|
```
|