If you face an issue like
-bash: nslookup: command not found that means you don’t have
nslookup installed as a DNS tool on your CentOS 9 machine. Let’s see how to install dig and nslookup quickly on CentOS 9 Stream.
- CentOS 9 Stream
- sudo privileges
Install dig and nslookup on CentOS 9 Stream
Step 1. Update the CentOS 9 packages.
sudo dnf update
Step 2. Install dig and nslookup on CentOS 9 Stream.
sudo dnf install bind-utils
Step 3. Verify the installation.
dig -v nslookup -v
As I mentioned the installation process is very simple and quick. Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.