CN104935682A - Domain name resolution method and system - Google Patents

Domain name resolution method and system Download PDF

Info

Publication number
CN104935682A
CN104935682A CN201510361933.8A CN201510361933A CN104935682A CN 104935682 A CN104935682 A CN 104935682A CN 201510361933 A CN201510361933 A CN 201510361933A CN 104935682 A CN104935682 A CN 104935682A
Authority
CN
China
Prior art keywords
server
information
request
record
entrust
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
CN201510361933.8A
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.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu Science and Technology 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 Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN201510361933.8A priority Critical patent/CN104935682A/en
Publication of CN104935682A publication Critical patent/CN104935682A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention provides a domain name resolution method and system. The method is applied to a managed server. The managed server is configured with a source server IP of a source server. The method comprises: receiving a piece of request information sent by a request server according to a preset managed server IP corresponding to a domain name; the request information comprising a request server IP; inquiring whether an information record corresponding to the request information exists in a caching module or not; if so, returning the information record to the request server; if not, forwarding the request information to the source server corresponding to the source server IP and receiving feedback information, sent by the source server, corresponding to the request information so as to store the request information in the caching module as a new information record; and sending the feedback information to the request server. The present invention can quickly, flexibly and conveniently respond to a domain name resolution request.

Description

A kind of domain name analytic method and system
Technical field
The present invention relates to domain name mapping field, particularly relate to a kind of domain name analytic method and system.
Background technology
DNS is an open system, provides UDP (User Datagram Protocol, User Datagram Protocol) connectionless service, easily suffers DDOS attack, when attack can't carry time, needs domain name trustship to arrive new server fast.Existing domain name trustship, normally pass through to Entrust Server mandate, Entrust Server is made to load the configuration of source server, when the IP of a request server to corresponding domain name asks, corresponding resolving information is obtained from Entrust Server, in existing domain name mandatory system, request server only communicates with Entrust Server, Entrust Server needs the configuration loading source server, length consuming time also increases the pressure of system cloud gray model, and existing Entrust Server can not according to the resolving information of IP feedback optimum, and buffer memory can not be carried out according to IP section to the information of resolving, operation underaction.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of domain name analytic method and system, multiple configurations of source server need be loaded for solving Entrust Server in prior art, cause length consuming time and the large problem of system running pressure, and existing Entrust Server also can not according to the IP information acquisition Optimal Feedback information of request server, and can not in cache module, search corresponding information record according to the IP information of request server or buffer memory etc. be carried out to the information of resolving, and the problem of the operation underaction caused etc.
For achieving the above object and other relevant objects, the invention provides a kind of domain name analytic method, be applied to an Entrust Server, described Entrust Server is configured with source server IP, and described method comprises the steps: the solicited message that reception one request server sends according to the Entrust Server IP corresponding with a domain name preset; Described request information comprises request server IP; Be combineding with each other of area information belonging to described request information or operator's informaiton or described area information and operator's informaiton, inquires about in a cache module and whether there is the information record corresponding with described request information; If so, then described information record is returned described request server; If not, then described request information is forwarded to the source server corresponding with described source server IP, and receive the feedback information corresponding with described request information of described source server transmission, it to be stored as in described cache module a new information record, and described feedback information is sent to described request server.
Optionally, the area information of the information record in described cache module belonging to described information record or operator's informaiton or described area information and be combineding with each other of operator's informaiton carry out piecemeal storage.
Optionally, feedback information and the area information belonging to described request server ip of described source server or operator's informaiton or described area information and operator's informaiton be combined with each other corresponding.
Optionally, also comprise step: according to a update request, force to refresh described information record.
Optionally, also comprising: when judging that the life span of information record is greater than a time threshold, initiatively refreshing described information record.
For achieving the above object and other relevant objects, the present invention also provides a kind of Entrust Server, described Entrust Server is configured with source server IP, described Entrust Server comprises: information receiving module, in order to receive the solicited message that a request server sends according to the Entrust Server IP corresponding with a domain name preset; Described request information comprises request server IP; Enquiry module, in order to be combineding with each other of the area information belonging to described request information or operator's informaiton or described area information and operator's informaiton, inquires about in a cache module and whether there is the information record corresponding with described request information; Feedback module, during in order to inquire information record that in the cache module of described Entrust Server, existence is corresponding with described request information at described enquiry module, returns described information record to described request server; And during in order to not inquire information record that in the cache module of described Entrust Server, existence is corresponding with described request information at described enquiry module, described request information is forwarded to the source server corresponding with described source server IP, and receive the feedback information corresponding with described request information of described source server transmission, it to be stored as in described cache module a new information record, and described feedback information is sent to described request server.
Optionally, the area information of the information record in described cache module belonging to the information record of described Entrust Server or operator's informaiton or described area information and be combineding with each other of operator's informaiton carry out piecemeal storage.
Optionally, feedback information and the area information belonging to described request server ip of described source server or operator's informaiton or described area information and operator's informaiton be combined with each other corresponding.
Optionally, described Entrust Server also comprises the first refresh module, in order to when judging that the life span of information record is greater than a time threshold, initiatively refreshes described information record.
Optionally, Entrust Server also comprises the second refresh module, in order to according to a update request, refreshes the corresponding information record of Entrust Server.
For achieving the above object and other relevant objects, the present invention also provides a kind of request server, comprising: information generating module, for generating solicited message according to the Entrust Server IP corresponding with a domain name preset; The request server IP of described request server is also comprised in described request information; Communication module, for sending described request information to the Entrust Server corresponding with described Entrust Server IP, and for receiving the feedback information that described Entrust Server sends according to described request information.
As mentioned above, a kind of domain name analytic method of the present invention and system, have following beneficial effect:
1) the present invention only needs the source server IP of source of configuration server on described Entrust Server, and do not need other configuration informations loading source server, configuration speed is very fast.
2) Entrust Server is after the solicited message receiving request server transmission, can area information first belonging to described request information, or operator's informaiton, or the be combineding with each other of described area information and operator's informaiton, search in cache module and whether there is corresponding information record, have, directly return described information record, when not having, described request information is forwarded to the source server corresponding with described source server IP, and receive the feedback information of described source server, described feedback information forwards to described request server by described Entrust Server again, and the feedback information of reception also can be saved as a new information record by described Entrust Server in cache module, during to receive the solicited message corresponding with described feedback information in next time, directly described information record is returned described request server, flexible operation, fast, and can intelligently parsing be realized.
3) DNS information that described source server is relative with domain name information according to described request information inquiry, and in described DNS information, select optimum DNS information as feedback information according to described request server ip, send to described Entrust Server, with the analysis result obtaining optimized domain name of intelligence.Such as, be combineding with each other of the feedback information of described source server and the area information belonging to described request server ip, operator's informaiton or described area information and operator's informaiton is corresponding, to ensure to obtain optimum feedback information.And accordingly, area information, operator's informaiton or the described area information of the information record in described cache module belonging to described information record and be combineding with each other of operator's informaiton carry out piecemeal storage, to facilitate follow-up checking and inquiring.
4) Entrust Server is at the TTL of an information record by time expired, and the described information record initiatively in flush buffers module, initiatively sends request to source server; And also when the DNS information on the source server that the information record of Entrust Server is corresponding upgrades, receive the update request that source server sends, force the described information record in flush buffers module, then send the solicited message corresponding to described information record at request server to described Entrust Server, the information record corresponding with the latest update of source server that described Entrust Server extracts from cache module can be obtained fast, and do not need to forward to source server again, ensure correctness and the speed of return information, promote Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is shown as a kind of domain name analytic method of the present invention schematic flow sheet in one embodiment.
Fig. 2 is shown as a kind of domain name analysis system of the present invention module diagram in one embodiment.
Fig. 3 is shown as a kind of Entrust Server of the present invention modular structure schematic diagram in one embodiment.
Fig. 4 is shown as a kind of Entrust Server of the present invention modular structure schematic diagram in one embodiment.
Fig. 5 is shown as a kind of Entrust Server of the present invention application schematic diagram in one embodiment.
Element numbers explanation
1,2,3 Entrust Servers
11,21,31 information receiving modules
12,22,32 enquiry modules
13,23,33 cache modules
14,24,34 feedback modules
25 first refresh module
35 second refresh module
S11 ~ S14 step
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.It should be noted that, when not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram provided in following examples only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in diagram but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
DNS is an open system, UDP (User Datagram Protocol is provided, User Datagram Protocol) connectionless service, UDP is OSI (Open System Interconnection, open system interconnection) a kind of connectionless transport layer protocol in reference model, the simple unreliable information transfer service towards affairs is provided.DNS is attacked by DDOS (Distributed Denial of service, distributed denial of service) easily, when attack can't carry time, needs domain name trustship to arrive new server fast.In existing domain name trustship, Entrust Server need load multiple configurations of source server, cause length consuming time and the large problem of system running pressure, and existing Entrust Server also can not carry out buffer memory according to IP section to the information of resolving, and cause the problem operating underaction etc.For above problem, the present invention proposes a kind of domain name analytic method and system.
Refer to Fig. 1, be shown as a kind of domain name analytic method of the present invention schematic flow sheet in one embodiment.Domain name analytic method, is applied to an Entrust Server, and described Entrust Server is configured with the source server IP of source server, and described method comprises the steps:
S11: receive the solicited message that a request server sends according to the Entrust Server IP corresponding with a domain name preset; Described request information comprises request server IP.
S12: be combineding with each other of the area information belonging to described request information or operator's informaiton or described area information and operator's informaiton, inquires about in a cache module and whether there is the information record corresponding with described request information; If so, then perform step S13, if not, then perform step S14.
Described information record comprises the DNS record corresponding with domain name, such as, be A record, NS record, MX record, CNAME record, ttl value etc.Wherein, described A record is used to the record of IP address corresponding to given host name (or domain name), Website server under this domain name can be directed on the webserver of oneself by user, the subdomain name of domain name also can be set simultaneously, popular A record is exactly the IP of server, domain name binding A record be exactly tell DNS, when you input domain name time to you guide to be arranged on DNS A record corresponding to server.Briefly, A record is IP address corresponding to designated domain name.Described NS (Name Server) record is name server record, is used to specify this domain name and by which dns server is resolved.Described MX (Mail Exchanger) record is mail exchange record, it points to a mail server, mail server is located according to the address suffix of receiver when sending out mail for e-mail system, such as, when certain user on Internet to send out an envelope believe to usermydomain.com time, the mailing system of this user passes through the MX record of this domain name of dns lookup mydomain.com, if MX records existence, subscriber computer is just by the mail server specified by mail sending to MX record.Described CNAME (Canonical Name) is recorded as canonical name, allows user by multiple mapping names to same computer.Be generally used for the computer simultaneously providing WWW and MAIL to serve.Such as, have a computer name to be " host.mydomain.com " (A record), it provides WWW and MAIL to serve simultaneously, for the ease of user's access services.Can be this computer installation two alias (CNAME): WWW and MAIL, just " www.mydomain.com " and " mail.mydomain.com ", in fact they point to " host.mydomain.com " full name of this two alias.The principle of described TTL (Time-To-Live) value: TTL is a value in IP protocol package, it is told whether the network router bag time is in a network oversize and should be dropped, and has a lot of reasons to make bag can not be passed to destination within a certain period of time.Such as, incorrect routing table may cause the Infinite Cyclic of wrapping, a solution is exactly abandon this bag over time, then sender's message is given, determining whether will retransmit by sender, the initial value normally default value of TTL, is the territory of 8 in packet header, the initial imagination of TTL determines a time range, exceedes this time just bag to be abandoned.Due to each router at least will TTL territory subtract one, TTL ordinary representation wrap in be dropped before the router number of most multipotency process.When count 0 time, router determines to abandon this bag, and sends an icmp packet to initial sender.Briefly, TTL is exactly domain name mapping record RT in the dns server, and when the dns server of various places receives analysis request, the NS server will specified to domain name sends analysis request thus obtains separates new record; After this record of acquisition, record can preserve a period of time in the dns server, if receive the analysis request of this domain name during this period of time again, dns server no longer will send request to NS server, but directly return the record just now obtained, and this records the time retained on a dns, it is exactly ttl value.
S13: then described information record is returned described request server.
S14: then described request information is forwarded to the source server corresponding with described source server IP, and receive the feedback information corresponding with described request information of described source server transmission, the main feedback information corresponding with the request server IP in described request information, so that described feedback information is sent to described request server, and described feedback information is stored as in described cache module a new information record, during to receive the solicited message corresponding with described feedback information in next time, directly described information record is returned described request server, flexible operation, fast.
Further, described request information forwards to corresponding source server in the mode of the common protocol of EDNS or proprietary protocol, wherein EDNS agreement is a DNS Extended Protocol, drafted by Google, creationaryly in DNS Protocol, add original user IP, the request server IP namely described in the present invention.
Preferred, be combineding with each other of the feedback information of described source server and the area information belonging to described request server ip or operator's informaiton or described area information and operator's informaiton is corresponding.Such as described source server according to described request information inquiry to multiple DNS information corresponding with domain name, and described source server is according to the area information of the described request server ip carried in described request information, the information matched most with described area information is selected to feed back as feedback information, area information such as belonging to described request server ip is Shanghai, then select in described DNS information, to belong to the DNS information in Shanghai or the DNS information the most close with Shanghai, i.e. optimum DNS information, as feedback information, send to described Entrust Server; Or the operator's informaiton belonging to described request server ip, be such as telecom operators, then select in described source server as the DNS information of telecom operators is as feedback information; Or the combination of area information belonging to described request server ip and operator's informaiton, the information that the information matched most with described area information and operator's informaiton selecting described source server is the most optimum, to feed back to described Entrust Server as feedback information, and described feedback information transmission is given described request server by described Entrust Server.To realize quicker, the more optimal response to the request of request server.
And further, the area information of the information record in described cache module belonging to described information record or operator's informaiton or described area information and be combineding with each other of operator's informaiton carry out piecemeal storage, to facilitate follow-up checking and inquiring.
Further, in another specific embodiment, described method also comprises step: when judging that the life span of information record is greater than a time threshold, initiatively refreshes described information record.When the life span of information record reaches the TTL of information record soon, initiatively resend solicited message to described source server, to upgrade the described information record in the cache module of described Entrust Server, the ttl value of described time threshold and described information record closely, and is less than described ttl value.Then when request server sends the solicited message corresponding to described information record to described Entrust Server, the information record corresponding with the latest update of source server that described Entrust Server extracts from cache module can be obtained fast, promote Consumer's Experience.
Further, in another specific embodiment, described method also comprises: according to a update request, forces to refresh corresponding information record.Such as, described update request is that described source server sends over, when the DNS information on the source server that the information record of Entrust Server is corresponding upgrades, receive the update request that source server sends, even if at this moment the life span of described information record does not also reach threshold value automatic update time, such as do not reach TTL, still force the described information record in flush buffers module, with the up-to-date information record that the DNS information obtained with upgrade in described source server is corresponding, promote Consumer's Experience.
Refer to Fig. 2, be shown as domain name analysis system of the present invention module diagram in one embodiment.Entrust Server 1 is configured with the source server IP of source server, and described Entrust Server comprises: information receiving module 11, enquiry module 12, cache module 13 and feedback module 14.
The solicited message that described information receiving module 11 sends according to the Entrust Server IP corresponding with a domain name preset in order to receive a request server; Described request information comprises request server IP.Described request server is such as the intelligent terminals such as desktop computer, notebook computer or smart mobile phone.
Described enquiry module 12 be combined with each other in order to the area information belonging to described request information or operator's informaiton or described area information and operator's informaiton, inquires about in a cache module and whether there is the information record corresponding with described request information.
Described information record comprises DNS record corresponding with domain name, such as, be A record, NS record, MX record, CNAME record, ttl value etc.Wherein, described A record is used to the record of IP address corresponding to given host name (or domain name), Website server under this domain name can be directed on the webserver of oneself by user, the subdomain name of domain name also can be set simultaneously, popular A record is exactly the IP of server, domain name binding A record be exactly tell DNS, when you input domain name time to you guide to be arranged on DNS A record corresponding to server.Briefly, A record is IP address corresponding to designated domain name.Described NS (Name Server) record is name server record, is used to specify this domain name and by which dns server is resolved.Described MX (Mail Exchanger) record is mail exchange record, it points to a mail server, mail server is located according to the address suffix of receiver when sending out mail for e-mail system, such as, when certain user on Internet to send out an envelope believe to usermydomain.com time, the mailing system of this user passes through the MX record of this domain name of dns lookup mydomain.com, if MX records existence, subscriber computer is just by the mail server specified by mail sending to MX record.Described CNAME (Canonical Name) is recorded as canonical name, allows user by multiple mapping names to same computer.Be generally used for the computer simultaneously providing WWW and MAIL to serve.Such as, have a computer name to be " host.mydomain.com " (A record), it provides WWW and MAIL to serve simultaneously, for the ease of user's access services.Can be this computer installation two alias (CNAME): WWW and MAIL, just " www.mydomain.com " and " mail.mydomain.com ", in fact they point to " host.mydomain.com " full name of this two alias.The principle of described TTL (Time-To-Live) value: TTL is a value in IP protocol package, it is told whether the network router bag time is in a network oversize and should be dropped, and has a lot of reasons to make bag can not be passed to destination within a certain period of time.Such as, incorrect routing table may cause the Infinite Cyclic of wrapping, a solution is exactly abandon this bag over time, then sender's message is given, determining whether will retransmit by sender, the initial value normally default value of TTL, is the territory of 8 in packet header, the initial imagination of TTL determines a time range, exceedes this time just bag to be abandoned.Due to each router at least will TTL territory subtract one, TTL ordinary representation wrap in be dropped before the router number of most multipotency process.When count 0 time, router determines to abandon this bag, and sends an icmp packet to initial sender.Briefly, TTL is exactly domain name mapping record RT in the dns server, and when the dns server of various places receives analysis request, the NS server will specified to domain name sends analysis request thus obtains separates new record; After this record of acquisition, record can preserve a period of time in the dns server, if receive the analysis request of this domain name during this period of time again, dns server no longer will send request to NS server, but directly return the record just now obtained, and this records the time retained on a dns, it is exactly ttl value.
Described feedback module 14 is in order to inquire information record that in the cache module 13 of described Entrust Server 1, existence is corresponding with described request information during at described enquiry module 12, described information record is returned described request server; And during in order to not inquire information record that in the cache module 13 of described Entrust Server 1, existence is corresponding with described request information at described enquiry module 12, described request information is forwarded to the source server corresponding with described source server IP, and receive the feedback information corresponding with described request information of described source server transmission, so that it is stored as a new information record in described cache module 13, and described feedback information is sent to described request server.During to receive the solicited message corresponding with described feedback information in next time, directly described information record is returned described request server, flexible operation, quick.
Further, described request information is made to forward to corresponding source server in the mode of the common protocol of EDNS or proprietary protocol, wherein EDNS agreement is a DNS Extended Protocol, drafted by Google, creationaryly in DNS Protocol, add original user IP, the request server IP namely described in the present invention.
Preferred, the feedback information of described source server and the area information belonging to described request server ip or operator's informaiton or described area information and operator's informaiton in conjunction with corresponding.Such as described source server according to described request information inquiry to multiple DNS information corresponding with domain name, and described source server is according to the area information of the described request server ip carried in described request information, the information matched most with described area information is selected to feed back as feedback information, area information such as belonging to described request server ip is Shanghai, then select in described DNS information, to belong to the DNS information in Shanghai or the DNS information the most close with Shanghai, i.e. optimum DNS information, as feedback information, send to the information receiving module 11 of described Entrust Server 1, or the operator's informaiton belonging to described request server ip, be such as telecom operators, then select in described source server as the DNS information of telecom operators is as feedback information, or the combination of area information belonging to described request server ip and operator's informaiton, the information that the information matched most with described area information and operator's informaiton selecting described source server is the most optimum, to feed back to described Entrust Server 1 as feedback information, and described feedback information transmission is given described request server by described Entrust Server 1.Optimum DNS information is fed back to described request server as feedback information by described Entrust Server 1, to realize quicker, the more optimal response of the request to request server.
And further, the area information of the information record in described cache module 13 belonging to described information record or operator's informaiton or described area information and be combineding with each other of operator's informaiton carry out piecemeal storage, to facilitate follow-up checking and inquiring.
Consult Fig. 2 further, in the present embodiment, described request server comprises: information generating module and communication module.
The Entrust Server IP corresponding with a domain name that described information generating module is used for according to presetting generates solicited message; The request server IP of described request server is also comprised in described request information.
Described communication module is used for described request information to send to the Entrust Server 1 corresponding with described Entrust Server IP, and for receiving the feedback information that described Entrust Server 1 sends according to described request information.
Further, refer to Fig. 3, be shown as a kind of Entrust Server of the present invention modular structure schematic diagram in one embodiment.Described Entrust Server 2 comprises information receiving module 21, enquiry module 22, cache module 23 and feedback module 24, and the structure of the information receiving module 11 of described Entrust Server 1 as shown in Figure 2 in embodiment, enquiry module 12, cache module 13 and feedback module 14 and application principle all can be applicable in the present embodiment, and in the present embodiment, described Entrust Server 2 also comprises the first refresh module 25, in order to when judging that the life span of information record is greater than a time threshold, initiatively refresh described information record.When the life span of information record reaches the TTL of information record soon, initiatively resend solicited message to described source server, to upgrade the described information record in the cache module 23 of described Entrust Server 2, the ttl value of described time threshold and described information record closely, and is less than described ttl value.Then send the solicited message corresponding to described information record at request server to described Entrust Server 2, the information record corresponding with the latest update of source server that described Entrust Server 2 extracts from cache module 23 can be obtained fast, promote Consumer's Experience.
Further, refer to Fig. 4, be shown as a kind of Entrust Server of the present invention modular structure schematic diagram in one embodiment.Described Entrust Server 3 comprises information receiving module 31, enquiry module 32, cache module 33 and feedback module 34, and the structure of the information receiving module 11 of described Entrust Server 1 as shown in Figure 1 in embodiment, enquiry module 12, cache module 13 and feedback module 14 and application principle all can be applicable in the present embodiment, and in the present embodiment, described Entrust Server 3 also comprises the second refresh module 35, in order to according to a update request, force to refresh corresponding information record.Such as, described update request is that described source server sends over, when DNS information on the source server that information record in the cache module 33 of described Entrust Server 3 is corresponding upgrades, receive the update request that source server sends, even if at this moment the life span of described information record does not also reach threshold value automatic update time, such as do not reach TTL, force the described information record in flush buffers module 33, with the up-to-date information record that the DNS information obtained with upgrade in described source server is corresponding, promote Consumer's Experience.
Refer to Fig. 5, be shown as a kind of Entrust Server of the present invention application schematic diagram in one embodiment.The such as relevant configuration of a domain name aaa.com is carried on the source server that IP is 4.1.1.1 ~ 4.1.1.2; The Entrust Server IP of the Entrust Server corresponding to aaa.com preset is 2.1.1.1 ~ 2.1.1.3; IP be 2.1.1.1 ~ 2.1.1.3 Entrust Server on be configured with the source server IP4.1.1.1 ~ 4.1.1.2 of source server.
Domain name resolution process mainly comprises: such as IP is the request server of 1.1.1.1 is 2.1.1.1 ~ 2.1.1.3 according to the Entrust Server IP corresponding to domain name aaa.com preset, IP is the request server of 1.1.1.1 initiates DNS record from request www.aaa.com to the arbitrary Entrust Server that IP is 2.1.1.1 ~ 2.1.1.3, described DNS information comprises that the A corresponding with domain name www.aaa.com records, NS records, MX records, CNAME records and ttl value etc., and the Entrust Server being such as 2.1.1.2 to IP initiates request, the area information of the Entrust Server that IP is 2.1.1.2 belonging to the IP of described request server, or operator's informaiton, or the combination of area information and operator's informaiton, inquire about the DNS record whether having the www.aaa.com corresponding with the IP of described request server in its cache module, if have, then DNS record is directly returned, if do not have, then there is the domain name mapping request of request server ip 1.1.1.1 to arbitrary transmit band in the IP having DNS the to configure source server that is 4.1.1.1 ~ 4.1.1.2 in the mode of the common protocol of EDNS or proprietary protocol, the source server being such as 4.1.1.1 to IP sends request, it is the Entrust Server of 2.1.1.2 that the DNS that the area information of the source server that IP is 4.1.1.1 belonging to described request server ip or operator's informaiton or area information and the combination of operator's informaiton return the optimum corresponding with www.aaa.com records to IP, IP is that DNS that the Entrust Server of 2.1.1.2 returns the optimum corresponding to www.aaa.com records to IP to be the source server of 4.1.1.1, to complete external service, and further, IP is the DNS information that the Entrust Server of 2.1.1.2 returns according to the source server that IP is 4.1.1.1, preserve the DNS information of www.aaa.com to cache module, preferred, described DNS information is stored in described cache module in conjunction with piecemeal, until TTL is expired according to affiliated area information or operator's informaiton or described area information and operator's informaiton.And in order to the speed of the response of the request of accelerating the domain name to www.aaa.com and accuracy, can be expired soon in the DNS information corresponding with www.aaa.com, when namely reaching TTL soon, the source server being initiatively 4.1.1.1 to IP resends corresponding request, flush buffers module, when again receiving the domain name mapping request of www.aaa.com with the Entrust Server that is 2.1.1.2 at next IP, directly return described updated DNS information, and do not need to forward to source server again, ensure correctness and the speed of return information.And, IP is that the source server of 4.1.1.1 detects when occurring to upgrade to the relevant DNS information of domain name www.aaa.com, the Entrust Server being 2.1.1.2 to IP sends update request, and the Entrust Server being 2.1.1.2 to make IP forces the corresponding DNS information in flush buffers according to described update request.
In sum, a kind of domain name analytic method of the present invention and system, only need the source server IP of source of configuration server on described Entrust Server, do not need other configuration informations of source of configuration server, configuration speed is very fast.Entrust Server is after the solicited message receiving request server transmission, can area information first belonging to described request information, or operator's informaiton, or the be combineding with each other of described area information and operator's informaiton, search in cache module and whether there is corresponding information record, have, directly return described information record, when not having, described request information is forwarded to the source server corresponding with described source server IP, and receive the feedback information of described source server, described feedback information forwards to described request server by described Entrust Server again, and the feedback information of reception also can be saved as a new information record by described Entrust Server in cache module, during to receive the solicited message corresponding with described feedback information in next time, directly described information record is returned described request server, flexible operation, fast, and can intelligently parsing be realized.The DNS information that described source server is relative with domain name information according to described request information inquiry, and in described DNS information, select optimum DNS information as feedback information according to described request server ip, send to described Entrust Server, with the analysis result obtaining optimized domain name of intelligence.Such as, be combineding with each other of the feedback information of described source server and the area information belonging to described request server ip or operator's informaiton or described area information and operator's informaiton is corresponding, to ensure to obtain optimum feedback information.And accordingly, area information, operator's informaiton or the described area information of the information record in described cache module belonging to described information record and be combineding with each other of operator's informaiton carry out piecemeal storage, to facilitate follow-up checking and inquiring.Entrust Server is at the TTL of an information record by time expired, and the described information record initiatively in flush buffers module, initiatively sends request to source server; And also when the DNS information on the source server that the information record of Entrust Server is corresponding upgrades, receive the update request that source server sends, force the described information record in flush buffers module, then send the solicited message corresponding to described information record at request server to described Entrust Server, the information record corresponding with the latest update of source server that described Entrust Server extracts from cache module can be obtained fast, and do not need to forward to source server again, ensure correctness and the speed of return information, promote Consumer's Experience.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (11)

1. a domain name analytic method, is characterized in that, is applied to an Entrust Server, and described Entrust Server is configured with source server IP, and described method comprises the steps:
Receive the solicited message that a request server sends according to the Entrust Server IP corresponding with a domain name preset; Described request information comprises request server IP;
Be combineding with each other of area information belonging to described request information or operator's informaiton or described area information and operator's informaiton, inquires about in a cache module and whether there is the information record corresponding with described request information;
If so, then described information record is returned described request server; If not, then described request information is forwarded to the source server corresponding with described source server IP, and receive the feedback information corresponding with described request information of described source server transmission, it to be stored as in described cache module a new information record, and described feedback information is sent to described request server.
2. domain name analytic method according to claim 1, it is characterized in that, the area information of the information record in described cache module belonging to described information record or operator's informaiton or described area information and be combineding with each other of operator's informaiton carry out piecemeal storage.
3. domain name analytic method according to claim 1, is characterized in that, be combineding with each other of the feedback information of described source server and the area information belonging to described request server ip or operator's informaiton or described area information and operator's informaiton is corresponding.
4. domain name analytic method according to claim 1, is characterized in that, also comprises step: when judging that the life span of described information record is greater than a time threshold, initiatively refreshes described information record.
5. domain name analytic method according to claim 1, is characterized in that, also comprises: according to a update request, forces to refresh described information record.
6. an Entrust Server, is characterized in that: described Entrust Server is configured with source server IP, and described Entrust Server comprises:
Information receiving module, in order to receive the solicited message that a request server sends according to the Entrust Server IP corresponding with a domain name preset; Described request information comprises request server IP;
Enquiry module, in order to be combineding with each other of the area information belonging to described request information or operator's informaiton or described area information and operator's informaiton, inquires about in a cache module and whether there is the information record corresponding with described request information;
Feedback module, during in order to inquire information record that in the cache module of described Entrust Server, existence is corresponding with described request information at described enquiry module, returns described information record to described request server; And during in order to not inquire information record that in the cache module of described Entrust Server, existence is corresponding with described request information at described enquiry module, described request information is forwarded to the source server corresponding with described source server IP, and receive the feedback information corresponding with described request information of described source server transmission, it to be stored as in described cache module a new information record, and described feedback information is sent to described request server.
7. Entrust Server according to claim 6, is characterized in that: the area information of the information record in described cache module belonging to the information record of described Entrust Server or operator's informaiton or described area information and be combineding with each other of operator's informaiton carry out piecemeal storage.
8. Entrust Server according to claim 6, is characterized in that: be combineding with each other of the feedback information of described source server and the area information belonging to described request server ip or operator's informaiton or described area information and operator's informaiton is corresponding.
9. Entrust Server according to claim 6, is characterized in that: described Entrust Server also comprises the first refresh module, in order to when judging that the life span of described information record is greater than a time threshold, initiatively refreshes described information record.
10. Entrust Server according to claim 6, is characterized in that: described Entrust Server also comprises the second refresh module, in order to according to a update request, refreshes the corresponding information record of described Entrust Server.
11. 1 kinds of request servers, is characterized in that, comprising:
Information generating module, for generating solicited message according to the Entrust Server IP corresponding with a domain name preset; The request server IP of described request server is also comprised in described request information;
Communication module, for sending described request information to the Entrust Server corresponding with described Entrust Server IP, and for receiving the feedback information that described Entrust Server sends according to described request information.
CN201510361933.8A 2015-06-26 2015-06-26 Domain name resolution method and system Pending CN104935682A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510361933.8A CN104935682A (en) 2015-06-26 2015-06-26 Domain name resolution method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510361933.8A CN104935682A (en) 2015-06-26 2015-06-26 Domain name resolution method and system

