How to Install and Uninstall nss-resolve Package on openSUSE Leap

Last updated: April 27,2024

1. Install "nss-resolve" package

Please follow the steps below to install nss-resolve on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install nss-resolve

2. Uninstall "nss-resolve" package

Please follow the guidelines below to uninstall nss-resolve on openSUSE Leap:

$ sudo zypper remove nss-resolve

3. Information about the nss-resolve package on openSUSE Leap

Information for package nss-resolve:
------------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : nss-resolve
Version : 246.16-7.21.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 370,0 KiB
Installed : No
Status : not installed
Source package : systemd-246.16-7.21.1.src
Summary : Plugin for local hostname resolution via systemd-resolved
Description :
This package contains a plug-in module for the Name Service Switch
(NSS), which enables host name resolutions via the systemd-resolved(8)
local network name resolution service. It replaces the nss-dns plug-in
module that traditionally resolves hostnames via DNS.
To activate this NSS module, you will need to include it in
/etc/nsswitch.conf, see nss-resolve(8) manpage for more details.

5. The same packages on other Linux Distributions