How To Install jdns on Fedora 34
Introduction
In this tutorial we learn how to install jdns
on Fedora 34.
What is jdns
JDNS is a simple DNS implementation that can perform normal DNS queries of any record type (notably SRV), as well as Multicast DNS queries and advertising. Multicast support is based on Jeremie Miller’s “mdnsd” implementation. For maximum flexibility, JDNS is written in C with no direct dependencies, and is licensed under the MIT license. Your application must supply functionality to JDNS, such as UDP sending/receiving, via callbacks. Qt-based command-line tool called ‘jdns’ that can be used to test functionality. jdns 2.0.6 5.fc34 x86_64 54 k jdns-2.0.6-5.fc34.src.rpm fedora A simple DNS queries library https MIT JDNS is a simple DNS implementation that can perform normal DNS queries of any record type (notably SRV), as well as Multicast DNS queries and advertising. Multicast support is based on Jeremie Miller’s “mdnsd” implementation. For maximum flexibility, JDNS is written in C with no direct dependencies, and is licensed under the MIT license. Your application must supply functionality to JDNS, such as UDP sending/receiving, via callbacks. Qt-based command-line tool called ‘jdns’ that can be used to test functionality.
We can use yum
or dnf
to install jdns
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install jdns.
Install jdns 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 jdns
using dnf
by running the following command:
sudo dnf -y install jdns
Install jdns 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 jdns
using yum
by running the following command:
sudo yum -y install jdns
How To Uninstall jdns on Fedora 34
To uninstall only the jdns
package we can use the following command:
sudo dnf remove jdns
jdns Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/76
/usr/lib/.build-id/76/ea8c554a0296e8975c2fd3d3147e1b464c8c26
/usr/lib64/libjdns.so.2
/usr/lib64/libjdns.so.2.0.6
/usr/share/doc/jdns
/usr/share/doc/jdns/COPYING
/usr/share/doc/jdns/README.md
/usr/lib/.build-id
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/524c1f4f7ba1fe754b84fdcb5f20f86561829b
/usr/lib/libjdns.so.2
/usr/lib/libjdns.so.2.0.6
/usr/share/doc/jdns
/usr/share/doc/jdns/COPYING
/usr/share/doc/jdns/README.md
References
- [jdns website](https://github.com/psi-im/jdns https://github.com/psi-im/jdns)
Summary
In this tutorial we learn how to install jdns
on Fedora 34 using yum and dnf.