dhiraaguddns/README.md

31 lines
820 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:23:02 +05:00
`bash`\
2020-01-20 05:16:37 +05:00
`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:41:36 +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
```
2020-01-20 05:41:36 +05:00
2020-01-20 06:31:40 +05:00
set a chronjob for `./auto.sh` for automatic update\
2020-01-20 06:24:41 +05:00
`./manual.sh` if you needed to trigger update manually
2020-01-20 06:32:47 +05:00
`auto.sh` include path for python3.6 `/usr/bin/python3.6` edit to your path if not working.
2020-01-20 05:08:08 +05:00
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
---