dig commands code example
Example 1: dig command examples
Use syntax structure of dig command for requesting a url domain`s info:
dig [@Server] [Domain] [Typ] [-x IP-Adresse]
Example:
dig -t A redhat.com +noall +answer
#To get summarized domain info of type address with answer
Example 2: linux dig command all dns records
> dig google.com ANY