How To Install resolv_wrapper on Fedora 36
Introduction
In this tutorial we learn how to install resolv_wrapper
on Fedora 36.
What is resolv_wrapper
It is likely that if you have a server/client architecture, you need to do DNS queries or a third party library, like Kerberos needs to be able to do queries. In the case of Kerberos the client needs to look the address of the KDC up via a SRV record. resolv_wrapper is able to either redirect all DNS queries to your DNS server implementation, or fake DNS replies! To use it set the following environment variables LD_PRELOAD=libresolv_wrapper.so RESOLV_WRAPPER_CONF=./my_resolv.conf This package doesn’t have a devel package because this project is for development/testing.
We can use yum
or dnf
to install resolv_wrapper
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install resolv_wrapper.
Install resolv_wrapper 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 resolv_wrapper
using dnf
by running the following command:
sudo dnf -y install resolv_wrapper
Install resolv_wrapper 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 resolv_wrapper
using yum
by running the following command:
sudo yum -y install resolv_wrapper
How To Uninstall resolv_wrapper on Fedora 36
To uninstall only the resolv_wrapper
package we can use the following command:
sudo dnf remove resolv_wrapper
resolv_wrapper Package Contents on Fedora 36
---
title: "How To Install resolv_wrapper on Fedora 36"
linkTitle: "resolv_wrapper"
type: "docs"
description: "In this tutorial we learn how to install resolv_wrapper in Fedora 36. resolv_wrapper is A wrapper for dns name resolving or dns faking"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/resolv_wrapper-featured.png
---
## Introduction
In this tutorial we learn how to install `resolv_wrapper` on Fedora 36.
### What is `resolv_wrapper`
> It is likely that if you have a server/client architecture, you need to do DNS queries or a third party library, like Kerberos needs to be able to do queries. In the case of Kerberos the client needs to look the address of the KDC up via a SRV record. resolv_wrapper is able to either redirect all DNS queries to your DNS server implementation, or fake DNS replies! To use it set the following environment variables LD_PRELOAD=libresolv_wrapper.so RESOLV_WRAPPER_CONF=./my_resolv.conf This package doesn't have a devel package because this project is for development/testing.
We can use `yum` or `dnf` to install `resolv_wrapper` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install resolv_wrapper.
## Install resolv_wrapper 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 resolv_wrapper
using dnf
by running the following command:
sudo dnf -y install resolv_wrapper
Install resolv_wrapper 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 resolv_wrapper
using yum
by running the following command:
sudo yum -y install resolv_wrapper
How To Uninstall resolv_wrapper on Fedora 36
To uninstall only the resolv_wrapper
package we can use the following command:
sudo dnf remove resolv_wrapper
resolv_wrapper Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/c4180bf13b8717bd6febd41e9d31fd31fac35e
/usr/lib64/cmake/resolv_wrapper
/usr/lib64/cmake/resolv_wrapper/resolv_wrapper-config-version.cmake
/usr/lib64/cmake/resolv_wrapper/resolv_wrapper-config.cmake
/usr/lib64/libresolv_wrapper.so
/usr/lib64/libresolv_wrapper.so.0
/usr/lib64/libresolv_wrapper.so.0.0.7
/usr/lib64/pkgconfig/resolv_wrapper.pc
/usr/share/doc/resolv_wrapper
/usr/share/doc/resolv_wrapper/AUTHORS
/usr/share/doc/resolv_wrapper/CHANGELOG
/usr/share/doc/resolv_wrapper/README.md
/usr/share/licenses/resolv_wrapper
/usr/share/licenses/resolv_wrapper/LICENSE
/usr/share/man/man1/resolv_wrapper.1.gz
References
Summary
In this tutorial we learn how to install resolv_wrapper
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
/usr/lib/.build-id /usr/lib/.build-id/4d /usr/lib/.build-id/4d/8c18db2c073bd572a8cac3c0f28f0b834f006a /usr/lib/cmake/resolv_wrapper /usr/lib/cmake/resolv_wrapper/resolv_wrapper-config-version.cmake /usr/lib/cmake/resolv_wrapper/resolv_wrapper-config.cmake /usr/lib/libresolv_wrapper.so /usr/lib/libresolv_wrapper.so.0 /usr/lib/libresolv_wrapper.so.0.0.7 /usr/lib/pkgconfig/resolv_wrapper.pc /usr/share/doc/resolv_wrapper /usr/share/doc/resolv_wrapper/AUTHORS /usr/share/doc/resolv_wrapper/CHANGELOG /usr/share/doc/resolv_wrapper/README.md /usr/share/licenses/resolv_wrapper /usr/share/licenses/resolv_wrapper/LICENSE /usr/share/man/man1/resolv_wrapper.1.gz
## References
* [resolv_wrapper website](http://cwrap.org/)
## Summary
In this tutorial we learn how to install `resolv_wrapper` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).