How to use Dig Command In Linux/Unix
The Dig Command is called domain information groper; it is a tool used to find query information related to domain name and troubleshoot DNS issue in Linux. This tool can provide various types of DNS records, such as CNAME, MX records and records etc.
For example: If we want to query a record for “google.com”
Syntax:
dig A google.com
This will show the IP address associated with the domain name.
Network configuration and troubleshooting commands in Linux
Computers are often connected to each other on a network. They send requests to each other in the form of packets that travel from the host to the destination. Linux provides various commands from network configuration and troubleshooting.
Network Configuration and Troubleshooting Commands in Linux
- Using Ping (Packet Internet Groper) Command
- Using nslookup Command
- Using traceroute Command
- Using host Command
- Using netstat Command
- Using Arp Command
- Using ifconfig Command
- Using Dig Command
- Using Route Command
- Using Ethtool Command
- Using Hostname Command