CN102025793A - Domain name resolution method and system and DNS in IP network - Google Patents

Domain name resolution method and system and DNS in IP network Download PDF

Info

Publication number
CN102025793A
CN102025793A CN 201010034541 CN201010034541A CN102025793A CN 102025793 A CN102025793 A CN 102025793A CN 201010034541 CN201010034541 CN 201010034541 CN 201010034541 A CN201010034541 A CN 201010034541A CN 102025793 A CN102025793 A CN 102025793A
Authority
CN
China
Prior art keywords
domain name
address
isp
website
access user
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.)
Pending
Application number
CN 201010034541
Other languages
Chinese (zh)
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 Group Beijing Co Ltd
Original Assignee
China Mobile Group Beijing 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 Group Beijing Co Ltd filed Critical China Mobile Group Beijing Co Ltd
Priority to CN 201010034541 priority Critical patent/CN102025793A/en
Publication of CN102025793A publication Critical patent/CN102025793A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a domain name resolution method and a domain name resolution system in an Internet protocol (IP) network, which are used for solving the problems that: in an Internet service provider (ISP) provided with the access resource of a certain website, an access user of the ISP may access a website server accessed by another ISP, so that an access route is lengthened and packet loss and delay jitter are increased. The domain name resolution method in the IP network comprises the following steps that: when receiving a domain name resolution request carrying a website domain name initiated by the access user, the domain name resolution system queries an IP address which corresponds to the website domain name in a local domain name database and a cache; when the IP address which corresponds to the website domain name is not queried in the local domain name database and the cache, the domain name resolution system acquires a plurality of IP addresses which correspond to the website domain name through iterative query; and the domain name resolution system matches an IP address positioned in an IP address field of the ISP to which the domain name resolution system belongs in the plurality of acquired IP addresses and returns the IP address to the access user. The invention also provides the domain name resolution method and a domain name server (DNS) in the IP network.

Description

Domain name analytic method in a kind of IP network, system and dns server
Technical field
The present invention relates to IP (Internet Protocol, Internet protocol) network field, relate in particular to domain name analytic method, system and DNS (Domain Name Service, the domain name service) server in a kind of IP network.
Background technology
In IP (Internet Protocol, Internet protocol) network, the major function of DNS (Domain Name Service, domain name service) is that the domain name (Domain Name) that is easy to people's memory is changed with the discernible IP of network address.Conversion between domain name and the IP address is called domain name mapping, and the network host of carrying out domain name mapping can be called dns server.
In the prior art, DNS provides three kinds of domain name mapping modes: local search, caching query and iterative query.If the access user of certain ISP (Internet Service Provider, ISP) imports certain website domain name in browser, then insert the user and initiate the domain name mapping request, wherein carry this website domain name; The dns server of this ISP, be commonly referred to as local dns server and receive this domain name mapping request, at first carry out local search, the IP address of this website domain name correspondence of inquiry in the home domain name database, stored in the home domain name database and belonged to the home domain name that this dns server resolves and the corresponding relation of IP address, if this website domain name is a home domain name, then local dns server directly returns to the IP address that inquires and inserts the user; If this website domain name is not a home domain name, local dns server is then carried out caching query, query parse record in the buffer memory of this dns server (generally preserving the non-home domain name and the corresponding IP address thereof of resolving by the iterative query mode in nearest a period of time in the buffer memory) with the form of separating new record, if in buffer memory, have this website domain name relevant separate new record, then local dns server directly returns to the IP address that inquires and inserts the user; If in buffer memory not this website domain name relevant separate new record, local dns server is carried out iterative query at last, obtains the IP address of this website domain name correspondence by iterative query.
With query web domain name " www.aaa.com.cn " is example, the domain name mapping process of iterative query is described, suppose that local dns server does not inquire the IP address of www.aaa.com.cn correspondence in home domain name database and buffer memory, then further comprise following iterative query process:
Step 1, local dns server are initiated this domain name mapping request to the rhizosphere dns server of self;
Step 2, if the rhizosphere dns server can't be resolved, then return the IP address of the dns server in management cn territory to local dns server;
Step 3, local dns server are initiated this domain name mapping request to the dns server in management cn territory;
Step 4, if the dns server in management cn territory can't be resolved, then return the IP address of the dns server in management com.cn territory to local dns server;
Step 5, local dns server are initiated this domain name mapping request to the dns server in management com.cn territory;
Step 6, if the dns server in management com.cn territory can't be resolved, then return the IP address of the dns server of aaa website to local dns server;
Step 7, local dns server obtain the IP address of this website domain name from the dns server of aaa website, and return to the access user.
In the Internet, the website exists with the form of server, and is each station server distributing IP address, inserts the server of user capture website.In the prior art, in the domain name mapping process of carrying out iterative query, the dns server of website usually can be by the DNS respond packet form return the IP address of some Website servers to local dns server, local dns server returns to the DNS respond packet and inserts the user; Insert the user and from some IP address, select an IP address to visit this website, preferential usually first IP address of selecting in some IP address.When different I SP interconnects, suppose that ISP1 and ISP2 all insert the server of certain website, wherein ISP1 inserts the server 1 of this website, and the IP address of server 1 is 1.1.1.1; ISP2 inserts the server 2 of this website, and the IP address of server 2 is 2.2.2.2.As shown in Figure 1, when the access user of ISP1 initiates to carry the domain name mapping request of this website domain name, in the domain name mapping process of carrying out iterative query, the dns server of this website can be carried at the local dns server that returns to ISP1 in the DNS respond packet with 1.1.1.1 and 2.2.2.2, and local dns server returns to the DNS respond packet and inserts the user; Inserting the user selects 1.1.1.1 or 2.2.2.2 to visit this website.Select 1.1.1.1 to visit this website if insert the user, corresponding, the access path that inserts the user sees also access path shown in Figure 11; If select 2.2.2.2 to visit this website and insert the user, accordingly, the access path that inserts the user sees also access path shown in Figure 12, the ISP of certain website access-in resource will occur having, and it inserts the situation of the Website server of another ISP access of user capture.As can be seen, access path 2 is owing to stride the ISP network, it is elongated to cause visiting route, and the access user of ISP1 can't ensure its QoS (Quality of Service in the network of ISP2, service quality), can cause the increase of packet loss and delay variation, have a strong impact on user's perception, and can increase the bandwidth burden that ISP interconnects.
In the prior art, because inserting the user can the flexible configuration local dns server, may appear as ISP and the inconsistent situation of the ISP under the access user (be and insert the ISP that the user provides Internet access service) that the user provides the dns server ownership of domain name mapping service that insert, cause the domain name mapping path to stride the ISP network, thereby the reduction domain name resolution efficiency increases access time delay.
Summary of the invention
The embodiment of the invention provides domain name analytic method and the system in a kind of IP network, the ISP that has certain website access-in resource in order to solution, it inserts user may visit the Website server that another ISP inserts, thereby it is elongated to cause visiting route, the problem that packet loss and delay variation increase.
The embodiment of the invention provides domain name analytic method and the dns server in a kind of IP network, inconsistent with the ISP under the access user in order to solution for the ISP that the access user provides the dns server of domain name mapping service to belong to, thereby cause domain name resolution efficiency to reduce, the problem that access time delay increases.
Domain name analytic method in first kind of Internet protocol IP network that the embodiment of the invention provides comprises:
When domain name analysis system receives and inserts Client-initiated and carry the domain name mapping request of website domain name, the IP address of the described website of inquiry domain name correspondence in home domain name database and buffer memory; And
When in home domain name database and buffer memory, not inquiring the IP address of described website domain name correspondence, obtain some IP address of described website domain name correspondence by iterative query;
Domain name analysis system matches the IP address that is positioned within the IP address field that self belongs to the ISP of ISP and returns to described access user from the some IP address that gets access to.
Domain name analysis system in first kind of Internet protocol IP network that the embodiment of the invention provides comprises front end domain name service DNS module and rear end intelligence DNS module, wherein:
Described front end DNS module, be used to receive when inserting Client-initiated and carrying the domain name mapping request of website domain name, the IP address of the described website of inquiry domain name correspondence in home domain name database and buffer memory, when in home domain name database and buffer memory, not inquiring the IP address of described website domain name correspondence, the domain name analysis request is transmitted to described rear end intelligence DNS module, and the IP address of rear end intelligence DNS module loopback is returned to described access user;
Described rear end intelligence DNS module, be used for when receiving the domain name mapping request of front end DNS module forwards, by some IP address that described website domain name correspondence is obtained in iterative query, described front end DNS module is given in the IP address loopback that matches from the some IP address that gets access within the IP address field that is positioned at the domain name resolution system ownership ISP of ISP.
Domain name analytic method in second kind of IP network that the embodiment of the invention provides comprises:
Name server receives the domain name mapping request that Client-initiated carries the website domain name that inserts; And
When confirming that described access user's IP address is positioned within the IP address field of self ownership ISP of ISP, obtain the IP address of described website domain name correspondence by domain name mapping, and the IP address that obtains is returned to described access user.
Second kind of domain name service dns server that the embodiment of the invention provides comprises:
Receiving element is used to receive the domain name mapping request that Client-initiated carries the website domain name that inserts;
Confirmation unit when being used to confirm that described access user's IP address is positioned within the IP address field of the described dns server ownership ISP of ISP, triggers first processing unit;
First processing unit is used for obtaining by domain name mapping the IP address of described website domain name correspondence, and the IP address that obtains is returned to described access user.
Domain name analytic method and system in first kind of IP network that the embodiment of the invention provides, at ISP with certain website access-in resource, only the IP address that is complementary with the IP address field of this ISP in some IP address of this website domain name correspondence is sent to the access user of this ISP, effectively avoided striding the access path of ISP network, shortened the visit route, by promoting business QoS supportability end to end, reduce packet loss and delay variation, thereby promoted user experience greatly, reduced the flow that interconnects between the ISP.
Domain name analytic method and dns server in second kind of IP network that the embodiment of the invention provides, receive when inserting Client-initiated domain name mapping request, this IP address field that inserts user's IP address and self ownership ISP is mated, if coupling is then carried out normal domain name mapping for this access user.By the ISP under the location access user, and provide different domain name mapping strategies for it according to the ISP that inserts under the user, make dns server possess the ability that the access user's of access user's the domain name mapping request of ownership ISP and other ISP domain name mapping request differentiation is handled, promote domain name resolution efficiency.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Fig. 1 is the access path contrast schematic diagram of certain Website server of inserting of the access user capture different I SP of certain ISP in the prior art;
Domain name analysis system block diagram in the IP network that Fig. 2 provides for embodiment one;
Domain name analytic method flow chart in the IP network that Fig. 3 provides for embodiment one;
The domain name mapping process schematic diagram of the access user capture Website server of certain ISP that Fig. 4 provides for embodiment one;
Domain name analytic method flow chart in the IP network that Fig. 5 provides for embodiment two;
The structured flowchart of the dns server that Fig. 6 provides for embodiment two.
Embodiment
Below in conjunction with Figure of description the preferred embodiments of the present invention are described, be to be understood that, preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention, and under the situation of not conflicting, embodiment and the feature among the embodiment among the present invention can make up mutually.
Embodiment one
Present embodiment is at the ISP that has certain website access-in resource in the prior art, it inserts the user may visit the Website server that another ISP inserts, thereby it is elongated to cause visiting route, the problem that packet loss and shake time delay increase, domain name analytic method and system in a kind of IP network are provided, the IP address field of some IP address of the net territory domain name correspondence that domain name analysis system will get access to by iterative query and self ownership ISP mates, only keep the IP address within the IP address field that is positioned at ownership ISP, can guarantee to have the ISP of certain website access-in resource, the IP address of this website domain name correspondence that its access user receives all is IP addresses of the Website server of this ISP access.
Be example at first, problems of the prior art are described with actual test data.See also table 1, the test data when the access user who has specifically provided ISP1 visits certain Website server that certain Website server that ISP1 inserts and ISP2 insert respectively.As can be seen, PING time delay maximum differs more than 100 times from actual test data, and webpage overall delay and webpage general speed differ about 2 times, and certain gap is also being arranged aspect the web page access success rate.
Table 1
Figure G2010100345418D00061
Figure G2010100345418D00071
At the ISP that has certain website access-in resource in the prior art, it inserts the situation that the user may visit the Website server of another ISP access, present embodiment proposes the dns server transformation of ISP is obtained domain name analysis system, by the feasible ISP of this domain name analysis system with certain website access-in resource, it inserts the user can only visit the Website server that this ISP inserts, thereby it is elongated effectively to avoid access path to stride the visit route that the ISP network caused, problems such as packet loss and the increase of shake time delay.
The domain name analysis system that present embodiment obtains after at first the dns server of ISP being transformed is elaborated.ISP points to the telecom operators that users comprehensively provide Internet access service, information service and other value-added services, each ISP can for its insert the user provide dial up on the telephone, ADSL (Asymmetrical Digital Subscriber Loop, Asymmetrical Digital Subscriber Line), FTTx (Fiber-to-the-x, the optical fiber access), GPRS (General Packet Radio Service, GPRS) wireless Internet access, EDGE (Enhanced Data rates for GSM Evolution; The enhanced data rates for gsm evolution system; GSM:Global System for Mobile Communication, global system for mobile communications) wireless Internet access, CDMA (Code Division Multiple Access, code division multiple access) wireless Internet access waits one or more to insert the mode of the Internets, the domain name analysis system that provides in the present embodiment does not limit the mode of the access the Internet that the ISP of its ownership can provide, and that is to say the IP network that is applicable to various access waies.As shown in Figure 2, the domain name analysis system that present embodiment provides comprises front end DNS module 201 and rear end intelligence DNS module 202, and needs the IP address field of default ownership ISP, wherein:
Front end DNS module 201, be used to receive when inserting Client-initiated and carrying the domain name mapping request of website domain name, the IP address of this website domain name correspondence of inquiry in home domain name database and buffer memory, when in home domain name database and buffer memory, not inquiring the IP address of this website domain name correspondence, the domain name mapping request is transmitted to rear end intelligence DNS module 202, and the IP address of rear end intelligence DNS module 202 loopbacks is returned to the access user;
Rear end intelligence DNS module 202, be used for when receiving the domain name mapping request of front end DNS module 201 forwardings, by some IP address that this website domain name correspondence is obtained in iterative query, front end DNS module 201 is given in the IP address loopback that matches from the some IP address that gets access within the IP address field that is positioned at this domain name analysis system ownership ISP.
In concrete the enforcement, the situation that does not have this website access-in resource at ISP itself, the situation that access path is striden the ISP network is unavoidable, then rear end intelligence DNS module 202, if also be used for not matching from the some IP address that gets access to the IP address within the IP address field that is positioned at this domain name analysis system ownership ISP, some IP address that then will get access to directly returns to inserts the user.
Owing to stored the IP address of home domain name correspondence in the home domain name database, based on the above-mentioned iterative query strategy that increases the IP matching addresses, the IP address of the non-home domain name correspondence of preserving in the buffer memory generally also be the ownership ISP the IP address field within the IP address, preferable, front end DNS module 201, also be used for when when home domain name database or buffer memory inquire the IP address of this website domain name correspondence, the IP address that inquires returned to insert the user.
Provide the ISP and the inconsistent situation of ISP that inserts under the user of the domain name analysis system ownership of domain name mapping service at what may exist for inserting the user, present embodiment further proposes: increase the function that the access user's of the access user's of this ISP domain name mapping request and other ISP domain name mapping request differentiation is handled in domain name analysis system, be the access user by the ISP under the location access user ISP that inserts Internet service is provided, provide the domain name mapping service of Different Strategies according to the ISP under the access user for it, for the access user of this ISP provides normal domain name mapping service, for the access user of other ISP only provides local search.Then front end DNS module further possesses following function:
Front end DNS module 201 also was used for before the IP address of home domain name database and this website domain name correspondence of buffer memory inquiry, confirmed that this access user's IP address is positioned within the IP address field of this domain name analysis system ownership ISP.
In concrete the enforcement, be not positioned at the situation within the IP address field of this domain name analysis system ownership ISP at this access user's IP address, only provide local search for this access user, front end DNS module 201 then, also be used for when this access user's IP address is not positioned within the IP address field of this domain name analysis system ownership ISP the IP address of query web domain name correspondence in the home domain name database; If in the home domain name database, inquire the IP address of this website domain name correspondence, then the IP address that inquires is returned to this access user; If in the home domain name database, do not inquire the IP address of this website domain name correspondence, then denial of service.
This domain name analysis system can be realized based on different hardware structures, can front end DNS module and rear end intelligence DNS module merge to be arranged in the same server and realize, also can front end DNS module be separately positioned in the different servers and realize with rear end intelligence DNS module.In this domain name analysis system, the quantity of front end DNS module can be one, also can be for a plurality of, if adopt the hardware structure of a plurality of front end DNS modules and a rear end DNS module, then a plurality of front end DNS modules are separately positioned in the different servers, and the server at each front end DNS module place is respectively different regions service is provided.
Based on same technical conceive, present embodiment provides the domain name analytic method in a kind of IP network, when domain name analysis system receives and inserts Client-initiated and carry the domain name mapping request of website domain name, the IP address of this website domain name correspondence of inquiry in home domain name database and buffer memory; And when in home domain name database and buffer memory, not inquiring the IP address of this website domain name correspondence, obtain some IP address of this website domain name correspondence by iterative query; Domain name analysis system matches the IP address that is positioned within the IP address field that self belongs to ISP and returns to the access user from the some IP address that gets access to, effectively avoided having the ISP of certain website access-in resource, it inserts the situation that the user may visit the Website server of another ISP access, thereby shorten the visit route, reduce packet loss and delay variation.
As shown in Figure 3, concrete domain name mapping process comprises the steps:
S301, domain name analysis system receive the domain name mapping request that Client-initiated carries the website domain name that inserts;
S302, domain name analysis system judge whether this access user's IP address is positioned at self and belongs within the IP address field of ISP, if, then carry out S303, if not, then carry out S311;
S303, domain name analysis system are inquired about the IP address of this website domain name correspondence in home domain name database and buffer memory;
S304, domain name analysis system are judged the IP address that whether can inquire this website domain name correspondence in home domain name database and buffer memory, if, then carry out S305, if not, then carry out S306;
S305, domain name analysis system return to the IP address that inquires and insert the user, and flow process finishes;
S306, domain name analysis system obtain some IP address of this website domain name correspondence by iterative query;
In concrete the enforcement, iterative query process and iterative query process basically identical of the prior art, general from some IP address that the dns server of website obtains this website domain name correspondence, the dns server of website carries all IP addresses of website domain name correspondence in the DNS respond packet of returning.
S307, domain name analysis system mate the IP address that is positioned within the IP address field that self belongs to ISP from the some IP address that gets access to;
Whether S308, domain name analysis system are judged can match the IP address that is positioned within the IP address field that self belongs to ISP from the some IP address that gets access to, if, then carry out S309, if not, then carry out S310;
The IP address that is positioned within the IP address field that self belongs to ISP that S309, domain name analysis system will match from the some IP address that gets access to returns to the access user, and flow process finishes;
Some IP address that S310, domain name analysis system will get access to directly returns to inserts the user, and flow process finishes;
S311, domain name analysis system are inquired about the IP address of this website domain name correspondence in the home domain name database;
If S312 inquires the IP address of this website domain name correspondence in the home domain name database, then the IP address that inquires is returned to and insert the user; If in the home domain name database, do not inquire the IP address of this website domain name correspondence, then denial of service, flow process finishes;
Described denial of service specifically can comprise: directly abandon this domain name mapping request, perhaps return the refusal response to inserting the user, perhaps to inserting the IP address that the user returns appointment.
Below, concrete structure based on domain name analysis system, illustrate the domain name mapping process that present embodiment provides, suppose to be provided with above-mentioned domain name analysis system in certain ISP (, being called ISP1) network for the ease of distinguishing, then the ISP of this domain name analysis system ownership is ISP1, the IP address field of default ISP1 in this domain name analysis system, and suppose that ISP1 has certain website access-in resource, if the access user of ISP1 imports this website domain name in browser, as shown in Figure 4, comprise the steps:
S401, access user initiate the domain name mapping request, wherein carry this website domain name;
Front end DNS module in S402, the domain name analysis system receives this domain name mapping request, judge at first whether this access user's IP address is positioned within the IP address field of ISP1, if, then provide local search and caching query for this access user, if not, then only provide local search for this access user;
S403, be positioned in this access user's IP address under the prerequisite within the IP address field of ISP1, if do not inquire the IP address of this website domain name correspondence by local search and caching query, then the domain name mapping request is transmitted to rear end intelligence DNS module, provides iterative query for this access user by rear end intelligence DNS module;
S404, rear end intelligence DNS module process rhizosphere dns server or other dns servers etc. are iteration repeatedly, the domain name mapping request is sent to the dns server of this website;
The intelligent to the back-end DNS module of the dns server of S405, this website is returned the DNS respond packet, wherein carries some IP address of this website domain name correspondence;
Mate some IP address that S406, rear end intelligence DNS module are carried the DNS respond packet, match the IP address within the IP address field that is positioned at ISP1, and rewriting DNS respond packet, only the IP address that matches is write in the DNS respond packet, revised DNS respond packet is returned to front end DNS module;
S407, front end DNS module return to revised DNS respond packet and insert the user; In concrete the enforcement, in the revised DNS respond packet, comprise at least one IP address, generally speaking, at least one station server is disposed in the website in ISP, corresponding at least one IP address, and then the IP address that is arranged in this ISP network of website domain name correspondence has at least one;
The revised DNS respond packet (comprising at least one IP address) that S408, access user return according to front end DNS module is directly visited the Website server that ISP1 inserts; In concrete the enforcement, insert the user from the DNS respond packet that front end DNS module is returned, select an IP address, and visit the Website server of this IP address correspondence.
Domain name analytic method that embodiment one provides and system, at ISP with certain website access-in resource, only in the some IP address with this website domain name correspondence, the IP address that is complementary with the IP address field of this ISP sends to the access user of this ISP, has effectively avoided striding the access path of ISP network, has shortened the visit route, by promoting business QoS supportability end to end, reduce packet loss and delay variation, thereby promoted user experience greatly, reduce the flow that ISP interconnects;
Further, domain name analytic method that embodiment one provides and system, can accurately locate and insert the affiliated ISP of user, and provide the domain name mapping service of Different Strategies for it according to the ISP that inserts under the user, thereby effectively avoided providing the ISP and the inconsistent problem of ISP that inserts under the user of the domain name analysis system ownership of domain name mapping service, promoted domain name resolution efficiency for inserting the user.
Embodiment two
The embodiment of the invention is inconsistent with the ISP (being the ISP that the access user provides Internet access service) under the access user at the ISP of the dns server ownership that the domain name mapping service is provided for the access user, thereby cause domain name resolution efficiency to reduce, the problem that access time delay increases, domain name analytic method and dns server in a kind of IP network are provided, receive when inserting Client-initiated domain name mapping request, this IP address field that inserts user's IP address and self ownership ISP is mated, if coupling, then carry out normal domain name mapping for this access user, if do not match, illustrate that this access user is from other ISP networks, then only carry out local search for this access user, for the domain name mapping request of non-home domain name, denial of service.
Domain name analytic method in the IP network that present embodiment provides as shown in Figure 5, comprising:
S501, name server receive the domain name mapping request that Client-initiated carries the website domain name that inserts;
When S502, name server confirm that this access user's IP address is positioned within the IP address field of self ownership ISP, obtain the IP address of this website domain name correspondence, and the IP address that obtains returned to insert the user by domain name mapping.
Preferable, this domain name analytic method also comprises the steps:
When name server confirms that this access user's IP address is not positioned within the IP address field that self belongs to ISP, the IP address of this website domain name correspondence of inquiry in the home domain name database; And
If in the home domain name database, inquire the IP address of described website domain name correspondence, then the IP address that inquires is returned to this access user; If in the home domain name database, do not inquire the IP address of described website domain name correspondence, then denial of service.
Based on same technical conceive, present embodiment provides a kind of dns server, as shown in Figure 6, comprising:
Receiving element 601 is used to receive the domain name mapping request that Client-initiated carries the website domain name that inserts;
Confirmation unit 602 when being used to confirm that this access user's IP address is positioned within the IP address field of this dns server ownership ISP, triggers first processing unit 603;
First processing unit 603 is used for obtaining by domain name mapping the IP address of this website domain name correspondence, and the IP address that obtains returned to inserts the user.
Preferable, this dns server also comprises second processing unit 604, wherein:
Confirmation unit 602 when being used to also to confirm that this access user's IP address is not positioned within the IP address field of this dns server ownership ISP, triggers second processing unit 604;
Second processing unit 604 is used in the IP address of this website domain name correspondence of home domain name database inquiry, if inquire the IP address of this website domain name correspondence in the home domain name database, then the IP address that inquires is returned to and inserts the user; If in the home domain name database, do not inquire the IP address of this website domain name correspondence, then denial of service.
Domain name analytic method in the IP network that embodiment two provides and dns server, by the ISP under the location access user, and provide the domain name mapping service of Different Strategies for it according to the ISP that inserts under the user, make dns server possess the ability that the access user's of access user's the domain name mapping request of self ownership ISP and other ISP domain name mapping request differentiation is handled, thereby promoted domain name resolution efficiency.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, system's (equipment) or computer program.Therefore, the present invention can adopt complete hardware embodiment, complete software implementation example or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form that goes up the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (17)

1. the domain name analytic method in the Internet protocol IP network is characterized in that, comprising:
When domain name analysis system receives and inserts Client-initiated and carry the domain name mapping request of website domain name, the IP address of the described website of inquiry domain name correspondence in home domain name database and buffer memory; And
When in home domain name database and buffer memory, not inquiring the IP address of described website domain name correspondence, obtain some IP address of described website domain name correspondence by iterative query;
Domain name analysis system matches the IP address that is positioned within the IP address field that self belongs to the ISP of ISP and returns to described access user from the some IP address that gets access to.
2. the method for claim 1 is characterized in that, also comprises:
If domain name analysis system does not match the IP address that is positioned within the IP address field that self belongs to ISP from the some IP address that gets access to, some IP address that then will get access to directly returns to described access user.
3. the method for claim 1 is characterized in that, also comprises:
Domain name analysis system returns to described access user with the IP address that inquires when inquiring the IP address of described website domain name correspondence in home domain name database or buffer memory.
4. as claim 1,2 or 3 described methods, it is characterized in that, in home domain name database and buffer memory, before the IP address of the described website of inquiry domain name correspondence, also comprise:
Domain name analysis system confirms that described access user's IP address is positioned at self and belongs within the IP address field of ISP.
5. method as claimed in claim 4 is characterized in that, also comprises:
When domain name analysis system is not positioned within the IP address field of self ownership ISP when described access user's IP address, the IP address of inquiry described website domain name correspondence in the home domain name database; And
If in the home domain name database, inquire the IP address of described website domain name correspondence, then the IP address that inquires is returned to described access user; If in the home domain name database, do not inquire the IP address of described website domain name correspondence, then denial of service.
6. method as claimed in claim 5 is characterized in that, described denial of service specifically comprises: directly abandon the domain name analysis request, perhaps return the refusal response to described access user, perhaps return the IP address of appointment to described access user.
7. the domain name analysis system in the Internet protocol IP network is characterized in that, comprises front end domain name service DNS module and rear end intelligence DNS module, wherein:
Described front end DNS module, be used to receive when inserting Client-initiated and carrying the domain name mapping request of website domain name, the IP address of the described website of inquiry domain name correspondence in home domain name database and buffer memory, when in home domain name database and buffer memory, not inquiring the IP address of described website domain name correspondence, the domain name analysis request is transmitted to described rear end intelligence DNS module, and the IP address of rear end intelligence DNS module loopback is returned to described access user;
Described rear end intelligence DNS module, be used for when receiving the domain name mapping request of front end DNS module forwards, by some IP address that described website domain name correspondence is obtained in iterative query, described front end DNS module is given in the IP address loopback that matches from the some IP address that gets access within the IP address field that is positioned at the domain name resolution system ownership ISP of ISP.
8. system as claimed in claim 7 is characterized in that,
Described rear end intelligence DNS module, if also be used for not matching from the some IP address that gets access to IP address within the IP address field that is positioned at described ownership ISP, some IP address that then will get access to directly returns to described access user.
9. system as claimed in claim 7 is characterized in that,
Described front end DNS module also is used for when when home domain name database or buffer memory inquire the IP address of described website domain name correspondence the IP address that inquires being returned to described access user.
10. as claim 7,8 or 9 described systems, it is characterized in that,
Described front end DNS module also is used for confirming that described access user's IP address was positioned within the IP address field of described ownership ISP before the IP address of home domain name database and the described website of buffer memory inquiry domain name correspondence.
11. system as claimed in claim 10 is characterized in that,
Described front end DNS module also is used for when described access user's IP address is not positioned within the IP address field of described ownership ISP the IP address of the described website of inquiry domain name correspondence in the home domain name database; If in the home domain name database, inquire the IP address of described website domain name correspondence, then the IP address that inquires is returned to described access user; If in the home domain name database, do not inquire the IP address of described website domain name correspondence, then denial of service.
12. system as claimed in claim 7 is characterized in that, described front end DNS module and rear end intelligence DNS module merging are arranged in the same server, and perhaps, described front end DNS module is separately positioned in the different servers with rear end intelligence DNS module.
13. system as claimed in claim 7 is characterized in that, comprises one or more front end DNS modules in the domain name resolution system.
14. the domain name analytic method in the IP network is characterized in that, comprising:
Name server receives the domain name mapping request that Client-initiated carries the website domain name that inserts; And
When confirming that described access user's IP address is positioned within the IP address field of self ownership ISP of ISP, obtain the IP address of described website domain name correspondence by domain name mapping, and the IP address that obtains is returned to described access user.
15. method as claimed in claim 14 is characterized in that, also comprises:
When name server confirms that described access user's IP address is not positioned within the IP address field that self belongs to ISP, the IP address of the described website of inquiry domain name correspondence in the home domain name database; And
If in the home domain name database, inquire the IP address of described website domain name correspondence, then the IP address that inquires is returned to described access user; If in the home domain name database, do not inquire the IP address of described website domain name correspondence, then denial of service.
16. a domain name service dns server is characterized in that, comprising:
Receiving element is used to receive the domain name mapping request that Client-initiated carries the website domain name that inserts;
Confirmation unit when being used to confirm that described access user's IP address is positioned within the IP address field of the described dns server ownership ISP of ISP, triggers first processing unit;
First processing unit is used for obtaining by domain name mapping the IP address of described website domain name correspondence, and the IP address that obtains is returned to described access user.
17. dns server as claimed in claim 16 is characterized in that, also comprises second processing unit, wherein:
Described confirmation unit when being used to also to confirm that described access user's IP address is not positioned within the IP address field of described ownership ISP, triggers described second processing unit;
Described second processing unit is used for if inquire the IP address of described website domain name correspondence in the home domain name database, then the IP address that inquires being returned to described access user in the IP address of the described website of home domain name database inquiry domain name correspondence; If in the home domain name database, do not inquire the IP address of described website domain name correspondence, then denial of service.
CN 201010034541 2010-01-22 2010-01-22 Domain name resolution method and system and DNS in IP network Pending CN102025793A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010034541 CN102025793A (en) 2010-01-22 2010-01-22 Domain name resolution method and system and DNS in IP network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010034541 CN102025793A (en) 2010-01-22 2010-01-22 Domain name resolution method and system and DNS in IP network

Publications (1)

Publication Number Publication Date
CN102025793A true CN102025793A (en) 2011-04-20

Family

ID=43866635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010034541 Pending CN102025793A (en) 2010-01-22 2010-01-22 Domain name resolution method and system and DNS in IP network

Country Status (1)

Country Link
CN (1) CN102025793A (en)

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299969A (en) * 2011-09-16 2011-12-28 北京新媒传信科技有限公司 Web accessing method, layer seven switching equipment and service network
CN102301682A (en) * 2011-04-29 2011-12-28 华为技术有限公司 Method and system for network caching, domain name system redirection sub-system thereof
CN102394944A (en) * 2011-09-16 2012-03-28 北京新媒传信科技有限公司 Method and equipment for correcting IP (Internet Protocol) address in Web access
CN103078968A (en) * 2013-01-22 2013-05-01 华为技术有限公司 Domain name querying method, IP (Internet Protocol) grouping method, device and equipment
CN103167044A (en) * 2011-12-08 2013-06-19 中国移动通信集团浙江有限公司 Intelligent analysis method of domain name system (DNS) and poking measurement device and system
CN103281409A (en) * 2013-06-24 2013-09-04 广州菁英信息技术有限公司 Domain name resolution method of mobile internet and DNS server based on TCP protocol
CN103428302A (en) * 2012-05-15 2013-12-04 阿里巴巴集团控股有限公司 Domain name resolution method, server and system
CN103905574A (en) * 2012-12-27 2014-07-02 中国移动通信集团公司 DNS service access method and DNS data synchronization method and device
CN104065766A (en) * 2014-07-14 2014-09-24 北京快易博科技有限公司 Bypass cache domain name resolution method and system
CN104144231A (en) * 2014-08-21 2014-11-12 北京金山安全软件有限公司 Method and device for processing DNS query request
CN104378452A (en) * 2013-08-14 2015-02-25 阿里巴巴集团控股有限公司 Method, device and system for domain name resolution
WO2015039475A1 (en) * 2013-09-18 2015-03-26 中兴通讯股份有限公司 Method, server, and system for domain name resolution
CN104539751A (en) * 2014-12-29 2015-04-22 北京奇艺世纪科技有限公司 DNS analyzing system, method and device
CN104901943A (en) * 2012-03-31 2015-09-09 北京奇虎科技有限公司 Method and system for accessing website
CN104933045A (en) * 2014-03-17 2015-09-23 腾讯科技(深圳)有限公司 Network information browsing method and network information browsing device
CN105323173A (en) * 2014-07-18 2016-02-10 中兴通讯股份有限公司 Network rule entry setting method and device
CN105491173A (en) * 2014-09-18 2016-04-13 中国电信股份有限公司 DNS analysis method, server and network system
CN105516385A (en) * 2015-12-02 2016-04-20 传线网络科技(上海)有限公司 Domain name resolution method, server and system
CN106453688A (en) * 2016-11-21 2017-02-22 天脉聚源(北京)传媒科技有限公司 Network access method and device
CN107181830A (en) * 2017-03-31 2017-09-19 北京奇艺世纪科技有限公司 A kind of method and device of acquisition targeted website data message
WO2017177437A1 (en) * 2016-04-15 2017-10-19 深圳前海达闼云端智能科技有限公司 Domain name resolution method, device, and system
CN108574744A (en) * 2017-07-28 2018-09-25 北京金山云网络技术有限公司 A kind of domain name analytic method, device, electronic equipment and readable storage medium storing program for executing
CN109003165A (en) * 2018-07-18 2018-12-14 浙江宇安消防装备有限公司 A kind of transaction platform mode implementation method of third party's online transaction platform and the parallel running of enterprise's websites contributed
WO2018233140A1 (en) * 2017-06-24 2018-12-27 平安科技(深圳)有限公司 Domain name resolution apparatus and method and computer readable storage medium
CN111327713A (en) * 2018-12-13 2020-06-23 中国移动通信集团广西有限公司 DNS (Domain name Server) analysis method and device
CN111970179A (en) * 2020-07-24 2020-11-20 下一代互联网关键技术和评测北京市工程研究中心有限公司 Networking access method and system based on IPv6
CN112015910A (en) * 2020-08-20 2020-12-01 恒安嘉新(北京)科技股份公司 Method and device for generating domain name knowledge base, computer equipment and storage medium
CN112019644A (en) * 2019-05-29 2020-12-01 贵州白山云科技股份有限公司 Method, system, medium and equipment for determining attribution information of IP address
CN112532414A (en) * 2019-09-18 2021-03-19 中国移动通信集团河北有限公司 Method, device and equipment for determining ISP attribution and computer storage medium
CN113014684A (en) * 2021-01-18 2021-06-22 珠海莲鸿科技有限公司 Communication transfer method and device for saving message verification time of Internet of things equipment
CN114500456A (en) * 2020-10-23 2022-05-13 中国移动通信集团河北有限公司 DNS scheduling optimization method and device based on full-network sniffing and computing equipment
CN115022242A (en) * 2022-08-08 2022-09-06 深圳高灯计算机科技有限公司 Network layer identification method and device, computer equipment and storage medium
CN115334040A (en) * 2022-08-10 2022-11-11 北京百度网讯科技有限公司 Method and device for determining Internet Protocol (IP) address of domain name

Cited By (49)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102301682A (en) * 2011-04-29 2011-12-28 华为技术有限公司 Method and system for network caching, domain name system redirection sub-system thereof
CN102301682B (en) * 2011-04-29 2014-02-19 华为技术有限公司 Method and system for network caching, domain name system redirection sub-system thereof
CN102299969B (en) * 2011-09-16 2014-04-16 北京新媒传信科技有限公司 Web accessing method, layer seven switching equipment and service network
CN102394944A (en) * 2011-09-16 2012-03-28 北京新媒传信科技有限公司 Method and equipment for correcting IP (Internet Protocol) address in Web access
CN102299969A (en) * 2011-09-16 2011-12-28 北京新媒传信科技有限公司 Web accessing method, layer seven switching equipment and service network
CN102394944B (en) * 2011-09-16 2014-01-29 北京新媒传信科技有限公司 Method and equipment for correcting IP (Internet Protocol) address in Web access
CN103167044A (en) * 2011-12-08 2013-06-19 中国移动通信集团浙江有限公司 Intelligent analysis method of domain name system (DNS) and poking measurement device and system
CN103167044B (en) * 2011-12-08 2016-08-03 中国移动通信集团浙江有限公司 The method of the intelligently parsing of domain name system DNS, testing device and system
CN104901943A (en) * 2012-03-31 2015-09-09 北京奇虎科技有限公司 Method and system for accessing website
CN103428302A (en) * 2012-05-15 2013-12-04 阿里巴巴集团控股有限公司 Domain name resolution method, server and system
CN103905574A (en) * 2012-12-27 2014-07-02 中国移动通信集团公司 DNS service access method and DNS data synchronization method and device
CN103905574B (en) * 2012-12-27 2017-09-08 中国移动通信集团公司 A kind of DNS Operational Visits method, DNS data synchronous method and equipment
CN103078968A (en) * 2013-01-22 2013-05-01 华为技术有限公司 Domain name querying method, IP (Internet Protocol) grouping method, device and equipment
CN103281409A (en) * 2013-06-24 2013-09-04 广州菁英信息技术有限公司 Domain name resolution method of mobile internet and DNS server based on TCP protocol
CN103281409B (en) * 2013-06-24 2016-03-16 广州市动景计算机科技有限公司 Based on mobile Internet domain name analytic method and the dns server of Transmission Control Protocol
CN104378452A (en) * 2013-08-14 2015-02-25 阿里巴巴集团控股有限公司 Method, device and system for domain name resolution
WO2015039475A1 (en) * 2013-09-18 2015-03-26 中兴通讯股份有限公司 Method, server, and system for domain name resolution
CN104933045B (en) * 2014-03-17 2019-08-09 腾讯科技(深圳)有限公司 Network information browsing method and network information browsing apparatus
CN104933045A (en) * 2014-03-17 2015-09-23 腾讯科技(深圳)有限公司 Network information browsing method and network information browsing device
CN104065766B (en) * 2014-07-14 2018-01-30 吴兴利 One kind bypass caching domain name analytic method
CN104065766A (en) * 2014-07-14 2014-09-24 北京快易博科技有限公司 Bypass cache domain name resolution method and system
CN105323173A (en) * 2014-07-18 2016-02-10 中兴通讯股份有限公司 Network rule entry setting method and device
CN104144231A (en) * 2014-08-21 2014-11-12 北京金山安全软件有限公司 Method and device for processing DNS query request
CN105491173A (en) * 2014-09-18 2016-04-13 中国电信股份有限公司 DNS analysis method, server and network system
CN105491173B (en) * 2014-09-18 2019-12-06 中国电信股份有限公司 DNS analysis method, server and network system
CN104539751B (en) * 2014-12-29 2018-02-09 北京奇艺世纪科技有限公司 DNS resolution system, method and device
CN104539751A (en) * 2014-12-29 2015-04-22 北京奇艺世纪科技有限公司 DNS analyzing system, method and device
CN105516385A (en) * 2015-12-02 2016-04-20 传线网络科技(上海)有限公司 Domain name resolution method, server and system
WO2017177437A1 (en) * 2016-04-15 2017-10-19 深圳前海达闼云端智能科技有限公司 Domain name resolution method, device, and system
CN106453688A (en) * 2016-11-21 2017-02-22 天脉聚源(北京)传媒科技有限公司 Network access method and device
CN107181830A (en) * 2017-03-31 2017-09-19 北京奇艺世纪科技有限公司 A kind of method and device of acquisition targeted website data message
CN107181830B (en) * 2017-03-31 2019-07-12 北京奇艺世纪科技有限公司 A kind of method and device obtaining targeted website data information
WO2018233140A1 (en) * 2017-06-24 2018-12-27 平安科技(深圳)有限公司 Domain name resolution apparatus and method and computer readable storage medium
CN108574744A (en) * 2017-07-28 2018-09-25 北京金山云网络技术有限公司 A kind of domain name analytic method, device, electronic equipment and readable storage medium storing program for executing
CN109003165A (en) * 2018-07-18 2018-12-14 浙江宇安消防装备有限公司 A kind of transaction platform mode implementation method of third party's online transaction platform and the parallel running of enterprise's websites contributed
CN111327713A (en) * 2018-12-13 2020-06-23 中国移动通信集团广西有限公司 DNS (Domain name Server) analysis method and device
CN111327713B (en) * 2018-12-13 2022-06-14 中国移动通信集团广西有限公司 DNS (Domain name Server) analysis method and device
CN112019644B (en) * 2019-05-29 2022-08-02 贵州白山云科技股份有限公司 Method, system, medium and equipment for determining attribution information of IP address
CN112019644A (en) * 2019-05-29 2020-12-01 贵州白山云科技股份有限公司 Method, system, medium and equipment for determining attribution information of IP address
CN112532414A (en) * 2019-09-18 2021-03-19 中国移动通信集团河北有限公司 Method, device and equipment for determining ISP attribution and computer storage medium
CN112532414B (en) * 2019-09-18 2023-05-02 中国移动通信集团河北有限公司 Method, device, equipment and computer storage medium for determining ISP attribution
CN111970179A (en) * 2020-07-24 2020-11-20 下一代互联网关键技术和评测北京市工程研究中心有限公司 Networking access method and system based on IPv6
CN111970179B (en) * 2020-07-24 2022-08-23 下一代互联网关键技术和评测北京市工程研究中心有限公司 Networking access method and system based on IPv6
CN112015910A (en) * 2020-08-20 2020-12-01 恒安嘉新(北京)科技股份公司 Method and device for generating domain name knowledge base, computer equipment and storage medium
CN114500456A (en) * 2020-10-23 2022-05-13 中国移动通信集团河北有限公司 DNS scheduling optimization method and device based on full-network sniffing and computing equipment
CN114500456B (en) * 2020-10-23 2024-01-12 中国移动通信集团河北有限公司 DNS (Domain name System) scheduling optimization method and device based on whole network sniffing and computing equipment
CN113014684A (en) * 2021-01-18 2021-06-22 珠海莲鸿科技有限公司 Communication transfer method and device for saving message verification time of Internet of things equipment
CN115022242A (en) * 2022-08-08 2022-09-06 深圳高灯计算机科技有限公司 Network layer identification method and device, computer equipment and storage medium
CN115334040A (en) * 2022-08-10 2022-11-11 北京百度网讯科技有限公司 Method and device for determining Internet Protocol (IP) address of domain name

Similar Documents

Publication Publication Date Title
CN102025793A (en) Domain name resolution method and system and DNS in IP network
CN104683485B (en) A kind of Internet content cache based on C RAN preloads method and system
CN103051740B (en) Domain name analytic method, dns server and domain name analysis system
JP6074781B2 (en) Method and apparatus for preventing unauthorized service access
CN103281409B (en) Based on mobile Internet domain name analytic method and the dns server of Transmission Control Protocol
CN103547333B (en) A kind of advertisement sending method, equipment and system
CN106375987A (en) Method and system for selecting network slice
CN102695167B (en) Mobile subscriber identity management method and apparatus thereof
CN103312749B (en) A kind of application layer traffic optimizes discovery method, equipment and the system of server
CN101883111B (en) Accounting server for processing online business log and method thereof
CN103825923B (en) Resource download method, business server, mobile phone client-terminal and resource download system
CN102970384B (en) Proxy server and communication system
CN103888358A (en) Routing method, device, system and gateway equipment
CN102685259B (en) To method, system and intelligent DNS that dns resolution request is resolved
CN1684448A (en) Method of establishing a connection between an user equipment of a wireless telecommunication network through a gateway
CN102143243A (en) Dynamic routing processing method and dynamic routing processing device and home gateway thereof
JP2008522464A (en) Method and system for agent to redirect terminal request
CN109729183A (en) Request processing method, device, equipment and storage medium
CN101635741A (en) Method and system thereof for inquiring recourses in distributed network
CN101198102B (en) Method, device and system for terminal access network
CN112887441B (en) Domain name resolution method, terminal and DNS (Domain name Server)
CN102098328B (en) Method and equipment for correlating hypertext transport protocol (HTTP) streams
CN101741889B (en) Method, system and service for centralized management of network services
CN102143207B (en) Content acquisition method and redirecting node
CN103685367A (en) Offline download system and offline download method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110420