Publications (1)

Publication Number Publication Date
CN104935682A true CN104935682A (en) 2015-09-23

Family

ID=54122646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510361933.8A Pending CN104935682A (en) 2015-06-26 2015-06-26 Domain name resolution method and system

Country Status (1)

Country Link
CN (1) CN104935682A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106953940A (en) * 2017-04-13 2017-07-14 网宿科技股份有限公司 Dns server and configuring load application method, network system, domain name analytic method and system
CN108011988A (en) * 2017-11-27 2018-05-08 广东睿江云计算股份有限公司 It is a kind of to substitute method, the system for sending mailing system cluster
CN109714443A (en) * 2017-10-25 2019-05-03 中国电信股份有限公司 Name server, domain name backup method and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272407A (en) * 2008-04-28 2008-09-24 杭州华三通信技术有限公司 Caching detecting method, caching detecting device and detection responding device for domain name system
CN102469167A (en) * 2010-11-01 2012-05-23 中国移动通信集团北京有限公司 Domain name query implementing method and system
CN102882791A (en) * 2012-10-30 2013-01-16 杭州迪普科技有限公司 Method and device for processing DNS (Domain Name Server) business
WO2014206276A1 (en) * 2013-06-25 2014-12-31 Tencent Technology (Shenzhen) Company Limited Domain name resolution method, domain name server, and domain name access method, system and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272407A (en) * 2008-04-28 2008-09-24 杭州华三通信技术有限公司 Caching detecting method, caching detecting device and detection responding device for domain name system
CN102469167A (en) * 2010-11-01 2012-05-23 中国移动通信集团北京有限公司 Domain name query implementing method and system
CN102882791A (en) * 2012-10-30 2013-01-16 杭州迪普科技有限公司 Method and device for processing DNS (Domain Name Server) business
WO2014206276A1 (en) * 2013-06-25 2014-12-31 Tencent Technology (Shenzhen) Company Limited Domain name resolution method, domain name server, and domain name access method, system and terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106953940A (en) * 2017-04-13 2017-07-14 网宿科技股份有限公司 Dns server and configuring load application method, network system, domain name analytic method and system
CN109714443A (en) * 2017-10-25 2019-05-03 中国电信股份有限公司 Name server, domain name backup method and computer readable storage medium
CN108011988A (en) * 2017-11-27 2018-05-08 广东睿江云计算股份有限公司 It is a kind of to substitute method, the system for sending mailing system cluster

