How To Install ddupdate on Fedora 34
Introduction
In this tutorial we learn how to install ddupdate
on Fedora 34.
What is ddupdate
A tool to update dynamic IP addresses typically obtained using DHCP with dynamic DNS services such as changeip.com, duckdns.org or no-ip.com. It makes it possible to access a machine with a fixed name like myhost.duckdns.org even if the ip address changes. ddupdate caches the address, and only attempts the update if the address actually is changed. The tool has a plugin structure with plugins for obtaining the actual address (typically hardware-dependent) and to update it (service depen‐ dent). For supported services, it’s a linux-centric, user-friendly and flexible alternative to the ubiquitous ddclient. ddupdate is distributed with systemd support to run at regular intervals, and with NetworkManager templates to run when interfaces goes up or down.
We can use yum
or dnf
to install ddupdate
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install ddupdate.
Install ddupdate on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install ddupdate
using dnf
by running the following command:
sudo dnf -y install ddupdate
Install ddupdate on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install ddupdate
using yum
by running the following command:
sudo yum -y install ddupdate
How To Uninstall ddupdate on Fedora 34
To uninstall only the ddupdate
package we can use the following command:
sudo dnf remove ddupdate
ddupdate Package Contents on Fedora 34
/usr/bin/ddupdate
/usr/bin/ddupdate-config
/usr/lib/python3.9/site-packages/ddupdate
/usr/lib/python3.9/site-packages/ddupdate-0.6.5-py3.9.egg-info
/usr/lib/python3.9/site-packages/ddupdate-0.6.5-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/ddupdate-0.6.5-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/ddupdate-0.6.5-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/ddupdate-0.6.5-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/ddupdate/__init__.py
/usr/lib/python3.9/site-packages/ddupdate/__pycache__
/usr/lib/python3.9/site-packages/ddupdate/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/ddupdate/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/ddupdate/__pycache__/config.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/ddupdate/__pycache__/config.cpython-39.pyc
/usr/lib/python3.9/site-packages/ddupdate/__pycache__/ddplugin.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/ddupdate/__pycache__/ddplugin.cpython-39.pyc
/usr/lib/python3.9/site-packages/ddupdate/__pycache__/main.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/ddupdate/__pycache__/main.cpython-39.pyc
/usr/lib/python3.9/site-packages/ddupdate/config.py
/usr/lib/python3.9/site-packages/ddupdate/ddplugin.py
/usr/lib/python3.9/site-packages/ddupdate/main.py
/usr/lib/systemd/user/ddupdate.service
/usr/lib/systemd/user/ddupdate.timer
/usr/share/bash-completion/completions/ddupdate
/usr/share/ddupdate
/usr/share/ddupdate/dispatcher.d
/usr/share/ddupdate/dispatcher.d/50-ddupdate
/usr/share/ddupdate/plugins
/usr/share/ddupdate/plugins/__pycache__
/usr/share/ddupdate/plugins/__pycache__/changeip.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/changeip.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/cloudflare.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/cloudflare.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/default_if.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/default_if.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/default_web.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/default_web.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/default_web6.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/default_web6.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/dnsdynamic_org.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/dnsdynamic_org.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/dnsexit.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/dnsexit.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/dnspark.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/dnspark.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/dry_run.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/dry_run.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/dtdns.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/dtdns.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/duckdns.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/duckdns.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/duiadns.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/duiadns.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/dyfi.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/dyfi.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/dynu.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/dynu.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/dynv6_com.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/dynv6_com.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/freedns.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/freedns.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/freedns_io.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/freedns_io.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/googledomains.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/googledomains.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/hardcoded_if.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/hardcoded_if.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/hardcoded_ip.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/hardcoded_ip.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/hurricane_electric.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/hurricane_electric.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/ip_disabled.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/ip_disabled.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/ip_from_cmd.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/ip_from_cmd.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/myonlineportal_net.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/myonlineportal_net.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/no_ip.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/no_ip.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/now_dns.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/now_dns.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/nsupdate.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/nsupdate.cpython-39.pyc
/usr/share/ddupdate/plugins/__pycache__/system_ns.cpython-39.opt-1.pyc
/usr/share/ddupdate/plugins/__pycache__/system_ns.cpython-39.pyc
/usr/share/ddupdate/plugins/changeip.py
/usr/share/ddupdate/plugins/cloudflare.py
/usr/share/ddupdate/plugins/default_if.py
/usr/share/ddupdate/plugins/default_web.py
/usr/share/ddupdate/plugins/default_web6.py
/usr/share/ddupdate/plugins/dnsdynamic_org.py
/usr/share/ddupdate/plugins/dnsexit.py
/usr/share/ddupdate/plugins/dnspark.py
/usr/share/ddupdate/plugins/dry_run.py
/usr/share/ddupdate/plugins/dtdns.py
/usr/share/ddupdate/plugins/duckdns.py
/usr/share/ddupdate/plugins/duiadns.py
/usr/share/ddupdate/plugins/dyfi.py
/usr/share/ddupdate/plugins/dynu.py
/usr/share/ddupdate/plugins/dynv6_com.py
/usr/share/ddupdate/plugins/freedns.py
/usr/share/ddupdate/plugins/freedns_io.py
/usr/share/ddupdate/plugins/googledomains.py
/usr/share/ddupdate/plugins/hardcoded_if.py
/usr/share/ddupdate/plugins/hardcoded_ip.py
/usr/share/ddupdate/plugins/hurricane_electric.py
/usr/share/ddupdate/plugins/ip_disabled.py
/usr/share/ddupdate/plugins/ip_from_cmd.py
/usr/share/ddupdate/plugins/myonlineportal_net.py
/usr/share/ddupdate/plugins/no_ip.py
/usr/share/ddupdate/plugins/now_dns.py
/usr/share/ddupdate/plugins/nsupdate.py
/usr/share/ddupdate/plugins/system_ns.py
/usr/share/ddupdate/systemd
/usr/share/ddupdate/systemd/ddupdate.service
/usr/share/ddupdate/systemd/ddupdate.timer
/usr/share/doc/ddupdate
/usr/share/doc/ddupdate/CONFIGURATION.md
/usr/share/doc/ddupdate/CONTRIBUTE.md
/usr/share/doc/ddupdate/NEWS
/usr/share/doc/ddupdate/README.md
/usr/share/licenses/ddupdate
/usr/share/licenses/ddupdate/LICENSE.txt
/usr/share/man/man5/ddupdate.conf.5.gz
/usr/share/man/man8/ddupdate-config.8.gz
/usr/share/man/man8/ddupdate.8.gz
References
Summary
In this tutorial we learn how to install ddupdate
on Fedora 34 using yum and dnf.