CN106973125A - Domain name mapping implementation method and device - Google Patents

Domain name mapping implementation method and device Download PDF

Info

Publication number
CN106973125A
CN106973125A CN201710157381.8A CN201710157381A CN106973125A CN 106973125 A CN106973125 A CN 106973125A CN 201710157381 A CN201710157381 A CN 201710157381A CN 106973125 A CN106973125 A CN 106973125A
Authority
CN
China
Prior art keywords
domain
server
network node
information
peer
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
CN201710157381.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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201710157381.8A priority Critical patent/CN106973125A/en
Publication of CN106973125A publication Critical patent/CN106973125A/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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

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

Abstract

The embodiment of the present invention provides a kind of domain name mapping implementation method and device.This method includes:Network node receives domain-name information, IP address information and the very first time stamp for the first server that first server is sent;When the corresponding relation for not having storage domain-name information and IP address information in historical record, and the difference at the current time of timer is less than preset time on very first time stamp and network node, the big small records that the corresponding relation of the domain-name information of network node first server, IP address information and very first time stamp is stabbed according to the very first time are in historical record.The corresponding relation of domain-name information and IP address information is sent to the peer node in peer-to-peer network by server by the embodiment of the present invention, peer node can not only store the domain-name information of the server and the corresponding relation of IP address information, the corresponding relation of the domain-name information of the server and IP address information other peer nodes be can also be synchronized to, the efficiency and reliability of domain name mapping improved.

Description

Domain name mapping implementation method and device
Technical field
The present embodiments relate to communication technical field, more particularly to a kind of domain name mapping implementation method and device.
Background technology
Name server (Domain Name Server, DNS) is to carry out domain name (domain name) and correspond IP address (IP address) conversion server.A domain name (domain name) is saved in DNS and is corresponded IP address (IP address) table, to parse the domain name of message.Domain name is a certain computer or calculating on Internet The title of unit, the electronic bearing (sometimes referred to as geographical position) for identifying computer in data transfer.Domain name is by one What the name that string is separated with point was constituted, organization name is generally comprised, and include two to three alphabetical suffix all the time, to indicate group Country where the type knitted or the domain.
DNS is computer domain name system (Domain Name System or Domain Name Service) abbreviation, it It is made up of Domain Name Resolver and name server.Name server refer to preserve in the network domain name of All hosts and Correspondence IP address, and with the server that domain name is converted to IP address function.Wherein domain name must correspond to an IP address, one Individual IP address can have multiple domain names, and IP address not necessarily has domain name.Domain name system uses the hierarchical organization of similar directory tree. Name server is usually the server side in Client/Server pattern, and it mainly has two kinds of forms:Master server and forwarding Server.The process that domain name is mapped as into IP address is known as " domain name mapping ", dns server looking into domain name resolution process Inquiry order be:Local cache record, regional record, forwarding name server, root name server.
When dns server receives a domain name mapping request, it is necessary to parse what domain name mapping request included Domain name to be resolved, if the dns server does not store the corresponding IP address of the domain name to be resolved locally, DNS clothes Business device is needed to the dns server acquisition request of its upper level corresponding IP address of domain name to be resolved, if upper level Dns server does not store the corresponding IP address of domain name to be resolved yet, then the dns server of the upper level is also needed to more The dns server of upper level sends request, until having a dns server with being stored with the corresponding IP of the domain name to be resolved Location, still, if the dns server for the corresponding IP address of domain name to be resolved that is stored with there occurs failure, then per one-level Dns server will be unable to know the corresponding IP address of domain name to be resolved, i.e., domain name mapping can not be realized, so as to reduce The efficiency and reliability of domain name mapping.
The content of the invention
The embodiment of the present invention provides a kind of domain name mapping implementation method and device, to improve the efficiency of domain name mapping and reliable Property.
The one side of the embodiment of the present invention is to provide a kind of domain name mapping implementation method, including:
Network node receives the domain-name information for the first server that first server is sent, IP address information and first Timestamp, wherein, the network node is the peer node in peer-to-peer network;
Pair for domain name information and the IP address information of whether being stored with the network node query history record It should be related to;
The network node calculates the difference at the current time of timer on the very first time stamp and the network node, The current time is that the network node receives the domain-name information of the first server, IP address information and the very first time At the time of stamp;
If there is no the corresponding relation for storing domain name information and the IP address information in the historical record, and it is described The difference at the current time of timer is less than preset time on very first time stamp and the network node, then the network node What the corresponding relation that domain-name information, IP address information and the very first time of the first server stab was stabbed according to the very first time Big small records are in the historical record;
The correspondence pass of the domain-name information of first server, IP address information and very first time stamp described in the network node System is sent to other peer nodes in the peer-to-peer network.
The other side of the embodiment of the present invention is to provide a kind of domain name mapping and realizes device, including:
Receiving module, the domain-name information of the first server for receiving first server transmission, IP address information Stabbed with the very first time, wherein, the network node is the peer node in peer-to-peer network;
Enquiry module, pair for domain name information and the IP address information of whether being stored with being recorded for query history It should be related to;
Computing module, the difference for calculating the current time of timer on the very first time stamp and the network node Value, the current time is that the network node receives the domain-name information of the first server, IP address information and first At the time of timestamp;
Logging modle, for when pair for not having to store domain name information and the IP address information in the historical record It should be related to, and when the difference at the current time of timer is less than preset time on very first time stamp and the network node, The corresponding relation that the domain-name information of the first server, IP address information and the very first time are stabbed is stabbed according to the very first time Big small records in the historical record;
Sending module, for the correspondence for stabbing the domain-name information of the first server, IP address information and the very first time Relation is sent to other peer nodes in the peer-to-peer network.
Domain name mapping implementation method provided in an embodiment of the present invention and device, by server by the domain-name information of oneself and The corresponding relation of IP address information is sent to the peer node in peer-to-peer network, and peer node can not only store the server The corresponding relation of domain-name information and IP address information, can also close the correspondence of the domain-name information of the server and IP address information System is synchronized to other peer nodes, because multiple peer nodes can store the domain name letter of same server in peer-to-peer network The corresponding relation of breath and IP address information, even if a peer node in peer-to-peer network occurs in that failure, client can be with The corresponding domain-name information of the server and IP address information are got from other peer nodes, the efficiency of domain name mapping is improved And reliability.
Brief description of the drawings
Fig. 1 is domain name mapping implementation method flow chart provided in an embodiment of the present invention;
Fig. 2 is network architecture diagram provided in an embodiment of the present invention;
The domain name mapping implementation method flow chart that Fig. 3 provides for another embodiment of the present invention;
Fig. 4 is the structure chart that device is realized in domain name mapping provided in an embodiment of the present invention;
Fig. 5 realizes the structure chart of device for the domain name mapping that another embodiment of the present invention is provided.
Embodiment
Fig. 1 is domain name mapping implementation method flow chart provided in an embodiment of the present invention;Fig. 2 is provided in an embodiment of the present invention Network architecture diagram.The embodiment of the present invention breaks down for dns server and leads to not correctly to parse domain name that there is provided one kind Domain name mapping implementation method, this method step is as follows:
Step S101, network node receive the domain-name information for the first server that first server is sent, IP address Information and very first time stamp, wherein, the network node is the peer node in peer-to-peer network.
As shown in Fig. 2 network node 21-24 is pair in peer-to-peer network (Peer-to-peer networking, P2P) Deng node, peer-to-peer network may include multiple peer nodes, and the present embodiment is by taking 4 peer nodes as an example.Server 31 or server 32 can be published to oneself domain name and IP address any one network node i.e. peer node in peer-to-peer network, for example, clothes Oneself domain name and IP address are published to network node 21 by business device 31, and oneself domain name and IP address are published to by server 32 Network node 22, network node 21 is received after the domain name and IP address of the issue of server 31, by the domain name and IP of server 31 Address is recorded in historical record, and the historical record can be a DNS account book, and DNS account books record the domain for having each server The corresponding relation of name and IP address, every record in DNS account books is that the corresponding relation of domain name and IP address is according to each service The time order and function of device issue is tactic.
Client 41 and client 42 can send domain name analysis request to the network node of any one in peer-to-peer network, or Person, DNS account books are obtained from any one network node in peer-to-peer network, and DNS account books record the domain name and IP for having each server The corresponding relation of address.For example, client 41 obtains DNS account books from network node 21, client 42 is obtained from network node 22 DNS account books, or, client 41 sends domain name analysis request to network node 21, and client 42 is to the sending domain of network node 22 Name analysis request.
In the present embodiment, server also needs to issue a time while domain name and IP address of oneself is issued Stamp, at the time of the timestamp is that the server issues the domain name and IP address of oneself.For example, server 31 is sent out to network node 21 A timestamp 2016 is also carried while the domain name www.domain.com and IP address 202.118.43.7 that give oneself:09: 09:15:07:23, at the time of the timestamp represents that server 31 issues oneself domain name and IP address.Similarly, server 32 is to net Network node 22 also carries a timestamp while sending the domain name and IP address of oneself, and the timestamp represents that server 32 is issued At the time of oneself domain name and IP address.
In the present embodiment, network node 21-24 can safeguard a DNS account book, specifically, network node 21-24 distinguishes Be stored with the DNS account books, and when the DNS account books on some network node update, the network node is needed the DNS The record updated in account book is sent to other network nodes, so that other network nodes update each local DNS Account book, so that the DNS account books stored respectively on network node 21-24 can keep synchronized update.
In addition, in other embodiments, in order to improve security, server issue the domain name of oneself, IP address and when Between when stab, it is necessary to be that the domain name, IP address and timestamp that will be issued are signed to it with the private key of the server, sign The content of name is obtained after being encrypted for domain name, IP address and timestamp that the server will be issued with the private key of oneself to it Encryption information, while server issues the signature, issue the public key of oneself.When network node receives server issue Signature and public key when, using the public key to signature verify, after being verified i.e. it is believed that the server issue information It is reliable.
Whether be stored with domain name information and the IP address in step S102, network node query history record The corresponding relation of information.
In addition, after network node often receives the domain name and IP address that a server is issued, in addition it is also necessary to detect it The historical record on ground is the corresponding relation that the domain name and IP address whether are had been recorded with DNS account books, in order to avoid repeating to record, is made Into the waste of storage resource.
Step S103, the network node calculate timer on very first time stamp and the network node it is current when The difference at quarter, the current time is that the network node receives the domain-name information of the first server, IP address information At the time of stamp with the very first time.
In addition, when network node often receives the corresponding relation of the domain name, IP address and timestamp of a server issue When, in addition it is also necessary to the difference at the current time of timer on the timestamp and network node is calculated, herein, timer on network node Current time be that network node receives the domain name of server issue, IP address and at the time of timestamp.
If there is no the correspondence pass for storing domain name information and the IP address information in step S104, the historical record The difference at the current time of timer is less than preset time in system, and very first time stamp and the network node, then described The corresponding relation of the domain-name information of first server described in network node, IP address information and very first time stamp is according to described the The big small records of one timestamp are in the historical record.
For example, network node 21 have received the domain-name information of server 31 of the transmission of server 31, IP address information and The corresponding relation of very first time stamp, at the time of very first time stamp is the issue of server 31 domain-name information, IP address information, network section Domain-name information, the IP address information for not having storage server 31 in local historical record are determined after point 21 query histories record, And the very first time stamp and network node 21 receive domain-name information, IP address information and the very first time stamp when, timer it is current The difference at moment is less than preset time, such as 3 minutes, then network node 21 determines domain-name information, the IP that server 31 is issued The corresponding relation of location information and very first time stamp is the information of a combined method, and domain-name information, the IP that server 31 is issued Location information and very first time stamp, the size stabbed according to the very first time are stored in the local historical record of network node 21, i.e. net Every record in the local historical record of network node 21 is to be ranked up to deposit according to every size for recording corresponding timestamp Storage, and every record is to that should have a numbering.
The domain-name information of first server, IP address information and the very first time described in step S105, the network node The corresponding relation of stamp is sent to other peer nodes in the peer-to-peer network.
As shown in Fig. 2 as the domain-name information that storage server 31 is issued in local historical record of network node 21, IP After address information and very first time stamp, in order to keep the historical record i.e. DNS account books that each network node is safeguarded be it is synchronous more New, network node 21 also needs to the corresponding relation hair for stabbing the domain-name information of server 31, IP address information and the very first time Other peer nodes i.e. network node 22-24 in the peer-to-peer network is given, network node 22-24 receives server 31 After the corresponding relation of domain-name information, IP address information and very first time stamp, the corresponding relation is stored in each local go through During Records of the Historian record is DNS account books, similarly, the size that network node 22-24 can also be stabbed according to the very first time sequentially storage server The corresponding relation that 31 domain-name information, IP address information and the very first time stabs.
The corresponding relation of the domain-name information of oneself and IP address information is sent to pair by the embodiment of the present invention by server Deng the peer node in network, peer node can not only store the domain-name information of the server and the correspondence pass of IP address information System, can also be synchronized to other peer nodes by the corresponding relation of the domain-name information of the server and IP address information, due to Multiple peer nodes can store the domain-name information of same server and the corresponding relation of IP address information in peer-to-peer network, i.e., In peer-to-peer network peer node is set to occur in that failure, client can also get the service from other peer nodes The corresponding domain-name information of device and IP address information, improve the efficiency and reliability of domain name mapping.
The domain name mapping implementation method flow chart that Fig. 3 provides for another embodiment of the present invention.In the base of embodiment illustrated in fig. 1 On plinth, the domain name mapping implementation method described in the present embodiment can also comprise the following steps:
Step S301, the network node receive the second server that other peer nodes are sent in the peer-to-peer network Domain-name information, IP address information and the second timestamp.
As shown in Fig. 2 the domain name of oneself, IP address, the second timestamp can be issue domain name, IP address by server 32 At the time of be sent to network node 22, detailed process issues domain name, IP address, the very first time with server 31 to network node 21 The process of stamp is consistent, and here is omitted.In addition, network node 22 is also needed to the domain-name information of server 32, IP address letter The corresponding relation of breath and the second timestamp is sent to other peer nodes i.e. network node 21,23,24 in the peer-to-peer network.
If not storing the domain name letter of the second server in step S302, the corresponding historical record of the network node The corresponding relation of breath, IP address information and the second timestamp, then the domain-name information of second server described in the network node, The corresponding relation of IP address information and the second timestamp is according to the big small records of second timestamp in the historical record.
When such as network node 21 of any one network node in network node 21,23,24 receives server 32 During the corresponding relation of domain-name information, IP address information and the second timestamp, the clothes that whether are stored with local historical record are inquired about It is engaged in the corresponding relation of the domain-name information of device 32, IP address information and the second timestamp, if not having, network node 21 is by server The corresponding relation of 32 domain-name information, IP address information and the second timestamp is recorded in local historical record, and according to the The record of the size of two timestamps sequentially is in local historical record.
If in addition, when the IP address of server 31 or server 32 changes, server 31 or server 32 can be with IP address after renewal is sent to the network node in peer-to-peer network, the network node can be any one network node, Can also be the network node of server connection, the network node is to the corresponding IP address of the server in local historical record It is updated, and the record after renewal is sent to other network nodes, the record is included after the domain name of the server, renewal Timestamp when issuing new IP address of IP address and the server.
In addition, any one network node such as network node 21 in network node 21,22,23,24 can also basis Local historical record generation domain name service table, the domain name service table includes domain-name informations all in historical record and the domain name The corresponding IP address of information.As shown in Fig. 2 client 41 can send domain name analysis request, the domain name solution to network node 21 Analysis request includes a certain domain-name information, dns query message domain name service of the network node 21 in domain name mapping request Table, obtains the corresponding IP address of the domain-name information, and the IP address is returned into client 41.
In addition, network node 21 can also receive the solicited message of the transmission of client 41, the solicited message can have two Use a, effect is the part of records in the local historical record of acquisition request network node 21, and another effect is please Ask and obtain the domain name service table that network node 21 is generated.For example, client 41 is after the power-up, it is locally stored from the client 41 The identification information of a network node is randomly selected in network node list, and solicited message is sent to the network node, should be asked Ask information to include temporal information, represent that the temporal information is identified in the local historical record of the acquisition request network node of client 41 Time after part of records;Or, the solicited message includes a numbering, represents the acquisition request of client 41 network Part of records in the local historical record of node after the numbering.It is somebody's turn to do in addition, the solicited message can be also used for acquisition request The domain name service table of network node generation.
It is right when client 41 receives part of records or domain name service table in the local historical record of the network node The content that client 41 is locally stored is updated.
The present embodiment sends solicited message by client to network node, with the part in acquisition request historical record Part of records in record or the domain name service table of network node generation, historical record is the note that network node is generated in the recent period Record, domain name service table includes the domain name and newest IP address of each server so that client can get server most New IP address.
Fig. 4 is the structure chart that device is realized in domain name mapping provided in an embodiment of the present invention.Domain provided in an embodiment of the present invention Name parsing realizes that device can perform the handling process of domain name mapping implementation method embodiment offer, as shown in figure 4, domain name mapping Realize that device 40 includes:Receiving module 41, enquiry module 42, computing module 43, logging modle 44, sending module 45, wherein, connect Receive domain-name information, IP address information and the very first time that module 41 is used to receive the first server of first server transmission Stamp, wherein, the network node is the peer node in peer-to-peer network;Whether enquiry module 42 is used to deposit in query history record Contain the corresponding relation of domain name information and the IP address information;Computing module 43 be used to calculating very first time stamp and The difference at the current time of timer on the network node, the current time is that the network node receives described first At the time of domain-name information, IP address information and the very first time of server stab;Logging modle 44 is used to work as in the historical record The corresponding relation of domain name information and the IP address information, and very first time stamp and the network node are not stored When the difference at the current time of upper timer is less than preset time, by the domain-name information of the first server, IP address information The big small records that the corresponding relation stabbed with the very first time is stabbed according to the very first time are in the historical record;Sending module 45 Corresponding relation for the domain-name information of the first server, IP address information and the very first time to be stabbed is sent to the equity Other peer nodes in network.
The corresponding relation of the domain-name information of oneself and IP address information is sent to pair by the embodiment of the present invention by server Deng the peer node in network, peer node can not only store the domain-name information of the server and the correspondence pass of IP address information System, can also be synchronized to other peer nodes by the corresponding relation of the domain-name information of the server and IP address information, due to Multiple peer nodes can store the domain-name information of same server and the corresponding relation of IP address information in peer-to-peer network, i.e., In peer-to-peer network peer node is set to occur in that failure, client can also get the service from other peer nodes The corresponding domain-name information of device and IP address information, improve the efficiency and reliability of domain name mapping.
Fig. 5 realizes the structure chart of device for the domain name mapping that another embodiment of the present invention is provided.In the base of above-described embodiment On plinth, receiving module 41 is additionally operable to receive the domain name letter of the second server that other peer nodes are sent in the peer-to-peer network Breath, IP address information and the second timestamp;Logging modle 44 is additionally operable to work as not to be had in the corresponding historical record of the network node When storing the corresponding relation of domain-name information, IP address information and the second timestamp of the second server, described second is taken The be engaged in corresponding relation of the domain-name information of device, IP address information and the second timestamp exists according to the big small records of second timestamp In the historical record.
In addition, as shown in figure 5, domain name mapping realizes that device also includes generation module 46, generation module 46 is used for according to institute Historical record is stated, domain name service table is generated, domain name agent list includes domain-name information and the domain in the historical record The corresponding IP address of name information.
In addition, receiving module 41 is additionally operable to receive the solicited message that client is sent, the solicited message is believed including the time Breath, the part of records that the solicited message is used in historical record described in acquisition request, the part record is the network What node was recorded after the time that the temporal information is identified.
Or, receiving module 41 is additionally operable to receive the solicited message that client is sent, and the solicited message is obtained for request Take domain name agent list.
Domain name mapping provided in an embodiment of the present invention realizes that device can be specifically for performing the method that above-mentioned Fig. 1 is provided Embodiment, here is omitted for concrete function.
The embodiment of the present invention sends solicited message by client to network node, with one in acquisition request historical record Part of records in part record or the domain name service table of network node generation, historical record is that network node is generated in the recent period Record, domain name service table includes the domain name and newest IP address of each server so that client can get server Newest IP address.
In summary, the embodiment of the present invention by server by the domain-name information of oneself and the corresponding relation of IP address information The peer node in peer-to-peer network is sent to, peer node can not only store the domain-name information and IP address information of the server Corresponding relation, the corresponding relation of the domain-name information of the server and IP address information can also be synchronized to others to constant pitch Point, because multiple peer nodes can store the domain-name information of same server and the correspondence of IP address information in peer-to-peer network Relation, even if a peer node in peer-to-peer network occurs in that failure, client can also be obtained from other peer nodes To the corresponding domain-name information of the server and IP address information, the efficiency and reliability of domain name mapping are improved;Pass through client Solicited message is sent to network node, is taken with the domain name that the part of records in acquisition request historical record or network node are generated Part of records in business table, historical record is the record that network node is generated in the recent period, and domain name service table includes each server Domain name and newest IP address so that client can get the newest IP address of server.
, can be by it in several embodiments provided by the present invention, it should be understood that disclosed apparatus and method Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical of device or unit by some interfaces Letter connection, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in an embodied on computer readable and deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are to cause a computer Equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform the present invention each The part steps of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various Can be with the medium of store program codes.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module Division progress for example, in practical application, can distribute complete by different functional modules by above-mentioned functions as needed Into the internal structure of device being divided into different functional modules, to complete all or part of function described above.On The specific work process of the device of description is stated, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology The scope of scheme.

Claims (10)

1. a kind of domain name mapping implementation method, it is characterised in that including:
Network node receives domain-name information, IP address information and the very first time for the first server that first server is sent Stamp, wherein, the network node is the peer node in peer-to-peer network;
The correspondence pass of the domain name information that whether is stored with the network node query history record and the IP address information System;
The network node calculates the difference at the current time of timer on the very first time stamp and the network node, described Current time is that the network node receives the domain-name information of the first server, IP address information and the very first time and stabbed Moment;
If there is no the corresponding relation for storing domain name information and the IP address information in the historical record, and described first The difference at the current time of timer is less than preset time on timestamp and the network node, then described in the network node The size that the corresponding relation that domain-name information, IP address information and the very first time of first server stab is stabbed according to the very first time Record is in the historical record;
The corresponding relation hair of the domain-name information of first server, IP address information and very first time stamp described in the network node Give other peer nodes in the peer-to-peer network.
2. according to the method described in claim 1, it is characterised in that also include:
The network node is with receiving in the peer-to-peer network domain-name information for the second server that other peer nodes are sent, IP Location information and the second timestamp;
If not storing domain-name information, the IP address information of the second server in the corresponding historical record of the network node With the corresponding relation of the second timestamp, then the domain-name information of second server described in the network node, IP address information and The corresponding relation of second timestamp is according to the big small records of second timestamp in the historical record.
3. method according to claim 1 or 2, it is characterised in that also include:
The network node generates domain name service table according to the historical record, and domain name agent list is remembered including the history Domain-name information and the corresponding IP address of domain name information in record.
4. method according to claim 3, it is characterised in that also include:
The network node receives the solicited message that client is sent, and the solicited message includes temporal information, the request letter Cease for the part of records in historical record described in acquisition request, the part record is the network node in the time Recorded after the time of message identification.
5. method according to claim 3, it is characterised in that also include:
The network node receives the solicited message that client is sent, and the solicited message is serviced for acquisition request domain name Table.
6. device is realized in a kind of domain name mapping, it is characterised in that including:
Receiving module, for receiving the domain-name information of the first server of first server transmission, IP address information and the One timestamp, wherein, the network node is the peer node in peer-to-peer network;
The correspondence of enquiry module, the domain name information that whether is stored with being recorded for query history and the IP address information is closed System;
Computing module, the difference for calculating the current time of timer on the very first time stamp and the network node, institute It is that the network node receives the domain-name information of the first server, IP address information and very first time stamp to state current time At the time of;
Logging modle, for being closed when the correspondence for not having to store domain name information and the IP address information in the historical record When the difference at the current time of timer is less than preset time in system, and very first time stamp and the network node, by institute State the corresponding relation of the domain-name information of first server, IP address information and very first time stamp according to the very first time stab it is big Small records are in the historical record;
Sending module, for the corresponding relation for stabbing the domain-name information of the first server, IP address information and the very first time It is sent to other peer nodes in the peer-to-peer network.
7. device is realized in domain name mapping according to claim 6, it is characterised in that the receiving module is additionally operable to receive institute State domain-name information, IP address information and the second timestamp of the second server of the peer node of other in peer-to-peer network transmission;
The logging modle, which is additionally operable to work as in the corresponding historical record of the network node, does not store the second server During the corresponding relation of domain-name information, IP address information and the second timestamp, by the domain-name information of the second server, IP address The corresponding relation of information and the second timestamp is according to the big small records of second timestamp in the historical record.
8. device is realized in the domain name mapping according to claim 6 or 7, it is characterised in that also included:
Generation module, for according to the historical record, generating domain name service table, domain name agent list is remembered including the history Domain-name information and the corresponding IP address of domain name information in record.
9. device is realized in domain name mapping according to claim 8, it is characterised in that the receiving module is additionally operable to receive visitor The solicited message that family end is sent, the solicited message includes temporal information, and the solicited message is used for history described in acquisition request Part of records in record, the part record is that the network node is recorded after the time that the temporal information is identified 's.
10. device is realized in domain name mapping according to claim 8, it is characterised in that the receiving module is additionally operable to receive The solicited message that client is sent, the solicited message is used for acquisition request domain name agent list.
CN201710157381.8A 2017-03-16 2017-03-16 Domain name mapping implementation method and device Pending CN106973125A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710157381.8A CN106973125A (en) 2017-03-16 2017-03-16 Domain name mapping implementation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710157381.8A CN106973125A (en) 2017-03-16 2017-03-16 Domain name mapping implementation method and device

Publications (1)

Publication Number Publication Date
CN106973125A true CN106973125A (en) 2017-07-21

Family

ID=59329656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710157381.8A Pending CN106973125A (en) 2017-03-16 2017-03-16 Domain name mapping implementation method and device

Country Status (1)

Country Link
CN (1) CN106973125A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108540583A (en) * 2018-01-30 2018-09-14 北京三快在线科技有限公司 Domain name delivery method and device in a kind of CDN system, electronic equipment
CN109347945A (en) * 2018-10-12 2019-02-15 北京天融信网络安全技术有限公司 A kind of method and apparatus of nslookup
CN109981806A (en) * 2017-12-28 2019-07-05 北京京东尚科信息技术有限公司 Domain name processing, register method and system, computer system
CN110019352A (en) * 2017-09-14 2019-07-16 北京京东尚科信息技术有限公司 Method and apparatus for storing data
CN110324426A (en) * 2019-07-09 2019-10-11 深圳市网心科技有限公司 A kind of data capture method, device and system
CN113225404A (en) * 2020-01-21 2021-08-06 上海云盾信息技术有限公司 Method and equipment for monitoring DNS configuration change to take effect

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110202669A1 (en) * 2008-08-11 2011-08-18 Shanghai Kelu Software Co., Ltd. Method for Network Domain Name Resolution and the Resolution Device Thereof
CN103856569A (en) * 2012-11-28 2014-06-11 方正宽带网络服务股份有限公司 Method and device for synchronizing domain name system resource information
CN103905572A (en) * 2012-12-26 2014-07-02 中国移动通信集团公司 Domain name resolution request processing method and device
CN105978697A (en) * 2016-07-25 2016-09-28 宁圣金融信息服务(上海)有限公司 Block chain domain name resolution method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110202669A1 (en) * 2008-08-11 2011-08-18 Shanghai Kelu Software Co., Ltd. Method for Network Domain Name Resolution and the Resolution Device Thereof
CN103856569A (en) * 2012-11-28 2014-06-11 方正宽带网络服务股份有限公司 Method and device for synchronizing domain name system resource information
CN103905572A (en) * 2012-12-26 2014-07-02 中国移动通信集团公司 Domain name resolution request processing method and device
CN105978697A (en) * 2016-07-25 2016-09-28 宁圣金融信息服务(上海)有限公司 Block chain domain name resolution method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110019352A (en) * 2017-09-14 2019-07-16 北京京东尚科信息技术有限公司 Method and apparatus for storing data
CN110019352B (en) * 2017-09-14 2021-09-03 北京京东尚科信息技术有限公司 Method and apparatus for storing data
CN109981806A (en) * 2017-12-28 2019-07-05 北京京东尚科信息技术有限公司 Domain name processing, register method and system, computer system
CN109981806B (en) * 2017-12-28 2022-07-05 北京京东尚科信息技术有限公司 Domain name processing and registering method and system, and computer system
CN108540583A (en) * 2018-01-30 2018-09-14 北京三快在线科技有限公司 Domain name delivery method and device in a kind of CDN system, electronic equipment
CN108540583B (en) * 2018-01-30 2022-02-25 北京三快在线科技有限公司 Domain name issuing method and device in CDN system and electronic equipment
CN109347945A (en) * 2018-10-12 2019-02-15 北京天融信网络安全技术有限公司 A kind of method and apparatus of nslookup
CN110324426A (en) * 2019-07-09 2019-10-11 深圳市网心科技有限公司 A kind of data capture method, device and system
CN110324426B (en) * 2019-07-09 2022-04-29 深圳市网心科技有限公司 Data acquisition method, device and system
CN113225404A (en) * 2020-01-21 2021-08-06 上海云盾信息技术有限公司 Method and equipment for monitoring DNS configuration change to take effect

