Skip to content

jameskimmel/go_dyndns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go_dyndns

This program does DynDNS updates for deSEC.io
Please use it with caution, I am not a coder, there are probably many bugs!

What it does currently:

  • Wizard will create a config.json file (including your unencrypted token)
  • Uses deSEC services to determine your IP(s)
  • Always sets the IP(s) in the update URL to prevent MITM attacks
  • Always uses HTTPS (thanks to GO)
  • Last set IP(s) and last update time will be cached in the config file
  • Only try to update if something actually has changed
  • Only try to update if the last update was at least 5min ago (can be adjusted in the config file)
  • Instead of checking for an IP, you can also hardcode it in the config.json file. This is only useful for special edge cases.

What is missing:

  • Can only check a single domain
  • Only uses desec.io services to determine your IP(s), no other services can be selected
  • Only works for deSEC.io
  • some kind of timer or service. I recommend you to use crontab. You can run it in a one minute intervall, since it will only ask for an update if your IP(s) changed.
  • a Windows build
  • code review from someone that actually knows how to code :)

About

DynDNS updates for deSEC.io

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages