CN103595825A - Domain name resolution detection method, domain name resolution detection device and server - Google Patents
Domain name resolution detection method, domain name resolution detection device and server Download PDFInfo
- Publication number
- CN103595825A CN103595825A CN201310512140.2A CN201310512140A CN103595825A CN 103595825 A CN103595825 A CN 103595825A CN 201310512140 A CN201310512140 A CN 201310512140A CN 103595825 A CN103595825 A CN 103595825A
- Authority
- CN
- China
- Prior art keywords
- address
- address list
- domain name
- list
- virtual network
- 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.)
- Granted
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 30
- 238000013507 mapping Methods 0.000 claims description 46
- 238000001914 filtration Methods 0.000 claims description 21
- 238000000034 method Methods 0.000 claims description 16
- 238000010168 coupling process Methods 0.000 claims description 15
- 238000005859 coupling reaction Methods 0.000 claims description 15
- 230000008878 coupling Effects 0.000 claims description 14
- 238000012545 processing Methods 0.000 claims description 11
- 230000008569 process Effects 0.000 claims description 10
- 238000004891 communication Methods 0.000 description 14
- 238000010200 validation analysis Methods 0.000 description 6
- 230000003203 everyday effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000032683 aging Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a domain name resolution detection method, a domain name resolution detection device and a server. The server inquires a first address list according to domain names included in a domain name resolution request sent by a client terminal and obtains a first IP address list corresponding to the domain names. The first IP address list stores IP addresses which are currently provided by multiple network operators respectively and correspond to the domain names; a second address list is inquired according to the domain names, a second IP address list corresponding to the domain names is obtained, and the second IP address list stores IP addresses which are preset by the website side server and provided by multiple network operators and correspond to the domain names; all the IP addresses in the first IP address list are matched with all the IP addresses in the second IP address list, and a matched result is sent to the client terminal. The resolution detection efficiency of the domain names can be improved.
Description
Technical field
The embodiment of the present invention relates to Internet technical field, relates in particular to a kind of domain name mapping detection method and device, server.
Background technology
At Internet protocol (Internet Protocol, IP) in network, the major function of domain name service (Domain Name Service, DNS) 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 IP address is called domain name mapping, and the network host of carrying out domain name mapping can be called dns server.For example, when client needs the website of access domain www.360.com by name, first send the domain name mapping request that comprises this domain name and arrive (the Internet Service Provider of ISP of this client access, ISP) local dns server, local dns server determines by inquiry the IP address that domain name www.360.com is corresponding, and client connects corresponding website side server by this IP address.
Obtain the fastest access speed when guaranteeing client-access website domain name, conventionally, this website domain name is directed to the IP address corresponding with this website domain name that the ISP of this client access provides.For example, when the access ISPShi of client first network operator, this client can trigger domain name mapping request while inputting certain website domain name in browser, wherein, domain name mapping request comprises the website domain name of input, and the local dns server of first network operator is directed to by this website domain name the IP address corresponding with this website domain name that first network operator provides; Again for example, the local dns server when the access ISPShi of the client second network Shi, of operator second network operator is directed to by this website domain name the two IP address corresponding with this website domain name that second network operator provides.
In order not affect client-access website domain name, in actual applications, when website side server is when safeguarding, for example, website side server only open that first network operator provides with the corresponding IP of this domain name address, what second network operator was provided cuts off with the corresponding IP of this domain name address, now, the subscriber equipment accessing by second network operator is initiated domain name mapping request, and the local dns server of second network operator is directed to by website domain name the IP address corresponding with this website domain name that first network operator provides; When website side server is after maintenance finishes, need to reopen that second network operator provides with the corresponding IP of this domain name address, because dns server parsing IP address corresponding to domain name exists ageing, in order not affect client-access website domain name, and obtain the fastest access speed while guaranteeing client-access website domain name, what need to provide the second network operator reopening detects with the corresponding IP of this domain name address.
In the prior art, need to by manually log in that the local dns server of second network operator goes that detection validation second network operator provides with the corresponding IP of this domain name address, yet, in actual applications, internet site provides thousands of different domain name, the IP address corresponding with this domain name that the corresponding heterogeneous networks of each domain name operator provides, if need to go to verify one by one by manually logging in respectively the local dns server of heterogeneous networks operator, require a great deal of time, therefore, the low problem of existence domain name analysis detection efficiency.
Summary of the invention
The embodiment of the present invention provides a kind of domain name mapping detection method and device, server, in order to solve the low problem of domain name mapping detection efficiency existing in prior art.
First aspect, the invention provides a kind of domain name mapping detection method, comprising:
The domain name that the domain name mapping request that server sends according to client comprises, inquire about the first address list, obtain first IP address list corresponding with domain name, the current IP address corresponding with domain name that provide respectively of a plurality of Virtual network operators is provided in described the first IP address list;
According to domain name, inquire about the second address list, obtain second IP address list corresponding with domain name, in described the second IP address list, preserve the IP address corresponding with domain name that side server default described a plurality of Virtual network operators in website provide;
Each IP address in described the first IP address list is mated with each IP address in described the second IP address list, matching result is sent to described client.
Alternatively, described each IP address in described the first IP address list is mated with each IP address in described the second IP address list, comprising:
If determine, each IP address in described the first IP address list is identical with each IP address in described the second IP address list, each IP address in definite described the first IP address list and each IP address in described the second IP address list match, and the result that the match is successful is sent to described client; Or
If determine, each IP address in described the first IP address list is not identical with each IP address in described the second IP address list, does not mate with each IP address in described the second IP address list each IP address in definite described the first IP address list, and the unsuccessful result of coupling is sent to described client.
Alternatively, before described inquiry the first address list, comprising:
Described server obtains respectively the IP address corresponding with domain name that corresponding Virtual network operator provides from home server corresponding to described a plurality of Virtual network operators in default cycle time;
The IP address corresponding with domain name that the described a plurality of Virtual network operators that obtain are provided is saved in described the first IP address list.
Alternatively, in the third optional implementation, described in obtain first IP address list corresponding with domain name after, comprising:
Each IP address that described server comprises described the first IP address list disappears and heavily processes;
Filtration treatment is carried out in each IP address that described the first IP address list disappearing after heavily processing is comprised.
Alternatively, described each IP address in described the first IP address list is mated with each IP address in described the second IP address list, comprising:
Described server mates each IP address in described the first IP address list after disappear heavy and filtration treatment with each IP address in described the second IP address list, and matching result is sent to described client.
Second aspect, the invention provides a kind of domain name mapping checkout gear, comprising:
Acquisition module, the domain name that the domain name mapping request that is suitable for sending according to client comprises, inquire about the first address list, obtain first IP address list corresponding with domain name, the current IP address corresponding with domain name that provide respectively of a plurality of Virtual network operators is provided in described the first IP address list;
Described acquisition module, be suitable for according to domain name, inquire about the second address list, obtain second IP address list corresponding with domain name, in described the second IP address list, preserve the IP address corresponding with domain name that side server default described a plurality of Virtual network operators in website provide;
Matching module, mate with each IP address in described the second IP address list each IP address in the first IP address list that is suitable for described acquisition module to obtain, and matching result is sent to described client.
Alternatively, described matching module is specifically suitable for:
If determine, each IP address in described the first IP address list is identical with each IP address in described the second IP address list, each IP address in definite described the first IP address list and each IP address in described the second IP address list match, and the result that the match is successful is sent to described client; Or
If determine, each IP address in described the first IP address list is not identical with each IP address in described the second IP address list, does not mate with each IP address in described the second IP address list each IP address in definite described the first IP address list, and the unsuccessful result of coupling is sent to described client.
Alternatively, described acquisition module, is also suitable for from home server corresponding to described a plurality of Virtual network operators, obtaining respectively in default cycle time the IP address corresponding with domain name that corresponding Virtual network operator provides;
Alternatively, described device also comprises:
Preserve module, the IP address corresponding with domain name that the described a plurality of Virtual network operators that are suitable for that described acquisition module is obtained provide is saved in described the first IP address list.
Alternatively, described device also comprises:
The molality piece that disappears, each IP address that is suitable for described the first IP address list to comprise disappears and heavily processes;
Filtering module, filtration treatment is carried out in each IP address that is suitable for described described the first IP address list disappearing after heavy resume module to comprise.
Alternatively, described matching module is specifically suitable for:
Each IP address in described the first IP address list after described disappear molality piece and the processing of described filtering module is mated with each IP address in described the second IP address list, and matching result is sent to described client.
The third aspect, the invention provides a kind of server, comprises processor, memory and communication interface, between described processor, memory and communication interface, by communication bus, connects, and preserves the instruction that realizes domain name mapping detection method in described memory; When described processor is transferred the instruction of preserving in described memory, can carry out following steps:
The domain name that the domain name mapping request that described processor receives according to described communication interface comprises, inquire about the first address list, obtain first IP address list corresponding with domain name, the current IP address corresponding with domain name that provide respectively of a plurality of Virtual network operators is provided in described the first IP address list;
According to domain name, inquire about the second address list, obtain second IP address list corresponding with domain name, in described the second IP address list, preserve the IP address corresponding with domain name that side server default described a plurality of Virtual network operators in website provide;
Each IP address in described the first IP address list is mated with each IP address in described the second IP address list, matching result is sent to described client by described communication interface.
Alternatively, described each IP address in described the first IP address list is mated with each IP address in described the second IP address list, comprising:
If determine, each IP address in described the first IP address list is identical with each IP address in described the second IP address list, each IP address in definite described the first IP address list and each IP address in described the second IP address list match, and the result that the match is successful is sent to described client; Or
If determine, each IP address in described the first IP address list is not identical with each IP address in described the second IP address list, does not mate with each IP address in described the second IP address list each IP address in definite described the first IP address list, and the unsuccessful result of coupling is sent to described client.
Alternatively, before described inquiry the first address list, comprising:
Described processor obtains respectively the IP address corresponding with domain name that corresponding Virtual network operator provides from home server corresponding to described a plurality of Virtual network operators in default cycle time;
The IP address corresponding with domain name that the described a plurality of Virtual network operators that obtain are provided is saved in described the first IP address list.
Alternatively, described in obtain first IP address list corresponding with domain name after, comprising:
Each IP address that described processor comprises described the first IP address list disappears and heavily processes;
Filtration treatment is carried out in each IP address that described the first IP address list disappearing after heavily processing is comprised.
Alternatively, described each IP address in described the first IP address list is mated with each IP address in described the second IP address list, comprising:
Described processor mates each IP address in described the first IP address list after disappear heavy and filtration treatment with each IP address in described the second IP address list, and matching result is sent to described client by described communication interface.
The domain name that the domain name mapping request that the server of the embodiment of the present invention sends according to client comprises, inquire about the first address list, obtain first IP address list corresponding with domain name, the current IP address corresponding with domain name that provide respectively of a plurality of Virtual network operators is provided in described the first IP address list; According to domain name, inquire about the second address list, obtain second IP address list corresponding with domain name, in described the second IP address list, preserve the IP address corresponding with domain name that side server default described a plurality of Virtual network operators in website provide; Further, each IP address in described the first IP address list is mated with each IP address in described the second IP address list, and matching result is sent to described client.
Because the present embodiment server can be provided by a plurality of Virtual network operators current IP address corresponding with each domain name that provide respectively automatically, do not need website side server to go to by manually logging in respectively the local dns server of a plurality of Virtual network operators the IP address corresponding with each domain name that the default described a plurality of Virtual network operators of detection validation website side server provide one by one, therefore, can improve domain name mapping detection efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparent
Ground, the accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, is not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The schematic flow sheet of the domain name mapping detection method that Fig. 1 provides for one embodiment of the invention;
The schematic flow sheet of the domain name mapping detection method that Fig. 2 provides for another embodiment of the present invention;
The structural representation of the domain name mapping checkout gear that Fig. 3 provides for another embodiment of the present invention;
The structural representation of the server that Fig. 4 provides for another embodiment of the present invention.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Server described in the embodiment of the present invention can be the dns server that is positioned at high in the clouds.
The schematic flow sheet of the domain name mapping detection method that Fig. 1 provides for one embodiment of the invention, as described in Figure 1, the domain name mapping detection method of the present embodiment comprises:
101, the domain name that the domain name mapping request that server sends according to client comprises, inquire about the first address list, obtain first IP address list corresponding with domain name, the current IP address corresponding with domain name that provide respectively of a plurality of Virtual network operators is provided in described the first IP address list.
In an optional execution mode of the present invention, before step 101, comprise:
Server obtains respectively the IP address corresponding with domain name that corresponding Virtual network operator provides from home server corresponding to described a plurality of Virtual network operators in default cycle time;
The IP address corresponding with domain name that the described a plurality of Virtual network operators that obtain are provided is saved in described the first IP address list.
During specific implementation, the network overhead or the flow that in order to reduce server, when dynamically updating the first address list, take, in the present embodiment, server for example can be preset in the automatic refresh routine of start by set date address list in morning every day, from the dns server of a plurality of Virtual network operators this locality, obtain respectively the corresponding relation between domain name and IP address, further, can also judge the connectedness between each domain name and corresponding IP address, determine the availability of IP address, disabled IP address is deleted, the robustness that can keep address list, guarantee coverage rate and the accuracy of domain name mapping, afterwards available domain name and corresponding IP address thereof are saved in IP address list corresponding with domain name in the first address list.
For instance, the first address list is as shown in table 1:
It will be appreciated by persons skilled in the art that the concrete example in the first address list shown in above-mentioned table 1 is that in the first address list shown in his-and-hers watches 1 of the present invention, domain name and IP address are not limited in any way in order to understand address list of the present invention.
In order to improve the accuracy of domain name mapping, in an optional execution mode of the present invention, after step 101, comprise:
Each IP address that server comprises described the first IP address list disappears and heavily processes;
Filtration treatment is carried out in each IP address that described the first IP address list disappearing after heavily processing is comprised.
During specific implementation, during a plurality of Virtual network operators current with each domain name corresponding IP address that respectively provide of the server of the present embodiment by inquiring about the first address list and get, there is situation about repeating in the current IP address corresponding with each domain name that provide respectively of a plurality of Virtual network operators likely, need to disappear and heavily process, the current IP address corresponding with domain name that provide respectively of a plurality of Virtual network operators do not repeated;
In further example, the server of the present embodiment can be preset filter condition, for example, when the IP address corresponding with each domain name that website side server is safeguarding that first network operator provides, the IP address corresponding with each domain name that first network operator can be provided filters out from above-mentioned the first IP address list.
102, server is according to domain name, inquire about the second address list, obtain second IP address list corresponding with domain name, in described the second IP address list, preserve the IP address corresponding with domain name that side server default described a plurality of Virtual network operators in website provide.
In an optional execution mode of the present invention, before step 102, comprise:
Server is preset with the second address list, wherein, preserves the IP address corresponding with this domain name that website side server provides for the default described a plurality of Virtual network operators of each domain name in the second address list.
For instance, the second address list is as shown in table 2:
It will be appreciated by persons skilled in the art that the concrete example in the second address list shown in above-mentioned table 2 is that in the first address list shown in his-and-hers watches 1 of the present invention, domain name and IP address are not limited in any way in order to understand address list of the present invention.
103, server mates each IP address in described the first IP address list with each IP address in described the second IP address list, and matching result is sent to described client.
In an optional execution mode of the present invention, step 103 comprises:
If determine, each IP address in described the first IP address list is identical with each IP address in described the second IP address list, each IP address in definite described the first IP address list and each IP address in described the second IP address list match, and the result that the match is successful is sent to described client; Or
If determine, each IP address in described the first IP address list is not identical with each IP address in described the second IP address list, does not mate with each IP address in described the second IP address list each IP address in definite described the first IP address list, and the unsuccessful result of coupling is sent to described client;
It should be noted that, each IP address in above-mentioned the first IP address list can be through the IP address after disappear heavy and filtration treatment.
Accordingly, suppose that above-mentioned matching result is successfully, determine that client can successful access website domain name, and IP corresponding to the domain name with access that provide of the Virtual network operator accessing by client, the fastest access speed obtained;
Suppose that above-mentioned matching result is successfully, sends to described client by the unsuccessful result of coupling; So that client is according to coupling, unsuccessful interpretation of result domain name mapping detects unsuccessful reason.
The domain name that the domain name mapping request that the server of the embodiment of the present invention sends according to client comprises, inquire about the first address list, obtain first IP address list corresponding with domain name, the current IP address corresponding with domain name that provide respectively of a plurality of Virtual network operators is provided in described the first IP address list; According to domain name, inquire about the second address list, obtain second IP address list corresponding with domain name, in described the second IP address list, preserve the IP address corresponding with domain name that side server default described a plurality of Virtual network operators in website provide; Further, each IP address in described the first IP address list is mated with each IP address in described the second IP address list, and matching result is sent to described client.
Because the present embodiment server can be provided by a plurality of Virtual network operators current IP address corresponding with each domain name that provide respectively automatically, do not need website side server to go to by manually logging in respectively the local dns server of a plurality of Virtual network operators the IP address corresponding with each domain name that the default described a plurality of Virtual network operators of detection validation website side server provide one by one, therefore, can improve domain name mapping detection efficiency.
The schematic flow sheet of the domain name mapping detection method that Fig. 2 provides for another embodiment of the present invention; As shown in Figure 2, specifically comprise:
201, server acceptance domain name analysis request, domain name mapping request comprises domain name to be resolved.
202, inquire about the first address list, obtain first IP address list corresponding with domain name, inquire about the second address list, obtain second IP address list corresponding with domain name.
Wherein, in described the first IP address list, preserve the current IP address corresponding with domain name that provide respectively of a plurality of Virtual network operators.
In described the second IP address list, preserve the IP address corresponding with domain name that side server default described a plurality of Virtual network operators in website provide.
It should be noted that, while supposing that server is the dns server in high in the clouds, first address list of the present embodiment can be the dns address list dynamically updating, in this dns address list, preserve a plurality of domain names, and IP address list corresponding to each domain name, wherein, in IP address list corresponding to each domain name, preserve the current IP address corresponding with domain name that provide respectively of a plurality of Virtual network operators.In order to keep the robustness of dns address list, guarantee coverage rate and the accuracy of domain name mapping, dns server regularly (for example can in morning every day) starts the automatic refresh routine of dns address, from the dns server of a plurality of Virtual network operators this locality, obtain respectively the corresponding relation between domain name and IP address, further, can also judge the connectedness between each domain name and corresponding IP address, determine the availability of IP address, disabled IP address is deleted.
203, determine that whether each IP address in the first IP address list exists the IP of repetition, if perform step 204, otherwise performs step 205.
The IP address of the repetition 204, the first IP address list being comprised disappears and heavily processes.
For example, domain name (
www.360.com) the IP address of corresponding first network operator is while existing two or more identical IP addresses, can retain the IP address of Yi Ge first network operator, the IP address of the first network operator of other repetition is deleted.
205, determine that whether each IP address in the first IP address list needs filtration treatment, if perform step 206, otherwise performs step 207.
206, IP address needs being filtered out filters out from the first IP address list.
Particularly, the server of the present embodiment is preset filter condition, and the IP address that meets filter condition is filtered out from the first IP address list; For example, when the IP address corresponding with each domain name that website side server is safeguarding that first network operator provides, the IP address corresponding with each domain name that first network operator provides is the IP address that meets filter condition, and the IP address corresponding with each domain name that first network operator can be provided filters out from the first IP address list.
207, determine that whether mate with each IP address in the second IP address list each IP address in the first IP address list, if perform step 208, otherwise performs step 209.
Wherein, each IP address in the first IP address list can be the IP address that step 202 is obtained, and can be also the IP address that step 204 disappears after heavily processing, and can be also step 206 filtration treatment IP address afterwards.
208, to client, send the result that coupling is consistent.
209, to client, send the inconsistent result of coupling.
The domain name that the domain name mapping request that the server of the embodiment of the present invention sends according to client comprises, inquire about the first address list, obtain first IP address list corresponding with domain name, the current IP address corresponding with domain name that provide respectively of a plurality of Virtual network operators is provided in described the first IP address list; According to domain name, inquire about the second address list, obtain second IP address list corresponding with domain name, in described the second IP address list, preserve the IP address corresponding with domain name that side server default described a plurality of Virtual network operators in website provide; Further, each IP address in described the first IP address list is mated with each IP address in described the second IP address list, and matching result is sent to described client.
Because the present embodiment server can be provided by a plurality of Virtual network operators current IP address corresponding with each domain name that provide respectively automatically, do not need website side server to go to by manually logging in respectively the local dns server of a plurality of Virtual network operators the IP address corresponding with each domain name that the default described a plurality of Virtual network operators of detection validation website side server provide one by one, therefore, can improve domain name mapping detection efficiency.
The structural representation of the domain name mapping checkout gear that Fig. 3 provides for another embodiment of the present invention; As shown in Figure 3, described device comprises:
Described acquisition module 31, be suitable for according to domain name, inquire about the second address list, obtain second IP address list corresponding with domain name, in described the second IP address list, preserve the IP address corresponding with domain name that side server default described a plurality of Virtual network operators in website provide;
Alternatively, described matching module 32 is suitable for:
If determine, each IP address in described the first IP address list is identical with each IP address in described the second IP address list, each IP address in definite described the first IP address list and each IP address in described the second IP address list match, and the result that the match is successful is sent to described client; Or
If determine, each IP address in described the first IP address list is not identical with each IP address in described the second IP address list, does not mate with each IP address in described the second IP address list each IP address in definite described the first IP address list, and the unsuccessful result of coupling is sent to described client.
Alternatively, described acquisition module 31, is also suitable for from home server corresponding to described a plurality of Virtual network operators, obtaining respectively in default cycle time the IP address corresponding with domain name that corresponding Virtual network operator provides;
Alternatively, described device also comprises:
Alternatively, in the IP address corresponding with domain name of preserving described a plurality of Virtual network operators that module 33 obtains described acquisition module 31 and providing is saved in described the first IP address list before, described device also comprises:
The molality piece 34 that disappears, each IP address that is suitable for described the first IP address list to comprise disappears and heavily processes;
Alternatively, described matching module 32 is specifically suitable for:
Each IP address in described the first IP address list after described disappear molality piece 34 and 35 processing of described filtering module is mated with each IP address in described the second IP address list, and matching result is sent to described client.
The domain name that the domain name mapping request that the server of the embodiment of the present invention sends according to client comprises, inquire about the first address list, obtain first IP address list corresponding with domain name, the current IP address corresponding with domain name that provide respectively of a plurality of Virtual network operators is provided in described the first IP address list; According to domain name, inquire about the second address list, obtain second IP address list corresponding with domain name, in described the second IP address list, preserve the IP address corresponding with domain name that side server default described a plurality of Virtual network operators in website provide; Further, each IP address in described the first IP address list is mated with each IP address in described the second IP address list, and matching result is sent to described client.
Because the present embodiment server can be provided by a plurality of Virtual network operators current IP address corresponding with each domain name that provide respectively automatically, do not need website side server to go to by manually logging in respectively the local dns server of a plurality of Virtual network operators the IP address corresponding with each domain name that the default described a plurality of Virtual network operators of detection validation website side server provide one by one, therefore, can improve domain name mapping detection efficiency.
The structural representation of the server that Fig. 4 provides for another embodiment of the present invention, as shown in Figure 4, described server comprises processor 41, memory 42 and communication interface 43, between described processor 41, memory 42 and communication interface 43, by communication bus 44, connect, in described memory 42, preserve the instruction that realizes domain name mapping detection method;
When described processor 41 is transferred the instruction of preserving in described memory 42, can carry out following steps:
The domain name that the domain name mapping request that described processor receives according to described communication interface comprises, inquire about the first address list, obtain first IP address list corresponding with domain name, the current IP address corresponding with domain name that provide respectively of a plurality of Virtual network operators is provided in described the first IP address list;
According to domain name, inquire about the second address list, obtain second IP address list corresponding with domain name, in described the second IP address list, preserve the IP address corresponding with domain name that side server default described a plurality of Virtual network operators in website provide;
Each IP address in described the first IP address list is mated with each IP address in described the second IP address list, matching result is sent to described client by described communication interface.
Alternatively, described each IP address in described the first IP address list is mated with each IP address in described the second IP address list, comprising:
If determine, each IP address in described the first IP address list is identical with each IP address in described the second IP address list, each IP address in definite described the first IP address list and each IP address in described the second IP address list match, and the result that the match is successful is sent to described client; Or
If determine, each IP address in described the first IP address list is not identical with each IP address in described the second IP address list, does not mate with each IP address in described the second IP address list each IP address in definite described the first IP address list, and the unsuccessful result of coupling is sent to described client.
Alternatively, before described inquiry the first address list, comprising:
Described processor obtains respectively the IP address corresponding with domain name that corresponding Virtual network operator provides from home server corresponding to described a plurality of Virtual network operators in default cycle time;
The IP address corresponding with domain name that the described a plurality of Virtual network operators that obtain are provided is saved in described the first IP address list.
Alternatively, described in obtain first IP address list corresponding with domain name after, comprising:
Each IP address that described processor comprises described the first IP address list disappears and heavily processes;
Filtration treatment is carried out in each IP address that described the first IP address list disappearing after heavily processing is comprised.
Alternatively, described each IP address in described the first IP address list is mated with each IP address in described the second IP address list, comprising:
Described processor mates each IP address in described the first IP address list after disappear heavy and filtration treatment with each IP address in described the second IP address list, and matching result is sent to described client by described communication interface.
The domain name that the domain name mapping request that the server of the embodiment of the present invention sends according to client comprises, inquire about the first address list, obtain first IP address list corresponding with domain name, the current IP address corresponding with domain name that provide respectively of a plurality of Virtual network operators is provided in described the first IP address list; According to domain name, inquire about the second address list, obtain second IP address list corresponding with domain name, in described the second IP address list, preserve the IP address corresponding with domain name that side server default described a plurality of Virtual network operators in website provide; Further, each IP address in described the first IP address list is mated with each IP address in described the second IP address list, and matching result is sent to described client.
Because the present embodiment server can be provided by a plurality of Virtual network operators current IP address corresponding with each domain name that provide respectively automatically, do not need website side server to go to by manually logging in respectively the local dns server of a plurality of Virtual network operators the IP address corresponding with each domain name that the default described a plurality of Virtual network operators of detection validation website side server provide one by one, therefore, can improve domain name mapping detection efficiency.
In the several embodiment that provide in the application, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual realization, can have other dividing mode, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that also can adopt hardware to add SFU software functional unit realizes.
The integrated unit that the above-mentioned form with SFU software functional unit realizes, can be stored in the form of code in a computer read/write memory medium.Above-mentioned code storage, in a computer-readable recording medium, comprises that some instructions are with so that processor or hardware circuit are carried out the part or all of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: the miniature high power capacity mobile storage disc without phisical drive of USB (universal serial bus), portable hard drive, read-only memory (English: Read-Only Memory, be called for short ROM), the various media that can be program code stored such as random access memory (English: Random Access Memory, be called for short RAM), magnetic disc or CD.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the protection range of various embodiments of the present invention technical scheme.
Claims (10)
1. a domain name mapping detection method, it comprises:
The domain name that the domain name mapping request that server sends according to client comprises, inquire about the first address list, obtain first IP address list corresponding with domain name, the current IP address corresponding with domain name that provide respectively of a plurality of Virtual network operators is provided in described the first IP address list;
According to domain name, inquire about the second address list, obtain second IP address list corresponding with domain name, in described the second IP address list, preserve the IP address corresponding with domain name that side server default described a plurality of Virtual network operators in website provide;
Each IP address in described the first IP address list is mated with each IP address in described the second IP address list, matching result is sent to described client.
2. method according to claim 1, wherein, describedly mates each IP address in described the first IP address list with each IP address in described the second IP address list, comprising:
If determine, each IP address in described the first IP address list is identical with each IP address in described the second IP address list, each IP address in definite described the first IP address list and each IP address in described the second IP address list match, and the result that the match is successful is sent to described client; Or
If determine, each IP address in described the first IP address list is not identical with each IP address in described the second IP address list, does not mate with each IP address in described the second IP address list each IP address in definite described the first IP address list, and the unsuccessful result of coupling is sent to described client.
3. method according to claim 1, wherein, before described inquiry the first address list, comprising:
Described server obtains respectively the IP address corresponding with domain name that corresponding Virtual network operator provides from home server corresponding to described a plurality of Virtual network operators in default cycle time;
The IP address corresponding with domain name that the described a plurality of Virtual network operators that obtain are provided is saved in described the first IP address list.
4. according to the method described in claim 1-3 any one, wherein, described in obtain first IP address list corresponding with domain name after, comprising:
Each IP address that described server comprises described the first IP address list disappears and heavily processes;
Filtration treatment is carried out in each IP address that described the first IP address list disappearing after heavily processing is comprised.
5. method according to claim 4, wherein, describedly mates each IP address in described the first IP address list with each IP address in described the second IP address list, comprising:
Described server mates each IP address in described the first IP address list after disappear heavy and filtration treatment with each IP address in described the second IP address list, and matching result is sent to described client.
6. a domain name mapping checkout gear, it comprises:
Acquisition module, the domain name that the domain name mapping request that is suitable for sending according to client comprises, inquire about the first address list, obtain first IP address list corresponding with domain name, the current IP address corresponding with domain name that provide respectively of a plurality of Virtual network operators is provided in described the first IP address list;
Described acquisition module, be suitable for according to domain name, inquire about the second address list, obtain second IP address list corresponding with domain name, in described the second IP address list, preserve the IP address corresponding with domain name that side server default described a plurality of Virtual network operators in website provide;
Matching module, mate with each IP address in described the second IP address list each IP address in the first IP address list that is suitable for described acquisition module to obtain, and matching result is sent to described client.
7. device according to claim 6, wherein, described matching module is specifically suitable for:
If determine, each IP address in described the first IP address list is identical with each IP address in described the second IP address list, each IP address in definite described the first IP address list and each IP address in described the second IP address list match, and the result that the match is successful is sent to described client; Or
If determine, each IP address in described the first IP address list is not identical with each IP address in described the second IP address list, does not mate with each IP address in described the second IP address list each IP address in definite described the first IP address list, and the unsuccessful result of coupling is sent to described client.
8. device according to claim 6, wherein, described acquisition module, is also suitable for from home server corresponding to described a plurality of Virtual network operators, obtaining respectively in default cycle time the IP address corresponding with domain name that corresponding Virtual network operator provides;
Described device also comprises:
Preserve module, the IP address corresponding with domain name that the described a plurality of Virtual network operators that are suitable for that described acquisition module is obtained provide is saved in described the first IP address list.
9. according to the device described in claim 6-8 any one, wherein, also comprise:
The molality piece that disappears, each IP address that is suitable for described the first IP address list to comprise disappears and heavily processes;
Filtering module, filtration treatment is carried out in each IP address that is suitable for described described the first IP address list disappearing after heavy resume module to comprise.
10. device according to claim 9, wherein, described matching module is specifically suitable for:
Each IP address in described the first IP address list after described disappear molality piece and the processing of described filtering module is mated with each IP address in described the second IP address list, and matching result is sent to described client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310512140.2A CN103595825B (en) | 2013-10-25 | 2013-10-25 | Domain name mapping detection method and device, server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310512140.2A CN103595825B (en) | 2013-10-25 | 2013-10-25 | Domain name mapping detection method and device, server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103595825A true CN103595825A (en) | 2014-02-19 |
CN103595825B CN103595825B (en) | 2017-11-03 |
Family
ID=50085803
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310512140.2A Active CN103595825B (en) | 2013-10-25 | 2013-10-25 | Domain name mapping detection method and device, server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103595825B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104092785A (en) * | 2014-06-05 | 2014-10-08 | 汉柏科技有限公司 | Method for domain name registration and resolution, and resource access method and resource access device based on domain name |
CN105323324A (en) * | 2014-06-05 | 2016-02-10 | 北京邮电大学 | System and method for IP aeronautical telecommunication network communication addressing |
CN105991797A (en) * | 2016-07-01 | 2016-10-05 | 北京奇虎科技有限公司 | Method and device for network access by mobile terminal |
CN106603588A (en) * | 2015-10-14 | 2017-04-26 | 北京国双科技有限公司 | Processing method and device for server node |
CN107040617A (en) * | 2016-10-11 | 2017-08-11 | 阿里巴巴集团控股有限公司 | The method and device of data processing |
CN107295116A (en) * | 2017-05-11 | 2017-10-24 | 上海红阵信息科技有限公司 | A kind of domain name analytic method, apparatus and system |
CN108040085A (en) * | 2017-11-20 | 2018-05-15 | 广州华多网络科技有限公司 | Method for network access, device and server |
CN110430188A (en) * | 2019-08-02 | 2019-11-08 | 武汉思普崚技术有限公司 | A kind of quick url filtering method and device |
CN112565249A (en) * | 2020-12-02 | 2021-03-26 | 中国联合网络通信集团有限公司 | Domain name detection method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103051740B (en) * | 2012-12-13 | 2016-04-20 | 上海牙木通讯技术有限公司 | Domain name analytic method, dns server and domain name analysis system |
-
2013
- 2013-10-25 CN CN201310512140.2A patent/CN103595825B/en active Active
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105323324A (en) * | 2014-06-05 | 2016-02-10 | 北京邮电大学 | System and method for IP aeronautical telecommunication network communication addressing |
CN104092785A (en) * | 2014-06-05 | 2014-10-08 | 汉柏科技有限公司 | Method for domain name registration and resolution, and resource access method and resource access device based on domain name |
CN106603588A (en) * | 2015-10-14 | 2017-04-26 | 北京国双科技有限公司 | Processing method and device for server node |
CN106603588B (en) * | 2015-10-14 | 2020-05-15 | 北京国双科技有限公司 | Server node processing method and device |
CN105991797B (en) * | 2016-07-01 | 2019-10-15 | 北京奇虎科技有限公司 | The method and device of mobile terminal network visiting |
CN105991797A (en) * | 2016-07-01 | 2016-10-05 | 北京奇虎科技有限公司 | Method and device for network access by mobile terminal |
CN107040617A (en) * | 2016-10-11 | 2017-08-11 | 阿里巴巴集团控股有限公司 | The method and device of data processing |
CN107295116B (en) * | 2017-05-11 | 2020-04-10 | 上海红阵信息科技有限公司 | Domain name resolution method, device and system |
CN107295116A (en) * | 2017-05-11 | 2017-10-24 | 上海红阵信息科技有限公司 | A kind of domain name analytic method, apparatus and system |
CN108040085A (en) * | 2017-11-20 | 2018-05-15 | 广州华多网络科技有限公司 | Method for network access, device and server |
CN110430188A (en) * | 2019-08-02 | 2019-11-08 | 武汉思普崚技术有限公司 | A kind of quick url filtering method and device |
CN110430188B (en) * | 2019-08-02 | 2022-04-19 | 武汉思普崚技术有限公司 | Rapid URL filtering method and device |
CN112565249A (en) * | 2020-12-02 | 2021-03-26 | 中国联合网络通信集团有限公司 | Domain name detection method and device |
CN112565249B (en) * | 2020-12-02 | 2023-04-07 | 中国联合网络通信集团有限公司 | Domain name detection method and device |
Also Published As
Publication number | Publication date |
---|---|
CN103595825B (en) | 2017-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103595825A (en) | Domain name resolution detection method, domain name resolution detection device and server | |
US9231972B2 (en) | Malicious website identifying method and system | |
CN107809383B (en) | MVC-based path mapping method and device | |
CN106302595B (en) | Method and equipment for carrying out health check on server | |
EP2891977A1 (en) | Method, system and device for managing virtual machine software in cloud environment | |
CN104301316A (en) | Single sign-on system and implementation method thereof | |
ATE463793T1 (en) | METHOD AND SYSTEM FOR OBTAINING APPLICATION PROTOCOL CHARACTERISTICS. | |
CN103269389A (en) | Method and device for detecting and repairing malicious DNS setting | |
CN106470251B (en) | Domain name resolution method and virtual DNS authoritative server | |
CN104980446A (en) | Detection method and system for malicious behavior | |
WO2014075537A1 (en) | Malicious website identifying method and system | |
CN103634165A (en) | Method, terminal device and system for realizing network testing based on reverse proxy | |
CN104767839A (en) | IP positioning method and device | |
CN105338128A (en) | Domain name resolution method and device | |
CN103744699A (en) | Method and device for software upgrading of intelligent electric equipment | |
CN101262353A (en) | Communication method, device and system for filtering network address | |
CN104580376A (en) | Method, device and system for constructing connection between terminals in local area network | |
US9614716B2 (en) | Controller maintenance in a network-attached storage system | |
CN111404951B (en) | Tenant creating method of cloud network, computer equipment and storage medium | |
CN104967698A (en) | Network data crawling method and apparatus | |
CN104811507A (en) | IP address acquiring method and IP address acquiring device | |
CN102984055A (en) | Soft restart upgrading method and equipment of ISSU | |
CN111177053B (en) | Data communication method, device and system and computer readable storage medium | |
CN105607606A (en) | Data acquisition device and data acquisition method based on double-mainboard framework | |
CN107911496A (en) | A kind of VPN service terminal acts on behalf of the method and device of DNS |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220727 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |