Linux Dig Commands

Source: Internet
Author: User
Tags domain name server mail exchange

Common options:

-B: When the host has multiple IP addresses, specify which IP address to use to send Domain name query requests to the domain name server;

-f< file name;: Specifies that the dig is run as a batch, and the specified file holds the DNS task information that requires a batch query;

-P: Specifies the port number used by the domain name server;

-t< type;: Specifies the type of DNS data to query;

-X: Perform reverse domain name query;

Parameters:

Host: Specifies that you want to query the domain host

Query type: Specifies the type of DNS query

Query class: Specify the class for querying DNS

Query type:

A: View the host's IPv4 address AAAA: View the host's IPV6 address any: View all information about the host domain CNAME: find the official name corresponding to the alias Hinfo: Find the host's CPU and operating system type MINFO: Find mailbox information mx: Find mail exchange information ns: Find the domain name server for the host domain PTR: Finding a hostname that matches a given IP address RP: Lookup domain owner record SOA: Find SOA address within domain uinfo: Find user Information


Linux Dig Commands

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.