• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

adig: command not found

by admin

adig is a command-line tool that allows you to perform DNS lookups from the command line. It is similar to the dig command, but it is designed specifically for use with the Async DNS library.

To use adig, you simply enter the command followed by the domain name that you want to look up, along with any desired options. For example, to perform a basic DNS lookup for the domain example.com, you would enter the following command:

# adig example.com

By default, adig will perform a lookup for the A record of the domain, which maps the domain name to an IP address. However, you can specify other record types using the -t option. For example, to perform a lookup for the MX record, which specifies the mail exchange servers for a domain, you would use the following command:

# adig -t MX example.com

If you encounter the below error while running the adig command:

adig: command not found

you may try installing the below package as per your choice of distribution:

OS Distribution Command
Debian apt-get install ripe-atlas-tools
Ubuntu apt-get install ripe-atlas-tools
Kali Linux apt-get install ripe-atlas-tools
Fedora dnf install ripe-atlas-tools
Raspbian apt-get install ripe-atlas-tools

adig Command Examples

1. Display A (default) record from DNS for hostname(s):

# adig {{example.com}}

2. Display extra [d]ebugging output:

# adig -d {{example.com}}

3. Connect to [s]pecified DNS server:

# adig -s {{1.2.3.4}} {{example.com}}

4. Use specified TCP port to connect to DNS server:

# adig -T {{port}} {{example.com}}

5. Use specified UDP port to connect to DNS server:

# adig -U {{port}} {{example.com}}

Filed Under: Linux

Some more articles you might also be interested in …

  1. How to Install dmg File on Mac from Command Line
  2. How to Configure Early-kdump Support Feature in CentOS/RHEL 8
  3. pngcheck: command not found
  4. ndctl Command Examples in Linux
  5. The System Continuously Displayed the Error Message from the “avahi-demon” in /var/log/messages
  6. How to Set Environment Variables for a systemd Service in CentOS/RHEL 7
  7. clj: Clojure tool to start a REPL or invoke a specific function with data
  8. checkupdates : Command Examples in Linux
  9. diff Command Examples in Linux
  10. subscription-manager: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • csslint: A linter for CSS code
  • csh: The shell (command interpreter) with C-like syntax (Command Examples)
  • csc: The Microsoft C# Compiler (Command Examples)
  • crystal: Tool for managing Crystal source code

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright