How To Install mydns on Fedora 34

mydns is A Database based DNS server

Introduction

In this tutorial we learn how to install mydns on Fedora 34.

What is mydns

A name server that serves records directly from your database.

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

Install mydns 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 mydns using dnf by running the following command:

sudo dnf -y install mydns

Install mydns 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 mydns using yum by running the following command:

sudo yum -y install mydns

How To Uninstall mydns on Fedora 34

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

sudo dnf remove mydns

mydns Package Contents on Fedora 34

/etc/mydns.conf
/usr/lib/systemd/system/mydns.service
/usr/lib/sysusers.d/mydns.conf
/usr/share/doc/mydns
/usr/share/doc/mydns/AUTHORS
/usr/share/doc/mydns/COPYING
/usr/share/doc/mydns/ChangeLog
/usr/share/doc/mydns/HOWTO
/usr/share/doc/mydns/NEWS
/usr/share/doc/mydns/README
/usr/share/doc/mydns/TODO
/usr/share/info/mydns.info.gz
/usr/share/locale/es/LC_MESSAGES/mydns.mo
/usr/share/locale/fr/LC_MESSAGES/mydns.mo
/usr/share/locale/pt_BR/LC_MESSAGES/mydns.mo
/usr/share/man/man5/mydns.conf.5.gz
/usr/share/man/man8/mydns-conf.8.gz
/usr/share/man/man8/mydns.8.gz
/usr/share/man/man8/mydnscheck.8.gz
/usr/share/man/man8/mydnsexport.8.gz
/usr/share/man/man8/mydnsimport.8.gz
/usr/share/mydns
/usr/share/mydns/admin.php

References

Summary

In this tutorial we learn how to install mydns on Fedora 34 using yum and dnf.