CentOS 8 dig command not found - How to install dig on CentOS 8

www.laut‮irut‬.com
CentOS 8 dig command not found - How to install dig on CentOS 8

The dig command is not installed by default on CentOS 8. To install dig on CentOS 8, you will need to install the bind-utils package, which includes the dig utility and other useful DNS tools.

To install bind-utils, you can use the dnf package manager. Open a terminal and run the following command:

sudo dnf install bind-utils

This will install the bind-utils package, which includes the dig command. Once the installation is complete, you should be able to use the dig command in your terminal.

If you prefer to use the yum package manager instead of dnf, you can use the following command to install bind-utils:

sudo yum install bind-utils

Note: On CentOS 8, the dnf package manager is the default package manager, but yum is still available and can be used to install packages.

If you need to use dig on a regular basis, you may want to consider installing the bind package, which provides a full-featured Domain Name System (DNS) server. The bind package includes the dig command, as well as other utilities for managing DNS records and zones. To install the bind package, you can use the following command:

sudo dnf install bind

or

sudo yum install bind

This will install the bind package, which includes the dig command and other DNS tools. You can then use these tools to manage DNS records and zones on your CentOS 8 system.

Created Time:2017-10-16 14:38:40  Author:lautturi