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
Dig Introduction:Dig is a tool that queries DNS for information such as NS Records, A records, MX records, and so on in Unix-like command-line mode. Because it has been missingDig man page document, this article right when a Dig use the wizard.Dig's
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
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
Here first introduces the next Nali this open source applet, project address: http://code.google.com/p/qqwry/
Here's a description of the website from the project's owner:
Copy Code code as follows:
Download
nali-0.2.tar.gz–2011-09
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
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
In actual application, DNS resolution errors may occur, that is, when we access a domain name, it cannot be resolved to an IP address, however, you can directly enter the website IP address for normal access, which is caused by a DNS resolution
Nginx rejects access from a specified IP address is actually very simple. Let's look at the simple configuration.In the following example, all connections are rejected:Location /{# The Error 403 will always be output here.Deny all;# These commands
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.