I. Host directiveFormat: Host [-A] FQDN [server]HOST-L domain [Server]Options:-A: Represents a list of all relevant information about the host, including IP, TTL, and error-removing messages, etc.-L: If the next domain setting allows Allow-transfer,
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
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
==="First Meeting"I believe that the use of Nslookup students must be more than the use of dig students, so it is necessary to take some time to introduce you to dig.Dig, and Nslookup functions are similar, are DNS query tools.Dig, in fact, is an
Want to use the dig command to set the domain name query, the result CentOS hint does not have this directive, and then take for granted that need to install dig software package, but check to know actually dig, host, nslookup these instructions are
1. IntroductionThe Domain name Information Finder (DIG) is a powerful tool similar to Nslookup, which not only supports running command-line options, but also enables you to import files directly through the pipeline when querying multiple domain
nslookup command
Function descriptionThe nslookup command, a common network command under Windows and Linux, can be used to query or diagnose Domain Name System (DNS) information.Linux under the Domain Name Query tool has nsloouup, dig,
Dig is a small tool used for DNS query information under Linux, dig full name is Domain information Groper, similar to Nslookup, but more powerful than nslookup function. Windows only nslookup, we use http://members.shaw.ca/nicholas.fong/dig/to
Turn from: http://roclinux.cn/?p=2449
This original article belongs to the "Linux Shed" blog.
The blog address is http://roclinux.cn.
The author of the article is ROC.
===
"First meeting."
I believe that the use of Nslookup students must be
Dig (Domain information Groper), and Nslookup functions are similar, are DNS query tools1.Dig command FormatDig @dnsserver name QueryType
If you set the DNSServer to be a domain name, first use the default up-to-connect DNS server to query
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.