How To Install jdns on Fedora 36

In this tutorial we learn how to install jdns in Fedora 36. jdns is A simple DNS queries library

Introduction

In this tutorial we learn how to install jdns on Fedora 36.

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.

We can use yum or dnf to install jdns on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install jdns.

Install jdns on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install jdns using dnf by running the following command:

sudo dnf -y install jdns

Install jdns on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 36

To uninstall only the jdns package we can use the following command:

sudo dnf remove jdns

jdns Package Contents on Fedora 36

---
title: "How To Install jdns on Fedora 36"
linkTitle: "jdns"
type: "docs"
description: "In this tutorial we learn how to install jdns in Fedora 36. jdns is A simple DNS queries library"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/jdns-featured.png
---

## Introduction

In this tutorial we learn how to install `jdns` on Fedora 36.

### 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.  

We can use `yum` or `dnf` to install `jdns` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install jdns.

## Install jdns on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

After updating yum database, We can install jdns using dnf by running the following command:

sudo dnf -y install jdns

Install jdns on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 36

To uninstall only the jdns package we can use the following command:

sudo dnf remove jdns

jdns Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/64
/usr/lib/.build-id/64/9f175c70d6ee000d88a0e9c88a0766ee7103e6
/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

Summary

In this tutorial we learn how to install jdns on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/lib/.build-id /usr/lib/.build-id/14 /usr/lib/.build-id/14/5263f4c5c665b9386b0c380e72f65268c12255 /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


## References

* [jdns website](https://github.com/psi-im/jdns)

## Summary

In this tutorial we learn how to install `jdns` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).