Similar Documents

Publication Publication Date Title
US8228848B2 (en) Method and apparatus for facilitating push communication across a network boundary
EP2556438B1 (en) Reverse dns lookup with modified reverse mappings
EP2266064B1 (en) Request routing
EP3422656B1 (en) Udp protocol acceleration method and system
US8874718B2 (en) Method and device for storing domain name system records, method and device for parsing domain name
US7937471B2 (en) Creating a public identity for an entity on a network
US11356410B2 (en) Packet transmission method and device, and computer readable storage medium
US11902159B2 (en) Dynamic internet protocol translation for port-control-protocol communication
US10581797B2 (en) Hybrid access DNS optimization for multi-source download
US11425086B2 (en) Using DNS to communicate MC-TCP capability of server devices
CN109040243B (en) Message processing method and device
US11075857B2 (en) Peephole optimization of lightweight protocols at lower layers
CN110225150B (en) Method, system and storage medium for communication between different network protocols
CN103581361A (en) Domain name resolution proxy method, device and system
CN102547553B (en) Method, system and device for accessing service based on wireless application protocol (WAP)
CN106507414B (en) Message forwarding method and device
CN104935682A (en) Domain name resolution method and system
EP2719118B1 (en) Routing by resolution
US11368365B2 (en) Methods and systems for determining ICN capability of a node/server
CN107395778B (en) User source tracing method, device and system
WO2003081460A1 (en) Method and system of using fixed-length addresses in message routing
US20150032906A1 (en) Apparatus and method for assigning ip address in communication system
Elahi et al. Internet Protocols Part II and MPLS
CN102263832A (en) Method and device for realizing intercommunication between International protocol version 4 (IPv4) single-stack equipment and International protocol version 6 (IPv6) single-stack equipment

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

Application publication date: 20150923

RJ01 Rejection of invention patent application after publication