The previous section mentioned some of the content of the recursive query, but said very little, but also very general, this section will be based on the principle and the case two aspects of DNS recursion and iterative query.
Before that, we need to learn some background to better understand today's topic.
In the Internet, a smooth resolution of a domain name is inseparable from two types of domain name
In the last section, we use the form of text to describe the process of DNS parsing, in order to better help you understand the entire parsing process, I did a DNS domain name resolution of the step-by-step diagram, as follows:
In this diagram, the 8-step parsing process allows the client to successfully access the domain name of www.163.com, but in practical applications, the process is usually very rapid
DNS recursive query and iterative query
Summary
There has always been confusion about the "recursion" and "iteration" approaches to DNS queries. Most people just tell you. "DNS clients request recursive queries to DNS servers,"
Build a master-slave DNS server and explain important transfer and recursive attributes
1. The main function of allow-recursion is to allow recursive queries on hosts to prevent DNS servers from hanging up or wasting network resources.
For example, only recursive
After studying for a while, I was confused for a while, and finally understood. The simplest way to understand it is as follows:
Recursion: The method between the client and DNS. The client entrusts its DNS to query the ip address.
Iteration: The method between DNS servers. After the client uses recursion to communicate with
iterative queries and recursive queries are two types of requests that can be sent to a domain name server. Recursive queries are the most common requests sent to a local domain name server. When the local domain name server accepts the client's query request, the local domain name server will try to find the answer on behalf of the client, while the client is just waiting when the domain name server perfor
Http://zhangbin.blog.51cto.com/666869/286257
1. recursive query:Generally, recursive queries are performed between the client and the server. After a request is sent from the client to the DNS server, if the DNS server itself cannot be resolved, a query request is sent to another
based on different configurations:By default, the DNS server uses recursion to resolve the name. The recursive method means that the DNS server queries the resolution request from other DNS servers as the DNS client until the resolution result is obtained. During this proce
names, so hosts files could be said to be relatively simple databases. However, as the network exploded, A hosts file, a server, and a group of DNS clusters cannot hold more and more host requests. Therefore, a distributed database has emerged, which is used to cut a database into n slices, resolve client requests on different hosts. When different hosts need to be resolved, they are implemented on different servers to relieve the huge pressure on th
Source: http://www.itechzero.com/dns-hijacking-dns-pollution-introduction-and-public-dns-recommend.htmlWe know that some network operators for some purposes, some of the DNS operation, resulting in the use of the ISP's normal Internet settings cannot obtain the correct IP address through the domain name. Common means a
related to www.qq.com during the query.
223.5.5.5 keeps a backup in its own cache, so there are two types of answers: authoritative response and non-authoritative response. If 223.5.5.5 directly reads the returned results from its own cache, it is an unauthoritative response. If the result is obtained from the authoritative name server of the domain name itself, it is the authoritative response.
It is the flowchart of the DNS query Process in "
DDoS attack
The normal DNS server recursive query process may be exploited as a DDoS attack. Suppose an attacker knew the IP address of the attacked machine, and then the attacker used the address as the source address to send the resolution command. This allows the DNS server to respond to the original user when a recursiv
(subdomain) does not know the presence of the ancestor (the parent domain) (so the resolution of the subdomain is iterated from the root layer)We can also enable subdomains to parse the parent domain by forwarding+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++DNS Name Resolution forwarder:(1) When a local DNS server (also a forwarder) receives a query, it attempts to r
The procedure is as follows:
Copy Code code as follows:
View Code
/*
* Hanoi Tower Game Problem Description:
* Hanoi: Hanoi (also known as Heneta) is a puzzle toy from an ancient Indian legend.
* When the great Brahma created the world, he made three diamond pillars, on a pillar, down the
* The order of magnitude is stacked with 64 pieces of gold discs. Brahma commands the Brahman to set the disc from below to the size
* The order is rearranged on another pillar. It is also sti
Web site Deployment ~windows Server | Local Deployment Http://www.cnblogs.com/dunitian/p/4822808.html#iisDNS server deployment is not clear can see an article: http://www.cnblogs.com/dunitian/p/5439816.htmlIn-house PCs, basically DNS are internal servers (because there are some internal sites and systems)So how does the DNS server set up to get the company PC to access the extranet?Just take the transponder
results 1.2.3.4[Email protected] named]# vim/etc/named.confOptions {Directory "/var/named";};View "Mylan" {MATCH-CLIENTS{192.168.4.5;192.168.7.0/24;};Zone "anonymous.cn" {Type master;File "Anonymous.cn.zone.1";};};View "Other" {Match-clients{any;};Zone "anonymous.cn" {Type master;File "Anonymous.cn.zone.2";};};——————————————————————————————————————Cache DNSCache name serversGet domain Name "--" IP address records from other DNS serversCache and reuse
The most common DNS is 8.8.8.8, this is the United States Google, if you do not know your own DNS how to set up we can use 8.8.8.8 or 192.168.1.1 or 192.168.0.1.
Beijing DNS Address:
202.96.199.133
202.96.0.133
202.106.0.20
202.106.148.1
202.97.16.195
Shanghai DNS Address:
202.96.199.132
202.96.199.133
202.96
name with this attribute, Which is resolved in the background without clicking a link. domain name resolution and content loading are serialized network operations, so this method can reduce user waiting time, improve user experience.The first DNS lookup process for a website is as follows:
Browser cache-system cache-vro cache-isp dns Cache-recursive search
Doma
1. Use the Netconfig command to configure IP, gateway, DNS, and other parameters for the primary DNS.2. Configure primary DNS master configuration file/etc/named.conf3. Configuring a Forward zone database file for primary DNS4. Configure the Reverse zone database file for primary DNS5. Configure the primary configuration file for the secondary
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.