Skip to content

A bot that will refresh you IP-Address at several DynDns Providers

Notifications You must be signed in to change notification settings

soynx/DynDns-Refresh-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DynDns-Refresh-Bot

A bot that will refresh you IP-Address at several DynDns Providers

Define the Properties of this tool over a Env-Variable called "JAVA_OPTS". This variable can be used to set any amount of Options to the jar execution call. The reason is to set properties over the env that will then set them over the jar call like this:

$JAVA_OPTS="-Dtimeouts.http=3000"

With the -D parameter you can set Properties.

So use it like this:

version: "3.8"

services:
  dyndns-bot:
    build: .
    container_name: dyndns-bot
    environment:
      JAVA_OPTS: "-Drefresh.domains=https://url1.org;https://url2.org -Dtimeouts.loop=5"
      LOG_LEVEL: "DEBUG"

Following arguments are possible:

  • refresh.domains: all domains that you use to refresh your dyndns seperated by a ;
  • timeouts.loop: how long the loop is going to stop for each cycle (in seconds)
  • timeouts.http: how long it takes for a http call to timeout (in ms)
  • startup-ip: the ip-address that will be used at the start of the service (does not play a big difference)

Log level can be set by setting env LOG_LEVEL to TRACE, DEBUG, INFO, WARN, or ERROR.

Logs are saved inside the container at /app/logs/

About

A bot that will refresh you IP-Address at several DynDns Providers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •