Skip to content

maszaa/dy-fi-ip-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dy.fi ip address updater

This Python script is for updating your dynamic ip to the dynamic DNS provider dy.fi. The script will update the ip once it's started

  • every one hour if the ip has changed, or
  • every six days regardless of that so that the DNS stays attached to your ip

Requirements

You need Python 3, dy.fi account and an dynamic DNS setup there.

Installation

  1. Create Python virtual environment
  2. Install requirements in requirements.txt to that
  3. cp env.sh.example env.sh and fill your dy.fi account details

Usage

Execute run.sh with bash. Leave it running as such, put it in cron or deploy a systemd service as you wish.

Disclaimer

Code base is pretty old so it's not beautiful. But it works!

About

Python script for updating your dynamic IP to the dynamic DNS provider dy.fi

Resources

Stars

Watchers

Forks

Contributors