The project was developed in Python and used for updating /etc/hosts automatically when your home-server's public IP address has been changed because of ISP. The project requires at least one static IP server outside to record fluctuated ip address from the home-server.
Requirement
- Static IP server (OS: any Linux Distro )
- Home-Server installed python
Installation
- Copy odind folder to static IP server in any path and make odind folder in /var/log ( path of Log file )
- You can config any parameters such as port or ip address in odin.py
- Append followed comment into /etc/host to make zone of dynamic hostname
# dynamic.start:
# :dynamic.end
- Open odind folder and run server with this command
run python odind.py start(the process runs in daemon mode) - Copy thor folder into home-server
- You can config any parameters such as port or hostname (default is homeserver) in thor.py
- Open thor folder and run client with this command
python thord.py start(the process also runs in daemon mode) - Test by ping to hostname in Static IP Server