3ece8c72b763ec5db18fbdbb8df0d073b1bb3ac5
Dhiraagu Dynamic DNS
A script to fetch Dhiraagu Fiber or ADSL connection IP and send to no-ip to assign ip to a domain name.
Requirements
bash
python3
requests
Installing
git clone https://github.com/shihaamabr/dhiraaguddns.git
cd dhiraaguddns
Edit the creds in ipupdate.py
Give executable permissions for manual.sh and auto.sh
chmod +x manual.sh
chmod +x auto.sh
set a chronjob for ./auto.sh | tee -a ip.log for automatic update
./manual.sh | tee -a ip.log if you needed to trigger update manually
The bash scripts have timezone set to Maldives, change it if you needed to log another timezone
List of tz database time zones - WiKi
Description
Languages
Python
81.3%
Shell
18.7%