Dig command use Daquan (domain name query on Linux)It can be said that the process of translating this document is my re-learning the process of DNS, Dig command can help us learn the principle of DNS, configuration,As well as its query process. The
For details about dns settings in linux-Linux Enterprise Application-Linux server application, see the following. ① Introduction
DNS is the Domain Name System, which can convert a Domain Name such as www.21php.com to an IP address such as 211.152.50.
1. view the Host IP address resolved by the DNS host name
Host CommandPurposeResolve a host name to an Internet address or an Internet address to a host name.SyntaxHost [-n [-a] [-c Class] [-d] [-r] [-t Type] [-v] [-w] [-z] Hostname | Address
The dig command is primarily used to query host address information from a DNS domain name server.querying DNS information for a single domain nameThe most typical use of the dig command is to query the information of a single host.$ dig
1. install the software packages dig and nslookup. Centos: # yuminstallbind-utilsDebian: # apt-getupdate # apt-getinstalldnsutils set the dns server IP address in/etc/resolv. conf before querying. II. usage
1. install the software packageInstall
The principle of DNS and its analytic process "wonderful anatomy" 2012-03-21 17:23:10Tags: dig wireshark bind nslookup DNS original works, allow reprint, when reproduced please be sure to use hyperlinks in the form of the original source of the
One, the role of domain from DNS serverAs we mentioned in our previous essay, there are generally three types of DNS servers, one is primary DNS server (primary DNS server), one is secondary DNS server (from DNS servers), and the other is caching
Each IP address can have a host name that consists of one or more strings separated by a decimal point. With the hostname, do not memorize each IP device IP address, just remember the relative intuitive meaningful host name on the line. This is the
RNDC Related knowledge:1. What is RNDC:Remote Name Domain controllerRNDC communicates with the name server via a TCP connection and sends a digitally signed command. In the current version of RNDC and named, the only supported authentication
DNS OverviewDNS (Domain Name System)Role: Manage the "Household Register" of hosts-Host Name: IP address, which is a distributed city Database SystemOrigin: the earliest host resolution relies on the hosts file and is maintained by the NIC (Network
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.