A kind of block chain domain name analysis system
Technical field
The present invention relates to areas of information technology, particularly relate to a kind of block chain domain name analysis system.
Background technology
Chinese patent publication published application number 201610401213.4 optimizes angle from block chain common recognition and solves authentification of message
The problem that waiting time slow, online is long, Chinese patent publication published application number 201610479798.1 solve be with
The phenomenon that in machine instruction, instruction node is hacked, it is block chain that Chinese patent publication published application number 201610413635.3 solves
The problem that mark during Internet of Things disconnects with thing;Chinese patent publication published application 201610472450.X uses random
Obtain the system of mark, stopped collection physical message and all decoded and be that fraud provides conveniently;Chinese patent publication is public
Opening application number 201610401023.2 uses behavior characteristics or biometric information authentication system to solve the problem that block chain account is stolen;
Chinese patent publication published application number 201610441383.5 and application number 201610441834.5 are at community's block chain intelligence
The application of people's daily life is invented by reason angle by block chain, Chinese patent publication published application number 201610501761.4
Solve is the problem attacking instruction node.
DNS, full name Domain Name Service, Chinese name domain name resolution server, is that the key foundation of the Internet sets
Execute, only utilize dns resolution technology, could change between domain name and block chain domain name Hash Round Robin data partition address, Jin Erfang
Ask website.If the access of DNS root server is cut off, then netizen just cannot log in website, and the Internet is possible to thoroughly
Paralysis.In other words, DNS root server is brain and the nervus centralis of the Internet operation, and who controls DNS root server, meaning
Whom taste just there is the final control to the Internet.
The DNS root server only 13 altogether of the Internet operating, the most unique main root clothes are supported in the whole world at present
Business device and 9 secondary root servers be each provided at the U.S., other 3 secondary root servers be respectively provided at Europe Sweden, Holland and we
The Japan in Asia.As can be seen here, instantly, the U.S. possesses the core technology of the Internet, controls the aorta of Global Internet,
Controlling the operation of Global Internet firmly, the U.S. is in absolute dominance among the sky of the Internet, belongs to complete
The supervisor of ball the Internet, this most directly threatens the network national defense safety of our China, at any time let us China
Paralyse in the Internet.
It is therefore desirable to provide a kind of block chain domain name analysis system.
Summary of the invention
It is an object of the invention to provide a kind of block chain domain name analysis system, by using from inquiring about the caching obtained in the past
Information replys inquiry on the spot, and block chain DNS server can use the resource record information cache of himself to carry out response inquiry, also
Requesting terminal main frame can be represented and inquire about or contact other block chain DNS servers, to resolve this title completely, and subsequently will
Response is back to end host.
In order to solve above-mentioned technical problem, the present invention uses technical scheme:
A kind of block chain domain name analysis system, it is characterised in that:
Including: search module: in order to search the block chain domain name addresses of mapping block or caching and whether to enable forwarding module;
Mapping block: in order to domain name addresses is mapped;
Parsing module: resolve in order to block chain domain name addresses will be found;
Sending module: in order to send lookup, to resolve the request of block chain domain name addresses or feedback;
Receiver module: in order to send lookup, to resolve the request of block chain domain name addresses or feedback;
Judge module: in order to judge whose empowerment management is domain name be by;
Forwarding module: in order to forward block chain DNS request;
Feedback module: in order to feedback field name analysis or lookup result and block chain domain name Hash Round Robin data partition.
A inputs block chain domain name addresses in end host: search the hosts block chain literary composition of module check oneself this locality
Whether part mapping block has described address mapping relation, maps if it has, first call this block chain domain name Hash Round Robin data partition address,
Parsing module completes domain name mapping;If it is not, proceed to next step;
If there is no the mapping of this domain name in B hosts block chain mapping block, then search module searches this locality block chain DNS
Resolver caches, if having this web address mapping relation, if it has, directly return, parsing module completes domain name mapping;If not yet
Have, then proceed to next step;
If C hosts block chain does not all have corresponding web address mapping to close with local block chain DNS resolver caching mapping block
System, then search module and first look for block chain first-selection dns server, i.e. local block chain dns server, described local block chain
Dns server receiver module receives inquiry, if domain name to be inquired about, is included in locally configured block chain region resource, then
Feedback module returns analysis result and completes domain name mapping to end host, parsing module, and this parsing has authority.
Described block chain domain name addresses refers to block chain domain name Hash Round Robin data partition.
If block chain domain name to be inquired about, do not resolve in local block chain dns server region, but described local block
Chain dns server has cached this address mapping relations, then call this block chain domain name Hash Round Robin data partition address and map, resolve mould
Block completes domain name mapping, and this parsing does not have authority.
If described local block chain dns server this locality block sequence domain file resolves with caching all lost efficacy, then basis
The setting of local block chain dns server is inquired about, described in be set to whether enable forwarding module.
If not enabled forwarding module, local block chain dns server sending module sends to root block chain DNS clothes request
Business device, after root block chain dns server receives request, it is judged that module can judge that this domain name is who carrys out empowerment management, feeds back mould
Block also can return a block chain domain name Hash Round Robin data partition being responsible for this block chain TLD server.
After local block chain dns server receives block chain domain name Hash Round Robin data partition information, it will contact described this district responsible
Block chain TLD server;After described this TLD server responsible receives request, if oneself cannot resolve, it will look into
Look for a next stage block chain dns server address managing this territory to local block chain dns server.
After described local block chain dns server receives this address, it will contact the next stage in described this territory of management
Block chain dns server.
Repeat the above steps, carries out next stage inquiry, until finding block chain domain host;
If enabling forwarding module, the most described block chain dns server is forwarded to upper level block chain dns server request,
Resolved by described upper level block chain dns server parsing module.
If described upper level block chain dns server parsing module can not resolve, then or look for root block chain DNS service
Device, or
Described upper level block chain dns server goes to the upper level district of described upper level block chain dns server turning request
Block chain dns server, so circulates, until root block chain dns server.
Described local block chain dns server forwards or root hints, and feedback module returns result to described local block
Chain dns server, and thus dns server returns again to client terminal main frame.
Described local block chain dns server forwards or root hints, and feedback module returns result to root block chain DNS clothes
Business device synchronizes.
The present invention is compared with prior art: 1, resolve domain name by block chain, block chain technology is applied to domain name solution
Analysis technology, it is provided that a kind of brand-new domain name analytic method, breaches existing technology prejudice;2, safe, transparent by block chain
With faith mechanism application domain name analysis neighborhood, break the technical monopoly situation of existing rhizosphere name.
Accompanying drawing explanation
Fig. 1 is the application block chain common recognition and the schematic flow sheet of the system of synchronization.
Fig. 2 is the application block chain common recognition and the not enabled forwarding module schematic diagram of the system of synchronization.
Fig. 3 be the application block chain common recognition and synchronize system enable forwarding module schematic diagram.
Fig. 4 is the application block chain common recognition and another schematic diagram of the system of synchronization.
Fig. 5 is the application block chain domain name block chain domain name Hash Round Robin data partition.
Detailed description of the invention
Understandable, below in conjunction with the accompanying drawings to the present invention for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from
Detailed description of the invention be described in detail.
Elaborate a lot of detail in the following description so that fully understanding the present invention.But the present invention can be with
Much being different from alternate manner described here to implement, those skilled in the art can be in the situation without prejudice to intension of the present invention
Under do similar popularization, therefore the present invention is not embodied as and concrete accompanying drawing is limited by following public.
Embodiment one
Such as Fig. 1, shown in 4, a kind of block chain domain name analysis system, it is characterised in that: including:
Search module: in order to search the block chain domain name addresses of mapping block or caching and whether to enable forwarding module;
Mapping block: in order to domain name addresses is mapped;
Parsing module: resolve in order to block chain domain name addresses will be found;
Sending module: in order to send lookup, to resolve the request of block chain domain name addresses or feedback;
Receiver module: in order to send lookup, to resolve the request of block chain domain name addresses or feedback;
Judge module: in order to judge whose empowerment management is domain name be by;
Forwarding module: in order to forward block chain DNS request;
Feedback module: in order to feedback field name analysis or lookup result and block chain domain name Hash Round Robin data partition.
A inputs domain name addresses in end host: the hosts block chained file searching module check oneself this locality maps
Whether module has described address mapping relation, maps if it has, first call this block chain domain name Hash Round Robin data partition address, resolves mould
Block completes domain name mapping;If it is not, proceed to next step;
If there is no the mapping of this domain name in B hosts block chain mapping block, then search module searches this locality block chain DNS
Resolver caches, if having this web address mapping relation, if it has, directly return, parsing module completes domain name mapping;If not yet
Have, then proceed to next step;
If C hosts block chain does not all have corresponding web address mapping to close with local block chain DNS resolver caching mapping block
System, then search module and first look for block chain first-selection dns server, i.e. local block chain dns server, described local block chain
Dns server receiver module receives inquiry, if domain name to be inquired about, is included in locally configured block chain region resource, then
Feedback module returns analysis result and completes domain name mapping to end host, parsing module, and this parsing has authority.
If domain name to be inquired about, do not resolve in local block chain dns server region, but described local block chain DNS
Server has cached this web address mapping relation, then call this block chain domain name Hash Round Robin data partition address and map, and parsing module is complete
Becoming domain name mapping, this parsing does not have authority.
Embodiment two
As shown in Figure 2,4, if not enabled forwarding module, local block chain dns server sending module sends to root district request
Block chain dns server, after root block chain dns server receives request, it is judged that module can judge that this domain name is who is to authorize pipe
Reason, feedback module also can return a block chain domain name Hash Round Robin data partition being responsible for this block chain TLD server;
After local block chain dns server receives block chain domain name Hash Round Robin data partition information, it will contact described this block chain responsible
TLD server;After described this TLD server responsible receives request, if oneself cannot resolve, it will search one
The next stage block chain dns server address in individual this territory of management gives local block chain dns server;
After described local block chain dns server receives this address, it will contact the next stage block in described this territory of management
Chain dns server;
Repeat the above steps, carries out next stage inquiry, until finding block chain domain host.
Embodiment three
As shown in Figure 2,3, 4, if 10 enable forwarding module, the most described block chain dns server is forwarded to upper level request
Block chain dns server, is resolved by described upper level block chain dns server parsing module;
If described upper level block chain dns server parsing module can not resolve, then or look for root block chain dns server, or
Described upper level block chain dns server goes to the upper level district of described upper level block chain dns server turning request
Block chain dns server, so circulates, until root block chain dns server;
Described local block chain dns server forwards or root hints, and feedback module returns result to described local block chain DNS
Server, and thus dns server returns again to client terminal main frame;
Described local block chain dns server forwards or root hints, and feedback module returns result to root block chain dns server
Synchronize.
Embodiment four
As it is shown in figure 5, local block chain domain name links next stage by next stage block chain domain name block chain domain name Hash Round Robin data partition
Block chain name server, next stage block chain domain name is top by the link of top block chain domain name block chain domain name Hash Round Robin data partition
Block chain name server, top block chain domain name passes through root block chain domain name block chain domain name Hash Round Robin data partition root block chain domain name
Server.
Although the present invention is open as above with preferred embodiment, but it is not for limiting claim, any this area
Technical staff without departing from the spirit and scope of the present invention, can make possible variation and amendment, therefore the present invention
Protection domain should be defined in the range of standard with the claims in the present invention.