Bash script for Duck DNS
- π― Extremely lightweight for your server: lowest impact on CPU, RAM and Network
- π Extremely lightweight for duckdns.org: connect to it only when your IP changes
- π€ Nerd friendly:
/tmp/last_ipstores IP in plaintext - π Privacy friendly: check the "online status" with Open DNS
- π Simple IP detection with icanhazip.com
- πͺ Robust: I don't think this script needs compatibility updates (except for IPV6, then
curl -6is the only thing to edit)
- wget
- curl
- cron (optional)
Download the script directly from GitHub
sudo su
cd /usr/bin
wget https://raw.githubusercontent.com/TonyWhite/quack/main/quack
chmod +x quack
Edit cron with root
sudo su
crontab -e
Append this and save
* * * * * quack >/dev/null 2>&1
IP will be checked every minute.
You are free to brutally delete this script from your machine.
rm /usr/bin/quack /tmp/last_ip
Now remove unused packages:
- wget (usually installed by default)
- curl
- cron (usually installed by default)