digDNS lookup utility is an invaluable tool for any system or network administrator. The
digutility can be installed with a single
dnfcommand in case it is currently unavailable on your RHEL 8 / CentOS 8 Linux system.
In this tutorial you will learn:
- How to install the
digcommand on Redhat 8.
- What is the
digcommand basic usage.
Software Requirements and Conventions Used
|Category||Requirements, Conventions or Software Version Used|
|System||RHEL 8 / CentOS 8|
|Other||Privileged access to your Linux system as root or via the |
|Conventions|| # - requires given linux commands to be executed with root privileges either directly as a root user or by use of |
How to install dig on RHEL 8 / CentOS 8 step by step instructions
BLUE SKY STUDIOS are looking for Linux Administrator to maintain and support the Studio's 450+ production Linux workstations, including daily interactions with the Studio’s digital animation artists.
LOCATION: Greenwich, Connecticut, USA
- To install
digon Red Hat Enterprise Linux 8 execute the following
# dnf install bind-utils
- Use the
-voption to check the installed
digversion and correctness of the actual
diginstallation. For example:
# dig -v DiG 9.11.4-P2-RedHat-9.11.4-14.P2.el8
Basic examples of dig command usageCheck the DNS record for a specific domain. For example check the DNS record for
# dig redhat.comRetrieve nameserver IP address for a domain. Example:
# dig redhat.com +shortRetrieve domain's DNS records from a specific nameserver. In this example we will retrieve DNS record for domain
redhat.comfrom DNS server
# dig redhat.com @22.214.171.124Check domain's MX records. Example:
# dig redhat.com MX +short