Similar Documents

Publication Publication Date Title
CN106973125A (en) Domain name mapping implementation method and device
CN108064444B (en) Domain name resolution system based on block chain
CN103248726B (en) A kind of many reciprocity Internet of Things identification analytic method
CN105959433B (en) A kind of domain name analytic method and its domain name analysis system
CN101431539B (en) Domain name resolution method, system and apparatus
CN110061838A (en) A kind of the decentralization storage system and its realization, information retrieval method of DNS resource record
CN109040337B (en) Information query method, edge server and information query system
US10225231B2 (en) Method and server of remote information query
EP3311544A1 (en) Managing dynamic ip address assignments
CN104052736A (en) Systems and methods for pre-signing of dnssec enabled zones into record sets
CN109819068B (en) User terminal, block chain domain name resolution method thereof, computer equipment and computer readable storage medium
CN112468309B (en) Domain name management system based on intelligent contract
CN108566449A (en) Domain name mapping data managing method, system and storage system based on block chain
CN112468525B (en) Domain name management system based on block chain
CN111917896B (en) Credible domain name resolution method, system, electronic equipment and storage medium
CN106936945A (en) Distributed domain name analysis method and device
CN102594885A (en) Sensor network analyzing intercommunicating platform, sensor network intercommunicating method and system
CN107040618A (en) The domain names service system and method for a kind of decentralization
JP2002344486A5 (en)
US20150106494A1 (en) Characterization of domain names based on changes of authoritative name servers
CN102572011A (en) Method, device and system for processing data
CN106687943A (en) Systems and methods to organize a computing system having multiple computers, distribute computing tasks among the computers, and maintain data integrity and redundancy in the computing system
CN104253796A (en) Domain name system fast region identification method based on network address binding region levels
CN102075355B (en) Log system and using method thereof
CN104980493B (en) A kind of discovery method of servicing based on active cache algorithm

Legal Events

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

Application publication date: 20170721

RJ01 Rejection of invention patent application after publication