How To Install maradns on Fedora 34

maradns is Authoritative and recursive DNS server made with security in mind

Introduction

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

What is maradns

MaraDNS is a package that implements the Domain Name Service (DNS), an essential internet service. MaraDNS has the following advantages * Secure. * Supported. * Easy to use. * Small. * Open Source.

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

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

sudo dnf -y install maradns

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

sudo yum -y install maradns

How To Uninstall maradns on Fedora 34

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

sudo dnf remove maradns

maradns Package Contents on Fedora 34

/etc/dwood3rc
/etc/maradns
/etc/maradns/logger
/etc/mararc
/usr/bin/askmara
/usr/bin/fetchzone
/usr/bin/getzone
/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/dc0512cdbba3abff72a8c6604e943655ea99a3
/usr/lib/.build-id/44
/usr/lib/.build-id/44/1b10abcc001b9cb87bb408e37f742f7e4d933c
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/8af79ebfe4641082b0768c5af25358efc3eb19
/usr/lib/.build-id/86
/usr/lib/.build-id/86/6bb546de112e98fe91cc24e653e7a0e3c89d40
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/df4459b4ef98f4653ee0196e6d757b0cd395ab
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/8114de8c8ab5c862eb807814db932bba110c84
/usr/lib/systemd/system/maradns-deadwood.service
/usr/lib/systemd/system/maradns-zoneserver.service
/usr/lib/systemd/system/maradns.service
/usr/sbin/Deadwood
/usr/sbin/maradns
/usr/sbin/zoneserver
/usr/share/doc/maradns
/usr/share/doc/maradns/changelog.txt
/usr/share/doc/maradns/credits.txt
/usr/share/doc/maradns/examples
/usr/share/doc/maradns/examples/Makefile
/usr/share/doc/maradns/examples/example_authoritative_mararc.txt
/usr/share/doc/maradns/examples/example_csv1
/usr/share/doc/maradns/examples/example_csv1.txt
/usr/share/doc/maradns/examples/example_csv2
/usr/share/doc/maradns/examples/example_full_mararc
/usr/share/doc/maradns/examples/example_mararc
/usr/share/doc/maradns/examples/example_recursive_mararc.txt
/usr/share/doc/maradns/faq.txt
/usr/share/doc/maradns/tutorial
/usr/share/doc/maradns/tutorial/Makefile
/usr/share/doc/maradns/tutorial/authoritative.html
/usr/share/doc/maradns/tutorial/bind2csv2.html
/usr/share/doc/maradns/tutorial/coding_style.html
/usr/share/doc/maradns/tutorial/compile.html
/usr/share/doc/maradns/tutorial/convert.html
/usr/share/doc/maradns/tutorial/dangling.html
/usr/share/doc/maradns/tutorial/default_zonefile.html
/usr/share/doc/maradns/tutorial/dnsintro.html
/usr/share/doc/maradns/tutorial/dnsmaster.html
/usr/share/doc/maradns/tutorial/dnsslave.html
/usr/share/doc/maradns/tutorial/dnstcp.html
/usr/share/doc/maradns/tutorial/glossary.html
/usr/share/doc/maradns/tutorial/make.index
/usr/share/doc/maradns/tutorial/man.askmara.html
/usr/share/doc/maradns/tutorial/man.csv2.html
/usr/share/doc/maradns/tutorial/man.csv2_txt.html
/usr/share/doc/maradns/tutorial/man.duende.html
/usr/share/doc/maradns/tutorial/man.fetchzone.html
/usr/share/doc/maradns/tutorial/man.maradns.html
/usr/share/doc/maradns/tutorial/man.mararc.html
/usr/share/doc/maradns/tutorial/man.zoneserver.html
/usr/share/doc/maradns/tutorial/quick_start.html
/usr/share/doc/maradns/tutorial/recordtypes.html
/usr/share/doc/maradns/tutorial/recursive.html
/usr/share/doc/maradns/tutorial/troubleshoot.html
/usr/share/doc/maradns/tutorial/tutorial.html
/usr/share/doc/maradns/tutorial/update.html
/usr/share/doc/maradns/tutorial/win_service.html
/usr/share/doc/maradns/webpage
/usr/share/doc/maradns/webpage/Makefile
/usr/share/doc/maradns/webpage/advocacy.embed
/usr/share/doc/maradns/webpage/advocacy.html
/usr/share/doc/maradns/webpage/changelog.embed
/usr/share/doc/maradns/webpage/changelog.html
/usr/share/doc/maradns/webpage/contact.embed
/usr/share/doc/maradns/webpage/contact.html
/usr/share/doc/maradns/webpage/debian.embed
/usr/share/doc/maradns/webpage/debian.html
/usr/share/doc/maradns/webpage/dns_software.embed
/usr/share/doc/maradns/webpage/dns_software.html
/usr/share/doc/maradns/webpage/download.embed
/usr/share/doc/maradns/webpage/download.html
/usr/share/doc/maradns/webpage/faq-1.0.embed
/usr/share/doc/maradns/webpage/faq-1.0.html
/usr/share/doc/maradns/webpage/faq.embed
/usr/share/doc/maradns/webpage/faq.html
/usr/share/doc/maradns/webpage/index.embed
/usr/share/doc/maradns/webpage/index.html
/usr/share/doc/maradns/webpage/license.embed
/usr/share/doc/maradns/webpage/license.html
/usr/share/doc/maradns/webpage/make.page
/usr/share/doc/maradns/webpage/mara-tile.jpg
/usr/share/doc/maradns/webpage/maradns-1.2-bottom.html
/usr/share/doc/maradns/webpage/maradns-1.2-h.css
/usr/share/doc/maradns/webpage/maradns-1.2-l.css
/usr/share/doc/maradns/webpage/maradns-1.2-p.css
/usr/share/doc/maradns/webpage/maradns-1.2-s.css
/usr/share/doc/maradns/webpage/maradns-1.2-top.html
/usr/share/doc/maradns/webpage/maradns-1.3-s.css
/usr/share/doc/maradns/webpage/notes.embed
/usr/share/doc/maradns/webpage/notes.html
/usr/share/doc/maradns/webpage/products.embed
/usr/share/doc/maradns/webpage/products.html
/usr/share/doc/maradns/webpage/search.embed
/usr/share/doc/maradns/webpage/search.html
/usr/share/doc/maradns/webpage/security.embed
/usr/share/doc/maradns/webpage/security.html
/usr/share/doc/maradns/webpage/sponsors.embed
/usr/share/doc/maradns/webpage/sponsors.html
/usr/share/licenses/maradns
/usr/share/licenses/maradns/COPYING
/usr/share/man/man1/Deadwood.1.gz
/usr/share/man/man1/askmara.1.gz
/usr/share/man/man1/fetchzone.1.gz
/usr/share/man/man1/getzone.1.gz
/usr/share/man/man5/csv1.5.gz
/usr/share/man/man5/csv2.5.gz
/usr/share/man/man5/csv2_txt.5.gz
/usr/share/man/man5/mararc.5.gz
/usr/share/man/man8/maradns.8.gz
/usr/share/man/man8/zoneserver.8.gz
/var/cache/deadwood

References

Summary

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