Skip to content

TonyWhite/quack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

quack

Bash script for Duck DNS

Features

  • 🎯 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_ip stores 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 -6 is the only thing to edit)

Setup

1. πŸ“¦ Install Dependencies

  • wget
  • curl
  • cron (optional)

2. πŸ“œ Install the script

Download the script directly from GitHub

sudo su
cd /usr/bin
wget https://raw.githubusercontent.com/TonyWhite/quack/main/quack
chmod +x quack

3. πŸ“… Launch with Cron (optional)

Edit cron with root

sudo su
crontab -e

Append this and save

* * * * * quack >/dev/null 2>&1

IP will be checked every minute.

πŸ’£ Uninstall

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)

About

Bash script for Duck DNS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages