Name | Modified | Size | Downloads / Week |
---|---|---|---|
ddall.sh | 2017-12-01 | 980 Bytes | |
ddclientcurl.sh | 2017-12-01 | 762 Bytes | |
README.txt | 2017-12-01 | 1.7 kB | |
Totals: 3 Items | 3.5 kB | 0 |
README for ddclient-curl scripts ================================ 1. What is ddclient-curl? ------------------------- It's a couple of very lightweight scripts to simply do the following: * Get your public IP address, using a web service (from a specified interface, e.g. tun0) * Update your Dynamic DNS provider with your new public IP address * Support multiple hosts/updates for the same IP 2. What's in the box? --------------------- Two bash scripts: * ddclientcurl.sh * ddall.sh 3. Dependencies --------------- They need the following: * Linux environment running bash (e.g. Debian/Ubuntu/Mint) * curl * grep * a hostname registered with no-ip.org Usually, you can install curl and grep by typing: apt-get install curl grep 4. Installation --------------- * Put both files in a directory wherever you like * Edit ddall.sh (e.g. nano ddall.sh), set the properties for: - DDCLIENT_SH location (where you put the scripts) - EXT_NIC (the interface you want to check the public IP for) - DNS_NAME (the hostname you registered with no-ip.org) - USERNAME (the username for your account with no-ip.org) - PASSWORD (the password for your account with no-ip.org) * Edit ddclientcurl.sh (e.g. nano ddclientcurl.sh), set the properties for: - DDCLIENTCURL_LOG (where you like to log) - Under "Update Dyn DNS Clients", copy the curl invocation line for any other hostnames you wish to update for the same public IP address 5. Usage -------- * Call ddall.sh manually, OR * Call ddall.sh from an up script, e.g. under OpenVPN from up.sh, OR * Call ddall.sh from a cron job run on a schedule, OR * Call however you like :) 6. Warranty ----------- None whatsoever!