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.
Find a file
2024-04-02 13:38:20 -03:00
nameservers cloudflare api 2024-04-02 13:38:20 -03:00
.gitignore gitignore 2023-01-11 22:07:24 -03:00
config.go cloudflare api 2024-04-02 13:38:20 -03:00
go.mod cambiar nombre de paquete para go install 2023-01-23 12:08:07 -03:00
main.go borrar ip poller 2023-07-07 13:59:06 -03:00
readme.md cloudflare api 2024-04-02 13:38:20 -03:00
Taskfile.yml ko 2023-07-07 13:38:41 -03:00

ddnser

Refreshes domain records periodically or when interfaces change IP addresses.

Usage

Create a config file:

{
  // "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"
    },
    {
      "type": "cloudflare v4 api",
      "name": "*.nulo.in",
      "zoneName": "nulo.in",
      "key": "INSERT_KEY" // https://dash.cloudflare.com/profile/api-tokens
    }
  ]
}

Run:

ddnser ./path/to/config.json