How To Install opendnssec on Fedora 34
Introduction
In this tutorial we learn how to install opendnssec
on Fedora 34.
What is opendnssec
OpenDNSSEC was created as an open-source turn-key solution for DNSSEC. It secures zone data just before it is published in an authoritative name server. It requires a PKCS#11 crypto module library, such as softhsm
We can use yum
or dnf
to install opendnssec
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install opendnssec.
Install opendnssec 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 opendnssec
using dnf
by running the following command:
sudo dnf -y install opendnssec
Install opendnssec 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 opendnssec
using yum
by running the following command:
sudo yum -y install opendnssec
How To Uninstall opendnssec on Fedora 34
To uninstall only the opendnssec
package we can use the following command:
sudo dnf remove opendnssec
opendnssec Package Contents on Fedora 34
/etc/cron.d/opendnssec
/etc/opendnssec
/etc/opendnssec/addns.xml
/etc/opendnssec/conf.xml
/etc/opendnssec/kasp.xml
/etc/opendnssec/zonelist.xml
/etc/sysconfig/ods
/usr/bin/ods-hsmspeed
/usr/bin/ods-hsmutil
/usr/bin/ods-kasp2html
/usr/bin/ods-kaspcheck
/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/f561295bfaf14315d621507ca6914b280325f6
/usr/lib/.build-id/15
/usr/lib/.build-id/15/ba3624d795420d33102e1f494e1cfd5526ca04
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/3d4249a37efeab6d7a330776f42b5e73f3c4d6
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/03e2578991ad1dcb555ed2247fd3cc62d05502
/usr/lib/.build-id/75
/usr/lib/.build-id/75/18732f6233e972936001cf6a2566869ba819a4
/usr/lib/.build-id/84
/usr/lib/.build-id/84/0fe573b8823c823d4c7b9a79b322dd3035d452
/usr/lib/.build-id/87
/usr/lib/.build-id/87/131c45d4a44901b8fe89ab379dbd49550d6149
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/94f7991a4cb9f664266c4a8cfd285c4d91b0ec
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/84da499c6ca242b6616c70d55e13c178035429
/usr/lib/systemd/system/ods-enforcerd.service
/usr/lib/systemd/system/ods-signerd.service
/usr/lib/tmpfiles.d/opendnssec.conf
/usr/sbin/ods-control
/usr/sbin/ods-enforcer
/usr/sbin/ods-enforcer-db-setup
/usr/sbin/ods-enforcerd
/usr/sbin/ods-migrate
/usr/sbin/ods-signer
/usr/sbin/ods-signerd
/usr/share/doc/opendnssec
/usr/share/doc/opendnssec/NEWS
/usr/share/doc/opendnssec/README.md
/usr/share/licenses/opendnssec
/usr/share/licenses/opendnssec/LICENSE
/usr/share/man/man1/ods-hsmspeed.1.gz
/usr/share/man/man1/ods-hsmutil.1.gz
/usr/share/man/man1/ods-kaspcheck.1.gz
/usr/share/man/man5/ods-kasp.5.gz
/usr/share/man/man5/ods-timing.5.gz
/usr/share/man/man7/opendnssec.7.gz
/usr/share/man/man8/ods-control.8.gz
/usr/share/man/man8/ods-enforcer-db-setup.8.gz
/usr/share/man/man8/ods-enforcer.8.gz
/usr/share/man/man8/ods-enforcerd.8.gz
/usr/share/man/man8/ods-signer.8.gz
/usr/share/man/man8/ods-signerd.8.gz
/usr/share/opendnssec
/usr/share/opendnssec/addns.rnc
/usr/share/opendnssec/addns.rng
/usr/share/opendnssec/conf.rnc
/usr/share/opendnssec/conf.rng
/usr/share/opendnssec/enforcerstate.rnc
/usr/share/opendnssec/enforcerstate.rng
/usr/share/opendnssec/kasp.rnc
/usr/share/opendnssec/kasp.rng
/usr/share/opendnssec/kasp2html.xsl
/usr/share/opendnssec/migration
/usr/share/opendnssec/migration/1.4-2.0_db_convert
/usr/share/opendnssec/migration/1.4-2.0_db_convert/README.md
/usr/share/opendnssec/migration/1.4-2.0_db_convert/convert_mysql
/usr/share/opendnssec/migration/1.4-2.0_db_convert/convert_sqlite
/usr/share/opendnssec/migration/1.4-2.0_db_convert/find_problematic_zones.sql
/usr/share/opendnssec/migration/1.4-2.0_db_convert/mysql_convert.sql
/usr/share/opendnssec/migration/1.4-2.0_db_convert/rpmversion.sql
/usr/share/opendnssec/migration/1.4-2.0_db_convert/schema.mysql
/usr/share/opendnssec/migration/1.4-2.0_db_convert/schema.sqlite
/usr/share/opendnssec/migration/1.4-2.0_db_convert/sqlite_convert.sql
/usr/share/opendnssec/migration/convert_mysql_to_sqlite
/usr/share/opendnssec/migration/convert_sqlite_to_mysql
/usr/share/opendnssec/signconf.rnc
/usr/share/opendnssec/signconf.rng
/usr/share/opendnssec/zonelist.rnc
/usr/share/opendnssec/zonelist.rng
/var/opendnssec
/var/opendnssec/enforcer
/var/opendnssec/signconf
/var/opendnssec/signed
/var/opendnssec/tmp
/var/run/opendnssec
/etc/cron.d/opendnssec
/etc/opendnssec
/etc/opendnssec/addns.xml
/etc/opendnssec/conf.xml
/etc/opendnssec/kasp.xml
/etc/opendnssec/zonelist.xml
/etc/sysconfig/ods
/usr/bin/ods-hsmspeed
/usr/bin/ods-hsmutil
/usr/bin/ods-kasp2html
/usr/bin/ods-kaspcheck
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/7cb9232aa3f38b01a5db22aac91fe5507abf5d
/usr/lib/.build-id/17
/usr/lib/.build-id/17/613335cafe44abcbfff8e39dd8a1c79452fc76
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/7e2112d3a2ee2da750801ad02a827f18c1fb33
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/9249b6b9bfd9a40370999ad1d89b7b9c23da4f
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/4f35fcd2d98ddebcdf63a4791a9defed9de38f
/usr/lib/.build-id/67
/usr/lib/.build-id/67/e575726b0e60ab0a1af9c1da2ef8ad201a8701
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/cd99fb01d3748d2b60a5d6fb151dc4166e83cf
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/f3224291ef6f75b155e3ef14303bbd8c286fa2
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/dbb2b04ee86262453b48281f32ab746ab4cba7
/usr/lib/systemd/system/ods-enforcerd.service
/usr/lib/systemd/system/ods-signerd.service
/usr/lib/tmpfiles.d/opendnssec.conf
/usr/sbin/ods-control
/usr/sbin/ods-enforcer
/usr/sbin/ods-enforcer-db-setup
/usr/sbin/ods-enforcerd
/usr/sbin/ods-migrate
/usr/sbin/ods-signer
/usr/sbin/ods-signerd
/usr/share/doc/opendnssec
/usr/share/doc/opendnssec/NEWS
/usr/share/doc/opendnssec/README.md
/usr/share/licenses/opendnssec
/usr/share/licenses/opendnssec/LICENSE
/usr/share/man/man1/ods-hsmspeed.1.gz
/usr/share/man/man1/ods-hsmutil.1.gz
/usr/share/man/man1/ods-kaspcheck.1.gz
/usr/share/man/man5/ods-kasp.5.gz
/usr/share/man/man5/ods-timing.5.gz
/usr/share/man/man7/opendnssec.7.gz
/usr/share/man/man8/ods-control.8.gz
/usr/share/man/man8/ods-enforcer-db-setup.8.gz
/usr/share/man/man8/ods-enforcer.8.gz
/usr/share/man/man8/ods-enforcerd.8.gz
/usr/share/man/man8/ods-signer.8.gz
/usr/share/man/man8/ods-signerd.8.gz
/usr/share/opendnssec
/usr/share/opendnssec/addns.rnc
/usr/share/opendnssec/addns.rng
/usr/share/opendnssec/conf.rnc
/usr/share/opendnssec/conf.rng
/usr/share/opendnssec/enforcerstate.rnc
/usr/share/opendnssec/enforcerstate.rng
/usr/share/opendnssec/kasp.rnc
/usr/share/opendnssec/kasp.rng
/usr/share/opendnssec/kasp2html.xsl
/usr/share/opendnssec/migration
/usr/share/opendnssec/migration/1.4-2.0_db_convert
/usr/share/opendnssec/migration/1.4-2.0_db_convert/README.md
/usr/share/opendnssec/migration/1.4-2.0_db_convert/convert_mysql
/usr/share/opendnssec/migration/1.4-2.0_db_convert/convert_sqlite
/usr/share/opendnssec/migration/1.4-2.0_db_convert/find_problematic_zones.sql
/usr/share/opendnssec/migration/1.4-2.0_db_convert/mysql_convert.sql
/usr/share/opendnssec/migration/1.4-2.0_db_convert/rpmversion.sql
/usr/share/opendnssec/migration/1.4-2.0_db_convert/schema.mysql
/usr/share/opendnssec/migration/1.4-2.0_db_convert/schema.sqlite
/usr/share/opendnssec/migration/1.4-2.0_db_convert/sqlite_convert.sql
/usr/share/opendnssec/migration/convert_mysql_to_sqlite
/usr/share/opendnssec/migration/convert_sqlite_to_mysql
/usr/share/opendnssec/signconf.rnc
/usr/share/opendnssec/signconf.rng
/usr/share/opendnssec/zonelist.rnc
/usr/share/opendnssec/zonelist.rng
/var/opendnssec
/var/opendnssec/enforcer
/var/opendnssec/signconf
/var/opendnssec/signed
/var/opendnssec/tmp
/var/run/opendnssec
References
Summary
In this tutorial we learn how to install opendnssec
on Fedora 34 using yum and dnf.