remove wget dependency, use curl instead

This commit is contained in:
2024-02-29 11:41:25 +01:00
parent ddb6cda6df
commit 64832fc1b1
3 changed files with 21 additions and 23 deletions

View File

@@ -1,16 +1,16 @@
# Snap DynDNS Client
**Snap DynDNS Client** is the perfect counterpart to [**Snap DynDNS Server**](https://src.mehl.mx/mxmehl/snap-dyndns-server). This software can be easily used by any person having an account on such a server instance. This script looks up the current public IP address, sends it to the server part (together with the DynDNS domain name, personal username, and password), which in the end does all the updating process of the domain itself.
**Snap DynDNS Client** is the perfect counterpart to [**Snap DynDNS Server**](https://src.mehl.mx/mxmehl/snap-dyndns-server). This software can be easily used by any person having an account on such a server instance. This script looks up the current public IP address, sends it to the server part (together with the DynDNS domain name, personal username, and password), which in the end does all the updating process of the domain itself.
## Additional Features
The application can also be instructed to ignore certain IP addresses. For those there will be no update sent to the server part. This may make sense if you use a VPN server or tunnel every traffic through Tor. For the latter, it downloads the official list of Tor exit nodes every 7 days and compares your actual public IP with these addresses.
The application can also be instructed to ignore certain IP addresses. For those there will be no update sent to the server part. This may make sense if you use a VPN server or tunnel every traffic through Tor. For the latter, it downloads the official list of Tor exit nodes every 7 days and compares your actual public IP with these addresses.
You can use any service returning your IP address in a plain form (so no HTML headers or other website content). There is one service set by default. Of course, you can also use IPv6 addresses. It just has to correlate with the DynDNS domain's record. Please read more in the server documentation about this.
## Requirements
This Bash script requires curl and wget to be installed. It has been tested on a Debian Sid (April 2016) and doesn't use fancy parameters for both applications.
This Bash script requires curl to be installed. It has been tested on a Debian Bookworm and doesn't use fancy parameters for both applications.
## Installation