dhiraaguddns/README.md

28 lines
722 B
Markdown
Raw Normal View History

2020-01-20 05:08:08 +05:00
# Dhiraagu Dynamic DNS
2020-01-20 05:01:31 +05:00
A script to fetch Dhiraagu Fiber or ADSL connection IP and send to no-ip to assign ip to a domain name.
2020-01-20 05:08:08 +05:00
## Requirements
2020-01-20 05:16:37 +05:00
`linux`\
`python3`\
`requests`
2020-01-20 05:08:08 +05:00
## Installing
```bash
git clone https://github.com/shihaamabr/dhiraaguddns.git
cd dhiraaguddns
```
2020-01-20 05:08:37 +05:00
Edit the creds in ipupdate.py\
2020-01-20 05:16:37 +05:00
Give executable permissions for `manual.sh` `and auto.sh`
2020-01-20 05:08:08 +05:00
```bash
chmod +x manual.sh
chmod +x auto.sh
```
set a chronjob for auto.sh for automatic update
`./manual.sh` if you needed to trigger update manually
2020-01-20 05:19:53 +05:00
The bash scripts have timezone set to Maldives, change it if you needed to log another timezone\
2020-01-20 05:16:37 +05:00
[List of tz database time zones - WiKi](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
2020-01-20 05:19:33 +05:00
2020-01-20 05:08:08 +05:00
---