CN103905572B - The processing method and processing device of domain name mapping request - Google Patents

The processing method and processing device of domain name mapping request Download PDF

Info

Publication number
CN103905572B
CN103905572B CN201210576374.9A CN201210576374A CN103905572B CN 103905572 B CN103905572 B CN 103905572B CN 201210576374 A CN201210576374 A CN 201210576374A CN 103905572 B CN103905572 B CN 103905572B
Authority
CN
China
Prior art keywords
domain name
address
dns
dns server
dns servers
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210576374.9A
Other languages
Chinese (zh)
Other versions
CN103905572A (en
Inventor
李晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201210576374.9A priority Critical patent/CN103905572B/en
Publication of CN103905572A publication Critical patent/CN103905572A/en
Application granted granted Critical
Publication of CN103905572B publication Critical patent/CN103905572B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of processing method and processing devices of domain name mapping request, to realize under the premise of not increasing dns server cluster paralysis risk, avoid the problem that analyzing efficiency existing for the processing method using domain name mapping in the prior art request is lower and can waste unnecessary process resource.Method includes: dns server according to the IP address inquired by the way of going out net recursive query, updates the parsing list for corresponding storage IP address and domain name of itself preservation;And domain name and the IP address inquired are sent to other dns servers, so that other described dns servers, according to domain name and the IP address inquired, the parsing list saved to it is updated.

Description

The processing method and processing device of domain name mapping request
Technical field
The processing method and device requested the present invention relates to Internet technical field more particularly to a kind of domain name mapping
Background technique
In IP(Internet Protocol, Internet protocol) in network, DNS(Domain Name Service, domain name Service) major function be readily able to people memory domain name (Domain Name) converted with the identifiable IP address of network. Conversion between domain name and IP address is known as domain name mapping, and the network host for executing domain name mapping is properly termed as dns server.
In the prior art, DNS provides three kinds of domain name mapping modes: local search, caching query and iterative query.If certain ISP(Internet Service Provider, Internet Service Provider) accessing user input certain website in a browser Domain name, then the user terminal of accessing user can initiate domain name analysis request according to the website domain name, wherein carrying the website domain name; After the dns server (commonly referred to as local dns server) of the ISP receives domain name mapping request, operations described below can be executed:
Firstly, local dns server executes local search, that is, storing the local domain for belonging to the parsing of this dns server Name IP address corresponding with the website domain name is inquired in the home domain name database of the corresponding relationship of IP address, if in the data The corresponding IP address of the website domain name has been found in library, then has illustrated that the website domain name is home domain name, thus local dns service The IP address inquired is directly returned to accessing user by device;And if not finding the website domain name pair in the database The IP address answered then illustrates that the website domain name is not home domain name, so that local dns server then executes caching query;? Execute caching query when, local dns server first in the caching of this dns server inquiry solution new record (in caching generally with The form for solving new record saves the non-local domain name and its corresponding parsed in a period of time recently by iterative query mode IP address), if there is the relevant solution new record of the website domain name in the buffer, local dns server will directly be inquired IP address returns to accessing user;If local dns server is most in the buffer without the website domain name relevant solution new record After execute iterative query, the corresponding IP address of the website domain name is obtained by iterative query.
Based on above-mentioned various domain name mapping modes, the networking for the dns server cluster being made of at present more dns servers There are mainly two types of for scheme.
The schematic diagram of the first networking plan is as shown in Figure 1.In the first networking plan, dns resolution function usually by The network equipment described in Fig. 1 (mainly including two network elements of load balancer and name server) is realized.Wherein, load balancing The domain name mapping request that user sends is distributed to different dns servers according to certain polling algorithm by device, as shown in fig. 1 Number be respectively 1 ~ 4 dns server.Dns server is responsible for responding the domain name mapping request of user.If this TV station DNS takes Business device response user domain name mapping request before be not carried out out net iterative query or its by execute iterative query And the query result obtained has been over iteration result retention period, then the dns server, which will re-start, once goes out net Iterative query process.And the query result of iterative query is fed back into user, while the query result is cached in this DNS service On device.Specifically, it is intended to access the process of corresponding server by inputting this domain name of www.sohu.com with terminal user For, the processing step based on the first networking plan is as follows:
1. user sends domain name analysis request, and is based on global load balancing (Global Server by the network equipment Load Balance, GSLB) it translates domain names into request and is assigned on dns server 1;
2.DNS server 1 inquires local cache or authority record, such as the domain name for being not present with including in domain name mapping request The solution new record or authority record to match, then dns server 1 carries out out net and looks by way of issuing recursive query request It askes, until access until sohu has authorized DNS server by oneself;
3.sohu has authorized DNS server by oneself and DNS response message is sent to dns server 1;
DNS response message is sent to user by 4.DNS server 1, and is cached to corresponding parsing result, thus The parsing list for storing and resolving result of its preservation is updated, it is convenient to initiate identical domain name mapping request simultaneously in next user And the domain name mapping requests to can be realized when being assigned to caching DNS server 1 and responds rapidly to domain name mapping request;
5. the IP address in the DNS response message that user sends according to dns server 1 accesses www.sohu.com.
The networking mode schematic diagram of second scheme in the prior art is as shown in Figure 2.Second scheme is enhanced DNS Scheme, i.e., dns server cluster is transform as to the enhanced dns server cluster of two level frameworks.
Dns server cluster shown in Fig. 2 is divided into two level frameworks, this two level framework is taken by the caching DNS shown in Fig. 2 Business device and recurrence dns server respectively constitute.Based on the networking mode, the domain name mapping request of all users is all sent first It, will if caching DNS server does not inquire the domain name for including in the domain name mapping request of user to caching DNS server Continue to initiate domain name analysis request to recurrence dns server.Performed by the execution of recurrence dns server and caching DNS server It operates and similar operation.Specifically, still with terminal user by inputting this domain name of www.sohu.com phase to be accessed For the process for the server answered, the processing step based on second of networking plan is as follows:
1. user sends domain name analysis request, and is translated domain names into request according to GSLB by the network equipment and be assigned to such as Fig. 2 Shown in dns server 4(in caching DNS server be also referred to as caching DNS server 4);
2. caching DNS server 4 checks local cache or authority record record, such as without caching or authorization, then by the domain name Analysis request is transmitted to dns server 1, i.e., is also referred to as recurrence dns server 1 as the dns server 1(of recurrence dns server);
3. recurrence dns server 1 inquires its parsing list for storing and resolving record locally saved, if do not looked into The domain name for including in domain name mapping request is ask, then issues recursive query request and is netted inquiry out, until access sohu is certainly Until having authorized DNS server;
4.sohu have by oneself authorized DNS server to recurrence dns server 1 return include domain name mapping request in domain name The response message of all IP address of corresponding website, recurrence dns server 1 are obtained by the parsing to the response message Corresponding parsing result, i.e. those IP address, and according to the corresponding relationship of those IP address and above-mentioned domain name, list is parsed to it It is updated;
5. recurrence dns server 1 randomly selected from the IP address for including in response message an IP address be sent to it is slow Dns server 4 is deposited, caching DNS server 4 updates the parsing list of its preservation according to the corresponding relationship of the IP address and domain name, To facilitate next user to initiate identical domain name mapping request and when request is assigned to caching DNS server 4 can be fast Speed is responded;
6. the IP address that caching DNS server 4 is obtained is sent to user terminal, user terminal is according to the IP address Access server corresponding to this domain name of www.sohu.com.
In the above-mentioned scheme implemented based on the first networking plan, the parsing result of the domain name mapping request of user is only It reaches on dns server 1, in this case, when there is other users to initiate to request identical domain name solution with the domain name mapping Analysis request, and this domain name mapping request, due to load balancer is in load balancing, there is no reach DNS service Device 1 but be allocated to dns server 2, then dns server 2 also to re-start primary complexity go out net iterative query. As it can be seen that in practical applications, the scheme implemented based on Fig. 1 there are the shortcomings that there are two: one is may same domain name solution Analysis request then needs different dns servers for identical domain name mapping request difference due to reaching different dns servers Net iterative query is carried out out, to cause the unnecessary wasting of resources;The second is same domain name mapping request is due to reaching Different dns server, it is also possible to so that the domain name mapping request of user is unable to get rapid parsing, to be equivalent to so that domain The analyzing efficiency of name analysis request is lower.
And in the above-mentioned scheme implemented based on second of networking plan, when other users initiate identical domain name mapping When request, any one in caching DNS server 2,3 is either reached, domain name mapping request can be passed eventually arriving at When returning dns server 1, the acquisition pair rapidly in the parsing list or caching record that it has been updated by recurrence dns server 1 The IP address that should be requested in the domain name mapping, and by the IP address back to caching DNS server, so that user terminal root Corresponding server is accessed according to the IP address.Although the scheme implemented based on Fig. 2 compared to the scheme implemented based on Fig. 1 and The shortcomings that speech, increases in terms of analyzing efficiency, however the former is there is also in terms of two: one, existing network must carry out Upgrading, increases improvement cost;Two, since a recurrence dns server can hang down more caching DNS servers, work as and pass When DNS being returned to break down, the risk of dns server cluster paralysis will increase.
Summary of the invention
The embodiment of the present invention provides a kind of processing method and processing device of domain name mapping request, is not increasing DNS to realize Server cluster is paralysed under the premise of risk, and the existing solution of processing method using domain name mapping in the prior art request is avoided The problem of analysis efficiency is lower and can waste unnecessary process resource.
The embodiment of the present invention uses following technical scheme:
A kind of processing method of domain name mapping request, comprising:
Domain name service dns server obtains the domain name mapping request that user terminal is sent;The dns server does not have locally Have when finding with the corresponding IP address of domain name for including in domain name mapping request, by the way of net recursive query out, looks into Ask the IP address of the server using domain name;According to domain name and the IP address inquired, updates itself and save The parsing list for corresponding storage IP address and domain name;Domain name and the IP address inquired are sent to other Dns server, so that other described dns servers save it according to domain name and the IP address inquired Parsing list is updated;Wherein, the IP address of other dns servers meets: same with the IP address of the dns server Belong to same network segment.
A kind of processing unit of domain name mapping request, comprising:
Obtaining unit is requested in domain name mapping, for obtaining the domain name mapping request of user terminal transmission;
Recursive query unit, for not finding the domain name mapping obtained with domain name mapping request obtaining unit locally When the corresponding IP address of the domain name for including in request, by the way of net recursive query out, inquiry uses the clothes of domain name The IP address of business device;
List update unit is parsed, includes in the domain name mapping request for requesting obtaining unit to obtain according to domain name mapping Domain name and the IP address that inquires of recursive query unit, update that described device saves for corresponding storage IP address and The parsing list of domain name;
Transmission unit, described in inquiring the domain name for including in domain name analysis request and recursive query unit IP address is sent to the dns server for meeting specified requirements, so that the dns server is according to domain name and the inquiry The IP address arrived, the parsing list saved to it are updated;
Wherein, the dns server for meeting specified requirements are as follows: the IP address of IP address and described device belongs to same net The dns server of section.
The embodiment of the present invention has the beneficial effect that:
Above scheme provided in an embodiment of the present invention can realize based on the first networking plan in the prior art, and It is not necessary that the lower recurrence dns server for hanging more caching DNS servers is specially arranged, therefore dns server cluster paralysis is not will increase Paralysis risk.Meanwhile by using above scheme, can be total to since IP address is between the different dns servers of same network segment It enjoys and carries out out the parsing result obtained after net iterative query for same domain name, hence for user in dns server cluster The identical domain name mapping request initiated, there is no need to spend too many resource and time to carry out out net iterative query, therefore can To avoid lower using analyzing efficiency existing for the processing method of domain name mapping in the prior art request and can waste need not The problem of process resource wanted.
Detailed description of the invention
Fig. 1 is the schematic diagram of the first networking plan of dns server cluster in the prior art;
Fig. 2 is the schematic diagram of second of networking plan of dns server cluster in the prior art;
Fig. 3 is a kind of idiographic flow schematic diagram of the processing method of domain name mapping request provided in an embodiment of the present invention;
Fig. 4 is the specific structure signal for implementing the system of domain name mapping request provided in an embodiment of the present invention in practical application Figure;
Fig. 5 realizes the idiographic flow schematic diagram of method provided in an embodiment of the present invention for system based on shown in Fig. 4;
Fig. 6 is a kind of concrete structure schematic diagram of the processing unit of domain name mapping request provided in an embodiment of the present invention.
Specific embodiment
In order to realize under the premise of not increasing dns server cluster paralysis risk, avoid using domain in the prior art The problem of analyzing efficiency existing for the processing method of name analysis request is lower and can waste unnecessary process resource, the present invention Embodiment provides a kind of processing scheme of domain name mapping request.The program can be based on the first networking side in the prior art Case is realized, without the lower recurrence dns server for hanging more caching DNS servers is specially arranged;In addition, the program can make IP address be between the different dns servers of same network segment share be directed to same domain name carry out out net iterative query after obtain Parsing result, initiated in dns server cluster hence for user identical domain name mapping request, there is no need to spend Too many resource and time carries out out net iterative query.
The embodiment of the present invention is illustrated below in conjunction with Figure of description, it should be understood that implementation described herein Example is merely to illustrate and explain the present invention, and is not intended to restrict the invention.And in the absence of conflict, the reality in this explanation Applying the feature in example and implementation column can be combined with each other.
Firstly, the embodiment of the present invention provides a kind of processing method of domain name mapping request as shown in Figure 3, this method is main The following steps are included:
Step 31, dns server obtains the domain name mapping request that user terminal is sent;
Step 32, the dns server is corresponding in the domain name for not finding locally with including in domain name mapping request When IP address, by the way of net recursive query out, inquiry uses the IP address of the server of the domain name;
Step 33, the dns server according to domain name mapping request in include the domain name and the IP address that inquires, update The parsing list for corresponding storage IP address and domain name itself saved;
Step 34, the domain name for including in domain name mapping request and the IP address inquired are sent to other DNS services Device, so that other dns servers can be according to the domain name and corresponding IP address, the parsing list saved to it is carried out more Newly.
Wherein, the IP address of other dns servers said herein meets: taking with the above-mentioned DNS for receiving domain name mapping request The IP address of business device belongs to same network segment.
In this method provided in an embodiment of the present invention, dns server can be, but not limited to send out using following two mode Send the domain name for including and the IP address inquired in domain name mapping request.
First way: DNS is not necessarily immediately performed to other dns servers after updating parsing list and sends domain name The operation of the domain name for including in analysis request and the IP address inquired, but can judge to ask for multiple domain name mappings When the quantity of IP address asked and inquired respectively is met certain condition, just by the above-mentioned IP address inquired respectively and corresponding Domain name is sent to other dns servers together.Specifically, dns server can be according to the number of the IP address inquired, to note The number for increasing IP address in the parsing list of record itself saved newly is updated.In this way, by domain described in above-mentioned steps 34 The specific implementation that name and the IP address inquired are sent to other dns servers can be such that
Firstly, dns server judges whether the number of the updated newly-increased IP address is not less than pre-set Number threshold value, and when comparison result, which is, is, the IP for being not issued to other dns servers is determined from the parsing list that itself is saved Address and corresponding domain name;
Then, dns server again sends out the IP address for being not issued to other dns servers determined and corresponding domain name Give other dns servers;And the number of newly-increased IP address is updated to 0.
It should be noted that dns server can pass through the IP address (or the domain name being transmitted across) point to be transmitted across Mode with specific identifier, to distinguish the IP address of the IP address being transmitted across (or domain name being transmitted across) and not sent mistake (or domain name of not sent mistake).
For sending the mode of IP address and domain name immediately after each update parsing list, above-mentioned first way The advantages of be, can be excessive to avoid the Signalling exchange between dns server and other dns servers and need to expend each DNS The problem of server too many process resource.
The second way: dns server, which can periodically be sent in domain name inquiry request to other dns servers, includes Domain name and the IP address that inquires accordingly.Specifically, dns server can be true according to pre-set synchronizing cycle At the time of making, by inquiry of the domain name request in include domain name and accordingly the IP address that inquires is sent to other DNS services Device.
The advantages of second way, is similar with the above-mentioned advantage of first way.
In order to guarantee the safety of the information of interaction between dns server, dns server can also be asked according to inquiry of the domain name The domain name for including in asking, the IP address inquired accordingly and the key negotiated in advance with other dns servers, generate comprising being somebody's turn to do The encryption message of domain name and the IP address inquired accordingly is sent to other dns servers.Other dns servers are receiving this It after encrypting message, is decrypted by the encryption message using above-mentioned key pair, so that it may which acquisition is carried in the encryption information Domain name and the IP address that inquires accordingly, and the IP address inquired according to the domain name of acquisition and accordingly is to parsing list It is updated.
Optionally, dns server may be used also while sending domain name and the IP address inquired to other dns servers The domain name type field of the parsing result life span and the domain name that are arranged with will be directed to the IP address inquired is sent to it His dns server, to indicate that other dns servers determine the effective of the IP address inquired according to the parsing result life span Time.
The above method provided in an embodiment of the present invention can realize based on the first networking plan in the prior art, and It is not necessary that the lower recurrence dns server for hanging more caching DNS servers is specially arranged, therefore dns server cluster paralysis is not will increase Paralysis risk.Meanwhile by using above scheme, can be total to since IP address is between the different dns servers of same network segment It enjoys and carries out out the parsing result obtained after net iterative query for same domain name, hence for user in dns server cluster The identical domain name mapping request initiated, there is no need to spend too many resource and time to carry out out net iterative query, therefore can To avoid lower using analyzing efficiency existing for the processing method of domain name mapping in the prior art request and can waste need not The problem of process resource wanted.
The specific implementation process of the embodiment of the present invention introduced below in practical applications.
For realizing a kind of system structure diagram such as Fig. 4 of the above method provided in an embodiment of the present invention in practical application It is shown.Dns server cluster in Fig. 4 includes 4 dns servers altogether, they are dns server 1 ~ 4 respectively, and those DNS Meet that IP is reachable between server, i.e., the IP address of those dns servers is in same network segment.The system based on shown in Fig. 4 The detailed process for realizing the above method provided in an embodiment of the present invention includes following steps as shown in Figure 5:
Step 51, if opening the multicast synchronization mechanism of encryption, arranging key between dns server 1 ~ 4;
Step 52, when user terminal initiates domain name analysis request for the first time, GSLB is asked the domain name mapping by scheduling It asks and is sent to dns server 1;
Step 53, dns server 1 judges in the domain name phase that whether can locally inquire with include in domain name mapping request Corresponding IP address executes the IP address inquired feeding back to user terminal, and terminate process when the judgment result is yes Operation, and when the judgment result is No, execute step 54;
Step 54, dns server 1 is inquired by the way of going out net recursive query;
Step 55, dns server 1 is obtained by the way of going out net recursive query and is inquired corresponding with the domain name IP address;
Step 56, dns server 1 updates local parsing list according to the corresponding relationship of the domain name and IP address;
Meanwhile for user terminal, dns server 1 can also further execute subsequent step, i.e., will inquire IP address is sent to user terminal, so that user terminal can realize the access to corresponding server according to the IP address.
Step 57, dns server 1 translates domain names into the domain name for including and the IP address inquired accordingly in request and sends To dns server 2 ~ 4;
Specifically, dns server 1 can record the item number of increased IP address in parsing list, and judge After the item number of the IP address recorded out reaches regulation item number threshold value, increased IP address is sent to by DNS service with multicast mode Device 2 ~ 4;Or dns server 1 can also will parse the incremental portion in list every specified time interval with multicast mode It is sent to dns server 2 ~ 4.For in such a way that dns server 1 periodically sends IP address and corresponding domain name, in detail Sending method can be such that
Firstly, dns server 1 is according to pre-set sending cycle at the time of determining, from the solution locally saved The IP address increased newly after sending multicast from last time and corresponding domain name (hereinafter referred to as newly-increased parsing result) are filtered out in analysis list, It wherein, may include domain name, IP address, parsing result life span, domain name type field in every newly-increased parsing result;
Secondly, the newly-increased parsing result filtered out is sent to dns server 2 ~ 4 by multicast mode by dns server 1. When being sent, dns server 1 can be encrypted the newly-increased parsing result filtered out according to the key negotiated in advance After retransmit.
Step 58, IP address and corresponding domain name that dns server 2 ~ 4 is sent according to dns server 1, respectively to local The parsing list of preservation is updated.
Specifically, dns server 2 ~ 4 can distinguish dns server 1 transmission each IP address and corresponding domain name whether It has been synchronized to local, for the IP address and corresponding domain name synchronized, can choose and ignore, and for the IP not synchronized Address and corresponding domain name can be then saved into local parsing list.
If the IP address and corresponding domain name that receive are encrypted, dns server 2 ~ 4 can be respectively according to DNS service The key negotiated between device 1 ~ 4, is decrypted it, then executes again according to the obtained IP address of decryption and corresponding domain name more The operation of new local parsing list.
It include in the request of domain name mapping described in step 52 when there is other users terminal to initiate by executing above-mentioned steps When the domain name mapping request of domain name, even if domain name mapping request is allocated to dns server 2 ~ 4, dns server 2 ~ 4 No longer need to carry out out net iterative query, but the information in the parsing list that directly can locally save according to it is directly to this Domain name mapping request is responded.
In addition, network management hand can also be passed through for the new dns server that dns server cluster as shown in Figure 4 is newly added Section is by the parsing list synchronization of dns server 1 ~ 4 to the new dns server.
Corresponding to the processing method of domain name mapping provided in an embodiment of the present invention request, the embodiment of the present invention also provides one kind The processing unit of domain name mapping request, the concrete structure schematic diagram of the device is as shown in fig. 6, mainly include following functions unit:
Obtaining unit 61 is requested in domain name mapping, for obtaining the domain name mapping request of user terminal transmission;
Recursive query unit 62, for not finding the domain name obtained with domain name mapping request obtaining unit 61 locally When the corresponding IP address of the domain name for including in analysis request, by the way of net recursive query out, inquiry uses domain name Server IP address;
List update unit 63 is parsed, in the domain name mapping request for requesting obtaining unit 61 to obtain according to domain name mapping The IP address that the domain name and recursive query unit for including inquire, update device preservation stores IP address for corresponding With the parsing list of domain name;
Transmission unit 64, for inquiring the domain name and recursive query unit 62 that include in above-mentioned domain name mapping request IP address is sent to the dns server for meeting specified requirements so that meet the dns server of specified requirements according to the domain name and The IP address inquired accordingly, the parsing list saved to it are updated;Wherein, meet the dns server of specified requirements Are as follows: the IP address of IP address and the device belongs to the dns server of same network segment.
The device can be dns server, or the equipment for being built in dns server, it can also be for independently of DNS Equipment outside server.
Optionally, which can also include: number updating unit, for updating parsing in parsing list update unit 63 After list, according to the number for the IP address that recursive query unit 62 inquires, in the parsing list saved to the device of record The number of newly-increased IP address is updated;Then under the scene, transmission unit 64 can specifically be divided are as follows: judgment sub-unit is used Whether it is not less than pre-set number threshold value in the number for judging the updated newly-increased IP address;It determines subelement, uses In when it is to be that judgment sub-unit, which obtains judging result, determination is not issued to DNS service from the parsing list that the device saves The IP address of device and corresponding domain name;And the IP address for being not issued to dns server determined and corresponding domain name are sent out Give dns server;And the number of the newly-increased IP address is updated to 0.
Optionally, transmission unit 64 specifically can be used for: in the at the time of of determining according to pre-set synchronizing cycle, The domain name translated domain names into request and the IP address inquired accordingly are sent to dns server.
Optionally, transmission unit 64 specifically can be used for: according to domain name mapping request in domain name, accordingly inquire IP address and the key negotiated in advance with other dns servers, generating includes the domain name and the IP address inquired accordingly Encryption message is sent to dns server.
Optionally, transmission unit 64 specifically can be used for: the domain name translated domain names into request, the IP inquired accordingly Address, the parsing result life span and domain name that are arranged for the IP address inquired domain name type field be sent to DNS Server.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (8)

1. a kind of processing method of domain name mapping request, which is characterized in that be applied in domain name service dns server cluster, institute Stating dns server cluster includes dns server and other dns servers, and the described method includes:
Domain name service dns server obtains the domain name mapping request that user terminal is sent, and wherein domain name analysis request is complete Office load balancing GSLB is distributed by scheduling;
The dns server when not finding locally with the corresponding IP address of domain name for including in domain name mapping request, By the way of net recursive query out, inquiry uses the IP address of the server of domain name;
According to domain name and the IP address that inquires, update itself preservation for corresponding storage IP address and domain name Parse list;
According to the number of the IP address inquired, to newly-increased IP address in the parsing list of record itself saved Number is updated;
Judge whether the number of the updated newly-increased IP address is not less than pre-set number threshold value, and in judging result When to be, the IP address for being not issued to other dns servers and corresponding is determined from the parsing list that itself is saved Domain name;And the IP address of other dns servers is not issued to described in determining and corresponding domain name is sent to Other described dns servers, so that other described dns servers are according to domain name and the IP address inquired, it is right Its parsing list saved is updated;And the number of the newly-increased IP address is updated to 0, so that other described DNS services When domain name mapping request that the other users terminal that device receives the GSLB distribution is initiated, domain name, directly according to it The parsing list locally saved responds domain name analysis request;
Wherein, the IP address of other dns servers meets: belonging to same network segment with the IP address of the dns server.
2. the method as described in claim 1, which is characterized in that the dns server is by domain name and described in inquiring IP address is sent to other described dns servers, specifically includes:
The dns server by domain name and was inquired in the at the time of of determining according to pre-set synchronizing cycle The IP address is sent to other described dns servers.
3. the method as described in claim 1~2 is any, which is characterized in that the dns server is by domain name and inquires The IP address be sent to other described dns servers, specifically include:
The dns server according to domain name, the IP address inquired and in advance with other described dns servers negotiate Key, generate and be sent to other described dns servers comprising domain name and the encryption message of the IP address inquired.
4. the method as described in claim 1~2 is any, which is characterized in that the dns server is by domain name and inquires The IP address be sent to other dns servers, specifically include:
The dns server is arranged by domain name, the IP address inquired, for the IP address inquired The domain name type field of parsing result life span and domain name is sent to other described dns servers.
5. a kind of processing unit of domain name mapping request, which is characterized in that be applied in domain name service dns server cluster, institute State that dns server cluster includes dns server and other dns servers and described device includes:
Obtaining unit is requested in domain name mapping, and for obtaining the domain name mapping request of user terminal transmission, wherein domain name is parsed Request is that global load balancing GSLB is distributed by scheduling;
Recursive query unit, for not finding the domain name mapping request obtained with domain name mapping request obtaining unit locally In include domain name corresponding IP address when, by the way of net recursive query out, inquiry uses the server of domain name IP address;
List update unit is parsed, the domain for including in the domain name mapping request for requesting obtaining unit to obtain according to domain name mapping The IP address that name and recursive query unit inquire, update described device preservation is used for corresponding storage IP address and domain name Parsing list;
Number updating unit, for being looked into according to recursive query unit after parsing list update unit updates the parsing list The number for the IP address ask, increase newly in the parsing list saved to the described device of record the number of IP address into Row updates;
Transmission unit, for judging whether the number of the updated newly-increased IP address is not less than pre-set number threshold Value;When the judgment result is yes, determination is not issued to other dns servers from the parsing list that described device saves IP address and corresponding domain name;And the IP address of other dns servers and corresponding is not issued to described in determining Domain name be sent to other described dns servers;And the number of the newly-increased IP address is updated to 0 so that it is described other Dns server is according to domain name and the IP address inquired, and the parsing list saved to it is updated, so that described When domain name mapping request that the other users terminal that other dns servers receive the GSLB distribution is initiated, domain name, The parsing list directly locally saved according to it responds domain name analysis request;
Wherein, the IP address of other dns servers meets: the DNS for belonging to same network segment with the IP address of described device takes Business device.
6. device as claimed in claim 5, which is characterized in that transmission unit is specifically used for: according to pre-set synchronization Domain name and the IP address inquired are sent to other described dns servers by period and the at the time of of determining.
7. the device as described in claim 5~6 is any, which is characterized in that transmission unit is specifically used for: according to domain name, The IP address inquired and the key negotiated in advance with other described dns servers, generating includes domain name and inquiry To the encryption message of the IP address be sent to other described dns servers.
8. the device as described in claim 5~6 is any, which is characterized in that transmission unit is specifically used for: by domain name, looking into The domain of the IP address, the parsing result life span and domain name that are arranged for the IP address inquired ask Name type field is sent to other described dns servers.
CN201210576374.9A 2012-12-26 2012-12-26 The processing method and processing device of domain name mapping request Active CN103905572B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210576374.9A CN103905572B (en) 2012-12-26 2012-12-26 The processing method and processing device of domain name mapping request

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210576374.9A CN103905572B (en) 2012-12-26 2012-12-26 The processing method and processing device of domain name mapping request

Publications (2)

Publication Number Publication Date
CN103905572A CN103905572A (en) 2014-07-02
CN103905572B true CN103905572B (en) 2019-05-07

Family

ID=50996726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210576374.9A Active CN103905572B (en) 2012-12-26 2012-12-26 The processing method and processing device of domain name mapping request

Country Status (1)

Country Link
CN (1) CN103905572B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592176B (en) * 2014-10-27 2019-01-01 中国移动通信集团公司 A kind of information processing method, the network equipment and system
CN104468865B (en) * 2014-12-25 2019-03-05 北京奇虎科技有限公司 Domain name mapping control, response method and corresponding device
CN106210158B (en) * 2015-05-04 2020-03-27 阿里巴巴集团控股有限公司 Domain name resolution synchronization method and device
CN106331205B (en) * 2015-07-01 2019-02-05 中兴通讯股份有限公司 The centralized management method, apparatus and relevant device of domain name resources record buffer memory
CN105262851B (en) * 2015-09-16 2019-04-09 互联网域名系统北京市工程研究中心有限公司 One kind being based on shifty DNS retransmission method and system
CN105338128B (en) * 2015-09-25 2018-09-25 互联网域名系统北京市工程研究中心有限公司 Domain name analytic method and domain name mapping device
CN105357328B (en) * 2015-09-28 2018-10-02 互联网域名系统北京市工程研究中心有限公司 Domain name analytic method, DNS recursion servers and domain name analysis system
CN108270748A (en) * 2016-12-30 2018-07-10 北京酷我科技有限公司 A kind of data transmission method and system
CN106973125A (en) * 2017-03-16 2017-07-21 中国联合网络通信集团有限公司 Domain name mapping implementation method and device
CN106936945B (en) * 2017-04-25 2020-02-14 中国联合网络通信集团有限公司 Distributed domain name resolution method and device
CN107547682B (en) * 2017-07-31 2020-06-05 新华三技术有限公司 IP address identification method and device
CN109561167B (en) * 2018-11-27 2021-09-24 杭州迪普科技股份有限公司 Domain name resolution method and device
CN111988443B (en) * 2020-08-14 2023-04-07 杭州视洞科技有限公司 Dynamic DNS optimization scheme based on cloud service configuration and local persistence
CN114513487A (en) * 2020-10-28 2022-05-17 武汉斗鱼网络科技有限公司 Method and device for accelerating domain name resolution, electronic equipment and computer readable storage medium
CN112559542B (en) * 2020-12-11 2023-11-07 赛尔网络有限公司 Network basic information base updating method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924776A (en) * 2010-09-16 2010-12-22 网宿科技股份有限公司 Method and system for domain name resolution server to resist flooding attacks of DNS (Domain Name System) request reports
CN101938529A (en) * 2010-09-02 2011-01-05 中国科学院计算机网络信息中心 Expired intervention method for domain name data lifetime and recursion server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7725602B2 (en) * 2000-07-19 2010-05-25 Akamai Technologies, Inc. Domain name resolution using a distributed DNS network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938529A (en) * 2010-09-02 2011-01-05 中国科学院计算机网络信息中心 Expired intervention method for domain name data lifetime and recursion server
CN101924776A (en) * 2010-09-16 2010-12-22 网宿科技股份有限公司 Method and system for domain name resolution server to resist flooding attacks of DNS (Domain Name System) request reports

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
《DNS安全漏洞以及防范策略研究》;方蕾 等;《微电子学与计算机》;20031031(第10期);第53-56页
《区域域名系统建设与管理》;郭自龙 等;《福建电脑》;20090131(第1期);第43页
《基于DNS服务器漏洞攻击的防范》;厉阳春;《咸宁学院学报》;20101231;第30卷(第12期);第23-24页
《多出口网络中DNS服务器的部署研究》;沈达峰;《淮阴工学院学报》;20121031;第21卷(第5期);第20-23页

Also Published As

Publication number Publication date
CN103905572A (en) 2014-07-02

Similar Documents

Publication Publication Date Title
CN103905572B (en) The processing method and processing device of domain name mapping request
CN105959433B (en) A kind of domain name analytic method and its domain name analysis system
CN103051740B (en) Domain name analytic method, dns server and domain name analysis system
AU2015324004B2 (en) Using credentials stored in different directories to access a common endpoint
CN102077189B (en) Request routing using network computing components
US8800011B2 (en) Validating pointer records in a domain name system (DNS) service
CN109040337A (en) A kind of information query method, Edge Server and information query system
CN109085999B (en) Data processing method and processing system
WO2015039475A1 (en) Method, server, and system for domain name resolution
CN103856569A (en) Method and device for synchronizing domain name system resource information
US20230216826A1 (en) Systems and methods for processing requests for content of a content distribution network
CN111327668B (en) Network management method, device, equipment and storage medium
CN106210158B (en) Domain name resolution synchronization method and device
CN102868550A (en) Total network flow scheduler and method for querying domain name resolution record by using total network flow scheduler
CN105812321A (en) Network file system based on user information management file resource and processing method
MXPA03005934A (en) Method of restricting access to resources belonging to interactive services with at least one package.
CN114221959A (en) Service sharing method, device and system
CN105657077B (en) A kind of network address commutation traversing method and network address translation apparatus
CN110213398B (en) Alias management method, device, server and storage medium
KR100751456B1 (en) OSGi SERVICE FLATFORM AND METHOD FOR OFFERING SERVICE USING BY IT
CN106331205B (en) The centralized management method, apparatus and relevant device of domain name resources record buffer memory
JP2003162449A (en) Integrated access management system, integrated access management device and its method and program
Reeja Role based access control mechanism in cloud computing using cooperative secondary authorization recycling method
US10791088B1 (en) Methods for disaggregating subscribers via DHCP address translation and devices thereof
US20140047014A1 (en) Network access system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant