CN104079438B - DNS domain name management system and method - Google Patents

DNS domain name management system and method Download PDF

Info

Publication number
CN104079438B
CN104079438B CN201410345379.XA CN201410345379A CN104079438B CN 104079438 B CN104079438 B CN 104079438B CN 201410345379 A CN201410345379 A CN 201410345379A CN 104079438 B CN104079438 B CN 104079438B
Authority
CN
China
Prior art keywords
domain name
dns
server
master servers
cluster
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.)
Active
Application number
CN201410345379.XA
Other languages
Chinese (zh)
Other versions
CN104079438A (en
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201410345379.XA priority Critical patent/CN104079438B/en
Publication of CN104079438A publication Critical patent/CN104079438A/en
Application granted granted Critical
Publication of CN104079438B publication Critical patent/CN104079438B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of DNS domain name management system and method, wherein the system includes task performer, DNS master servers cluster and DNS from server cluster, wherein, task performer is used to receive domain name operation task, and sends the request of domain name operation task according to each DNS master server of the domain name operation task into DNS master server clusters;DNS master servers cluster is used to be updated domain name record according to the request of domain name operation task, and records more new command into domain name according to the update section of domain name is mitogenetic, and domain name is recorded into more new command and sent to DNS from each DNS in server cluster from server;DNS is used to be updated according to domain name record more new command from server cluster, and provides DNS name resolution service.The system of the embodiment of the present invention enhances domain name supervising and the safety and reliability of parsing while ensureing that domain name operating process efficiently performs, and improves the synchronous efficiency of master/slave server.

Description

DNS domain name management system and method
Technical field
The present invention relates to Internet technical field, more particularly to a kind of DNS (Domain Name System, domain name system) DNS management system and method.
Background technology
DNS is the abbreviation of domain name system, is a kernel service of internet, and it is used as can be by domain name and IP address phase The distributed data base mutually mapped, can make one more easily to access internet, and without spending, remember can be straight by machine Connect the IP number strings of reading.By host name, finally giving the process of IP address corresponding to the host name, to be called domain name mapping (or main Machine name parses).In view of the importance of DNS domain name management, there is also the implementation of many DNS domain names operation at present.
In correlation technique, application number " 201010521229.1 " is entitled in Chinese invention patent application prospectus " a kind of domain name management method " discloses a kind of domain name management method, and receiving user by web interface asks, and please by the operation Ask and be converted to the operational order of BIND configuration files to update BIND configuration files, the invention mainly alleviates staff Labor intensity.Application number " 200910077415.8 " entitled " DDNS in Chinese invention patent application prospectus Management system and method " discloses a kind of dynamic domain name management system and method, passes through remote management subsystem, dynamic domain name Three system, domain name supervising subsystem modules realize the dynamic management of domain name, simplify the structure of DDNS systems, reduce DDNS systems The development cost of system.Application number " 200910000725.X " is entitled in Chinese invention patent application prospectus " realizes dynamic State domain name more new method and apparatus " discloses a kind of method and apparatus for realizing dynamic domain name update, passes through gateway management system Unite to know that gateway device or IP address change, home domain name storage table is changed according to current situation of change, then by net Management system is closed to send current situation of change information to domain name server system dns server.
But the problem of existing, is:(1) change to domain name record is operated for single DNS name server, i.e., Or DNS name server is single, or be existing for cold standby relation, when so causing DNS name server failure, meeting There is the domain name operation failure problem of long period, so as to cause system disaster tolerance ability poor;(2) by directly changing DNS domain The ZONE files (file that domain name configuration is preserved on a kind of DNS) of name server come more new domain name record, this mode security And poor reliability, and domain name renewal efficiency is low.
The content of the invention
The purpose of the present invention is intended at least solve one of above-mentioned technical problem to a certain extent.
Therefore, it is an object of the present invention to propose a kind of DNS domain name management system.The system is ensureing domain name operation During while efficiently perform, enhance domain name supervising and the safety and reliability of parsing, and improve master/slave service The synchronous efficiency of device.
It is another object of the present invention to propose a kind of DNS domain name management method.
To achieve these goals, the DNS domain name management system of one aspect of the present invention embodiment, including:Task performer, DNS master servers cluster and DNS include at least one DNS master servers from server cluster, the DNS master servers cluster, The DNS includes at least one DNS from server from server cluster, wherein, task performer, appoint for receiving domain name operation Business, and domain name operation is sent according to each DNS master server of the domain name operation task into the DNS master servers cluster Task requests;The DNS master servers cluster, for being updated according to the request of domain name operation task to domain name record, And it is mitogenetic into domain name record more new command according to the update section of domain name, and domain name is recorded into more new command and sent to described DNS is from each DNS in server cluster from server;And the DNS is from server cluster, for being remembered according to domain name Record more new command is updated, and provides DNS name resolution service.
The DNS domain name management system of the embodiment of the present invention, domain name operation task is received by task performer, and according to this Each DNS master server of the domain name operation task into DNS master server clusters sends the request of domain name operation task, the main clothes of DNS Business device cluster is updated according to the request to domain name record, and records more new command according to the renewal part producing domain name of domain name And send it to DNS and carried out from each DNS in server cluster from server, DNS from server cluster according to the instruction Renewal, and DNS name resolution service is provided, so as to ensure that the efficient implementation capacity of domain name operating process, while enhance domain name Management and the safety and reliability of parsing, and the synchronous efficiency of master/slave server is improved, improve DNS name resolution The redundancy ability of system.
To achieve these goals, the DNS domain name management method of another aspect of the present invention embodiment, including:Tasks carrying Device receives domain name operation task, and each DNS master servers according to domain name operation task into DNS master server clusters Send the request of domain name operation task;The DNS master servers cluster according to domain name operation task request domain name is recorded into Row renewal, and more new command is recorded according to the renewal part producing domain name of domain name, and domain name is recorded into more new command and sent To DNS from each DNS in server cluster from server;And the DNS records from server cluster according to domain name More new command is updated, and provides DNS name resolution service.
The DNS domain name management method of the embodiment of the present invention, domain name operation task is received by task performer, and according to this Each DNS master server of the domain name operation task into DNS master server clusters sends the request of domain name operation task, the main clothes of DNS Business device cluster is updated according to the request to domain name record, and records more new command according to the renewal part producing domain name of domain name And send it to DNS and carried out from each DNS in server cluster from server, DNS from server cluster according to the instruction Renewal, and DNS name resolution service is provided, so as to ensure that the efficient implementation capacity of domain name operating process, while enhance domain name Management and the safety and reliability of parsing, and the synchronous efficiency of master/slave server is improved, improve DNS name resolution The redundancy ability of system.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Substantially and it is readily appreciated that, wherein:
Fig. 1 is the structured flowchart of DNS domain name management system according to an embodiment of the invention;
Fig. 2 is the schematic diagram of DNS domain name management system according to embodiments of the present invention;
Fig. 3 is the flow chart of DNS domain name management method according to an embodiment of the invention.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings DNS domain name management system and method according to embodiments of the present invention are described.
The present invention proposes a kind of DNS domain name management system, including task performer, DNS master servers cluster and DNS from Server cluster, DNS master servers cluster include at least one DNS master servers, and DNS includes at least one from server cluster DNS from server, wherein, task performer, for receiving domain name operation task, and according to domain name operation task to the main clothes of DNS The each DNS master servers being engaged in device cluster send the request of domain name operation task;DNS master server clusters, for according to domain name Operation task request is updated to domain name record, and mitogenetic into domain name record more new command according to the update section of domain name, and will Domain name record more new command is sent to DNS from each DNS in server cluster from server;And DNS is from server cluster, DNS is updated from the home domain name record in server cluster for recording more new command according to domain name, and DNS domain is provided Name analysis service.
Fig. 1 is the structured flowchart of DNS domain name management system according to an embodiment of the invention.Fig. 2 is according to the present invention The schematic diagram of the DNS domain name management system of embodiment.
As depicted in figs. 1 and 2, the DNS domain name management system can include task performer 10, DNS master server clusters 20 and DNS is from server cluster 30.Wherein, in an embodiment of the present invention, DNS master servers cluster 20 may include at least one DNS master servers 21.In addition, DNS may include at least one DNS from server 31 from server cluster 30.It should be noted that In an embodiment of the present invention, it is at least one to can be regarded as one or more.
Specifically, task performer 10 can be used for receiving domain name operation task, and according to domain name operation task to the main clothes of DNS The each DNS master servers 21 being engaged in device cluster 20 send the request of domain name operation task.Wherein, in one embodiment of the present of invention In, domain name operation task may include the operation task performed to normal DNS master servers 21 and the DNS master servers to failure The 21 simultaneously operating tasks performed.
DNS master servers cluster 20 can be used for being updated domain name record according to the request of domain name operation task, and according to The update section of domain name is mitogenetic to record more new command into domain name, and domain name is recorded into more new command and sent to DNS from server cluster Each DNS in 30 is from server 31.More specifically, DNS master servers cluster 20 can receive the domain of the transmission of task performer 10 Name operation task request, and asked according to the domain name operation task to realize the renewal of domain name record, e.g., increase and/or delete, And domain name can be recorded to renewal some notifications to DNS from server cluster 30.For example, module of increasing income can be used Dnspython DDNS technologies carry out domain name record renewal to each DNS master servers 21 in DNS master servers cluster 20, Realize the dynamic increment renewal of domain name operation.Wherein, to belonging to the main services of all DNS in same DNS master servers cluster 20 Device 21 can use successively poll to carry out domain name renewal.
Wherein, in an embodiment of the present invention, DNS master servers cluster 20 and DNS are from the number between server cluster 30 According to the synchronous domain name record for using increment synchronization mode, i.e., only synchronously increasing and/or delete.
DNS can be used for recording more new command to DNS from the sheet in server cluster 30 according to domain name from server cluster 30 Region name record is updated, and provides DNS name resolution service.More specifically, DNS can receive DNS from server cluster 30 Master server cluster 20 send domain name record more new command, and according to the domain name record more new command home domain name is recorded into Row renewal, to realize the renewal of domain name record, while can be automatically synchronous more to DNS master servers cluster 20 at interval of certain time New domain name records, and provides a user DNS name resolution service.Wherein, DNS is from each DNS in server cluster 30 from clothes A DNS master server 21 of the business device 31 every time only into DNS master servers cluster 20 is synchronous once, and without repeating together Step.
It should be noted that the process that DNS updates from server cluster 30 to DNS master servers cluster 20 can use increment The mode of renewal, i.e., only renewal addition and/or the domain name deleted record, and can so reduce whole network data simultaneously operating amount, carry High synchronous efficiency.
Further, in one embodiment of the invention, as depicted in figs. 1 and 2, the DNS domain name management system may be used also With including database server 40.Specifically, database server 40 can be used for preserving domain name operation task and domain name record, and Domain name operation task is provided after fault recovery in DNS master servers 21, and is operated in DNS master servers 21 for domain name Normal domain name is provided during task operating exception to DNS master servers 21 to record.
Specifically, database server 40 can preserve domain name operation task and domain name record, ensure in DNS master servers After 21 fault recoveries, there is provided the domain name operation task during failure is with the domain of DNS master servers 21 for recovering after synchronous failure Name record, and when DNS master servers 21 are directed to domain name operation task operation exception rollback, provided just to DNS master servers 21 Normal domain name record.
It should be noted that in one embodiment of the invention, database server 40 can also be task performer 10 Preserve the state of each DNS master servers 21 in DNS master servers cluster 20.In addition, in one embodiment of the invention, appoint Business actuator 10 can be additionally used according to the return state of the domain name operation task of each DNS master servers 21 with corresponding to safeguarding The state of DNS master servers 21.
Wherein, the state of DNS master servers 21 may include normal condition (Good), malfunction (Bad), alarm condition (Warning) state (Repaired) and down status (Offline) etc., are recovered.That is, DNS master servers 21 are in During normal condition (Good), task performer 10 can carry out domain name operation to server;DNS master servers 21 are in failure shape During state (Bad), task performer 10 can not carry out domain name operation, it is necessary to which manpower intervention recovers to server;The main services of DNS Device 21 is in alarm condition (Warning), i.e. DNS master servers 21 are not due to when network jitter connects temporarily, tasks carrying Device 10 can retry automatically when can carry out domain name operation to the server in the state;DNS master servers 21, which are in, to be recovered State (Repaired), i.e. original place in the DNS master servers 21 of malfunction, manpower intervention recover after state when, task is held Row device 10 can be to the domain name operation task during the server sync device failure in the state;DNS master servers 21 are in down During wire state (Offline), represent that DNS master servers 21 are offline.
Further, in one embodiment of the invention, as depicted in figs. 1 and 2, the DNS domain name management system may be used also Including domain name record consistency desired result device 50.Specifically, domain name record consistency desired result device 50 can be used for periodically to the main services of DNS Domain name record on each DNS master servers 21 in device cluster 20 carries out consistency desired result.
More specifically, domain name record consistency desired result device 50 can timing in the domain name operation task less period from data Current all domain name records are obtained in storehouse server 40, while again from the main services of each DNS in DNS master servers cluster 20 All domain name records are obtained on device 21, by the domain name record that will be obtained from each DNS master servers 21 with from database The domain name record obtained in server 40 is compared, to judge the record of the domain name on each DNS master servers 21 and database Whether the domain name record in server 40 is consistent, and whether the domain name record on each DNS master servers 21 is consistent, when differing During cause, it can be investigated by the mode alert notice DNS keepers such as mail or short message with manpower intervention.Thus, the main clothes of DNS can be ensured The accuracy for the domain name record being engaged on device 21.
Further, in one embodiment of the invention, as Fig. 1 and Fig. 2, the DNS domain name management system can also wrap Include domain name record restorer 60.Specifically, domain name record restorer 60 can be used for occurring sternly at least one DNS master servers 21 When recovering after weight failure again, newest domain name record is imported from database server 40.
More specifically, when catastrophe failure occur at least one DNS master servers 21, (e.g., disk failure etc. needs to lead again Enter the catastrophe failure of domain name record) when machine recovers again afterwards, can be from the derived field name log file of database server 40 simultaneously Uploaded on the DNS master servers 21 after fault recovery, and update the data the simultaneously operating task data of storehouse server 40 The simultaneously operating task status for the DNS master servers 21 being directed in storehouse after the fault recovery, that is, identify it and completed the hand of task It is dynamic synchronous, it is not necessary to carry out automatic synchronization.Thus, the domain name record on the DNS master servers 21 after fault recovery has been ensured It is newest, improves domain name supervising and the safety and reliability of parsing.
Further, in one embodiment of the invention, task performer 10 can be additionally used in DNS master server clusters During the domain name operation task operation failure of a DNS master server 21 in 20, to remaining in DNS master servers cluster 20 DNS master servers 21 carry out domain name record rollback.Specifically, when a DNS master server in DNS master servers cluster 20 During 21 domain name operation task operation failure, task performer 10 first can obtain last normal from database server 40 Domain name records and generates domain name log file, afterwards can send domain name log file every into DNS master servers cluster 20 Individual DNS master servers 21, and heavily loaded domain name log file.Thus, the redundancy ability of DNS name resolution system is improved.
It should be appreciated that only work as some normal DNS master server to belonging to same DNS master servers cluster 20 21 carry out task operating, and go out the result of current task operation failure itself, rather than during DNS 21 failures of master server, just to belonging to Other DNS master servers 21 in current DNS master servers cluster 20 carry out rolling back action, i.e., are obtained from database server 40 Take last time normal domain name to record and generate domain name log file, uploaded to all DNS masters for having carried out this operation Server 21, and make its heavily loaded domain name log file.
The DNS domain name management system of the embodiment of the present invention, domain name operation task is received by task performer, and according to this Each DNS master server of the domain name operation task into DNS master server clusters sends the request of domain name operation task, the main clothes of DNS Business device cluster is updated according to the request to domain name record, and records more new command according to the renewal part producing domain name of domain name And send it to DNS and carried out from each DNS in server cluster from server, DNS from server cluster according to the instruction Renewal, and DNS name resolution service is provided, so as to ensure that the efficient implementation capacity of domain name operating process, while enhance domain name Management and the safety and reliability of parsing, and the synchronous efficiency of master/slave server is improved, improve DNS name resolution The redundancy ability of system.
In addition, the invention also provides a kind of DNS domain name management method, this method includes:Task performer receives domain name Operation task, and domain name operation is sent according to each DNS master server of the domain name operation task into DNS master server clusters and appointed Business request;DNS master servers cluster asks to be updated domain name record according to domain name operation task, and according to the renewal of domain name Part producing domain name records more new command, and domain name is recorded into more new command and sent to DNS from each DNS in server cluster From server;And DNS records more new command to DNS from the home domain name in server cluster from server cluster according to domain name Record is updated, and provides DNS name resolution service.
Fig. 3 is the flow chart of DNS domain name management method according to an embodiment of the invention.
As shown in figure 3, the DNS domain name management method can include:
S301, task performer receive domain name operation task, and according to domain name operation task into DNS master server clusters Each DNS master servers send the request of domain name operation task.
For example, domain name operation task can be put into remote queue by external equipment, and task performer can pass through network Interface obtains the domain name operation task in remote queue.The reception for realizing domain name operation task by remote queue ensure that equipment Between relative independentability, while add external equipment addition domain name operation task scalability.Wherein, the present invention's In one embodiment, domain name operation task may include the operation task performed to normal DNS master servers and the DNS to failure The simultaneously operating task that master server performs.
S302, DNS master server cluster ask to be updated domain name record according to domain name operation task, and according to domain name Renewal part producing domain name record more new command, and by domain name record more new command send to DNS from server cluster Each DNS is from server.
Specifically, DNS master servers cluster can receive the domain name operation task request of task performer transmission, and according to this The request of domain name operation task is to realize the renewal of domain name record, e.g., increase and/or deletion, and and domain name can be recorded to renewal part Notify to DNS from server cluster.For example, the DDNS technologies for the module dnspython that increases income can be used to DNS master servers Each DNS master servers in cluster carry out domain name record renewal, realize the dynamic increment renewal of domain name operation.Wherein, to category All DNS master servers in same DNS master servers cluster can use successively poll to carry out domain name renewal.
Wherein, in an embodiment of the present invention, DNS master servers cluster and DNS are same from the data between server cluster Step uses increment synchronization mode, i.e., the domain name record for only synchronously increasing and/or deleting.
S303, DNS record more new command to DNS from the home domain name in server cluster from server cluster according to domain name Record is updated, and provides DNS name resolution service.
Specifically, DNS can receive the domain name record more new command of DNS master server collection pocket transmissions from server cluster, and More new command is recorded according to the domain name to be updated DNS from the home domain name record in server cluster, to realize that domain name is remembered The renewal of record, while can be recorded automatically at interval of certain time to DNS master servers cluster synchronization more new domain name, and carried to user For DNS name resolution service.Wherein, DNS is each only to DNS master servers from each DNS in server cluster from server A DNS master server in cluster is synchronous once, and synchronous without repeating.
It should be noted that the process that DNS updates from server cluster to DNS master servers cluster can use incremental update Mode, i.e. only renewal addition and/or the domain name record deleted can so reduce whole network data simultaneously operating amount, improve same Walk efficiency.
Further, in one embodiment of the invention, the DNS domain name management method can also include:Preserve domain name Operation task and domain name record;After DNS master servers are from fault recovery, there is provided domain name operation task;And when the main clothes of DNS When business device is directed to domain name operation task operation exception, provides normal domain name to DNS master servers and record.
For example, the domain name operation task got from remote queue can be sent to database clothes by task performer Business device, database server can preserve domain name operation task and domain name record, to ensure after DNS master server fault recoveries, Database server failure can be provided during domain name operation task with the DNS master server domain names for recovering after synchronous failure Record, and when DNS master servers are directed to domain name operation task operation exception rollback, normal domain is provided to DNS master servers Name record.
It should be appreciated that the domain name operation task in remote queue is external offer operation task interface, database server In domain name operation task be task performer internal task operation interface, task performer received domain name operation task it Afterwards, subsequently the task of DNS master servers operation is obtained from database server.
It should be noted that in one embodiment of the invention, database server can also be that task performer preserves The state of each DNS master servers in DNS master server clusters.In addition, in one embodiment of the invention, the DNS domain Name management method can also include:According to the return state of the domain name operation task of each DNS master servers with corresponding to safeguarding The state of DNS master servers.
Wherein, the state of DNS master servers may include normal condition (Good), malfunction (Bad), alarm condition (Warning) state (Repaired) and down status (Offline) etc., are recovered.That is, DNS master servers are in just During normal state (Good), task performer can carry out domain name operation to server;DNS master servers are in malfunction (Bad) when, task performer can not carry out domain name operation, it is necessary to which manpower intervention recovers to server;At DNS master servers In alarm condition (Warning), i.e., DNS master servers are because when network jitter does not connect temporarily, task performer can be to place It can be retried automatically when the server of the state carries out domain name operation;DNS master servers are in recovery state (Repaired), i.e. original place is in the DNS master servers of malfunction, manpower intervention recover after state when, task performer can To the domain name operation task during the server sync device failure in the state;DNS master servers are in down status (Offline) when, represent that DNS master servers are offline.
For example, the domain name in DNS master servers cluster according to the request of domain name operation task to each DNS master servers When record is updated, operating process can return to execution status of task, and task performer can be according to the main services of condition adjudgement DNS Normal, failure, network jitter and domain name operation task perform the state such as unsuccessfully in itself during device.For example, performed for normal As a result, then it represents that domain name renewal of this operation task to this DNS master servers operates successfully;For the implementing result of failure, It is failure then to update state of the corresponding DNS master servers in database server, and the mode such as mail and short message notifies DNS to manage Reason person needs manpower intervention to repair;For failure result caused by network jitter, then retried after intervals, such as Success is all not carried out after the certain number of retries of fruit, then it is assumed that corresponding DNS master servers failure, subsequent process are with implementing result The state of failure is identical;Perform the implementing result of failure in itself for domain name operation task, then illustrate DNS master servers to being grasped Make task operating failure, then notify DNS keepers to need manpower intervention to investigate.
Further, in one embodiment of the invention, the DNS domain name management method can also include:Periodically to DNS Domain name record on each DNS master servers in master server cluster carries out consistency desired result.
Specifically, regularly can be obtained in the domain name operation task less period from database server current all Domain name records, while obtains all domain name records from each DNS master servers in DNS master server clusters again, passes through By the domain name obtained from each DNS master servers record compared with the domain name record obtained from database server, To judge whether the record of the domain name on each DNS master servers and the domain name record in database server are consistent, and each Whether the domain name record on DNS master servers is consistent, when inconsistent, can pass through the mode alert notice such as mail or short message DNS Keeper is investigated with manpower intervention.Thus, the accuracy of the domain name record on DNS master servers has been ensured.
Further, in one embodiment of the invention, the DNS domain name management method can also include:When at least one When individual DNS master servers occur after catastrophe failure and recovered, newest domain name record is imported.
Specifically, when catastrophe failure occur at least one DNS master servers, (e.g., disk failure etc. needs to import domain again The catastrophe failure of name record) when machine recovers again afterwards, can from database server derived field name log file and by its Upload on the DNS master servers after fault recovery, and update the data and be directed in the simultaneously operating assignment database of storehouse server The simultaneously operating task status of DNS master servers after the fault recovery, that is, identify it and completed the manual synchronization of task, be not required to To carry out automatic synchronization.Thus, newest, raising when having ensured the domain name record on the DNS master servers after fault recovery Domain name supervising and the safety and reliability of parsing.
Further, in one embodiment of the invention, the DNS domain name management method can also include:When the main clothes of DNS During the domain name operation task operation failure for a DNS master server being engaged in device cluster, to remaining in DNS master server clusters DNS master servers carry out domain name record rollback.Specifically, when the domain of a DNS master server in DNS master server clusters During name operation task operation failure, it can first obtain last normal domain name and record and generate domain name log file.Afterwards, can incite somebody to action Domain name log file sends each DNS master servers into DNS master server clusters, and heavily loaded domain name log file.Thus, Improve the redundancy ability of DNS name resolution system.
It should be appreciated that only when some normal DNS master server to belonging to same DNS master servers cluster enters Row task operating, and go out the result of current task operation failure itself, rather than during DNS master server failures, just to belonging to current DNS Other DNS master servers in master server cluster carry out rolling back action, i.e., it is normal that last time is obtained from database server Domain name records and generates domain name log file, is uploaded to all DNS master servers for having carried out this operation, and makes it Heavily loaded domain name log file.
The DNS domain name management method of the embodiment of the present invention, domain name operation task is received by task performer, and according to this Each DNS master server of the domain name operation task into DNS master server clusters sends the request of domain name operation task, the main clothes of DNS Business device cluster is updated according to the request to domain name record, and records more new command according to the renewal part producing domain name of domain name And send it to DNS and carried out from each DNS in server cluster from server, DNS from server cluster according to the instruction Renewal, and DNS name resolution service is provided, so as to ensure that the efficient implementation capacity of domain name operating process, while enhance domain name Management and the safety and reliability of parsing, and the synchronous efficiency of master/slave server is improved, improve DNS name resolution The redundancy ability of system.
Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include Module, fragment or the portion of the code of the executable instruction of one or more the step of being used to realize specific logical function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, have suitable combinational logic gate circuit application specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method carries Suddenly it is that by program the hardware of correlation can be instructed to complete, described program can be stored in a kind of computer-readable storage medium In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can also That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, can also be realized in the form of software function module.The integrated module is such as Fruit is realized in the form of software function module and as independent production marketing or in use, can also be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not Identical embodiment or example must be directed to.Moreover, specific features, structure, material or the feature of description can be with office Combined in an appropriate manner in one or more embodiments or example.In addition, in the case of not conflicting, the skill of this area Art personnel can be tied the different embodiments or example and the feature of different embodiments or example described in this specification Close and combine.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment is example Property, it is impossible to limitation of the present invention is interpreted as, one of ordinary skill in the art within the scope of the invention can be to above-mentioned Embodiment is changed, changed, replacing and modification.

Claims (14)

1. a kind of DNS domain name management system, it is characterised in that including task performer, DNS master servers cluster and DNS from clothes Be engaged in device cluster, the DNS master servers cluster includes at least one DNS master servers, the DNS from server cluster including to Lack a DNS from server, wherein,
Task performer, for receiving domain name operation task, and according to domain name operation task to the DNS master servers collection Each DNS master servers in group send the request of domain name operation task;
The DNS master servers cluster, for being updated according to the request of domain name operation task to domain name record, and according to The update section of domain name is mitogenetic to record more new command into domain name, and domain name is recorded into more new command and sent to the DNS from clothes The each DNS being engaged in device cluster is from server;And
The DNS is from server cluster, for recording more new command to the DNS from server cluster according to domain name Home domain name record is updated, and provides DNS name resolution service;
Wherein, the task performer is additionally operable to the return state of the domain name operation task according to each DNS master servers With the state of DNS master servers corresponding to maintenance.
2. DNS domain name management system as claimed in claim 1, it is characterised in that also include:
Database server, for preserving domain name operation task and domain name record, and in the DNS master servers from failure Domain name operation task is provided after recovering, and it is different for the operation of domain name operation task in the DNS master servers DNS master servers described in Chang Shixiang provide normal domain name record.
3. DNS domain name management system as claimed in claim 1, it is characterised in that also include:
Domain name records consistency desired result device, for periodically on each DNS master servers in the DNS master servers cluster Domain name record carries out consistency desired result.
4. DNS domain name management system as claimed in claim 1, it is characterised in that also include:
Domain name record restorer, for after there is catastrophe failure at least one DNS master servers again recover when, from data Newest domain name record is imported in the server of storehouse.
5. DNS domain name management system as claimed in claim 1, it is characterised in that the task performer is additionally operable to described During the domain name operation task operation failure of a DNS master server in DNS master server clusters, to the main clothes of the DNS Remaining DNS master servers progress domain name in device cluster of being engaged in records rollback.
6. DNS domain name management system as claimed in claim 5, it is characterised in that the task performer is specifically used for:From number Record according to last normally domain name is obtained in the server of storehouse and generate domain name log file, and domain name log file is sent out The each DNS master servers delivered in the DNS master servers cluster, and heavily loaded domain name log file.
7. DNS domain name management system as claimed in claim 1, it is characterised in that the DNS master servers cluster with it is described DNS uses increment synchronization mode from the data syn-chronization between server cluster.
A kind of 8. DNS domain name management method, it is characterised in that including:
Task performer receives domain name operation task, and every into DNS master server clusters according to domain name operation task Individual DNS master servers send the request of domain name operation task;
The DNS master servers cluster asks to be updated domain name record according to domain name operation task, and according to domain name Update section it is mitogenetic record more new command into domain name, and domain name is recorded into more new command and sent to DNS from server cluster In each DNS from server;
The DNS records more new command to the DNS from the local in server cluster from server cluster according to domain name Domain name record is updated, and provides DNS name resolution service;
The task performer is according to the return state of the domain name operation task of each DNS master servers with corresponding to safeguarding The state of DNS master servers.
9. DNS domain name management method as claimed in claim 8, it is characterised in that also include:
Preserve domain name operation task and domain name record;
After the DNS master servers are from fault recovery, there is provided domain name operation task;And
When the DNS master servers are directed to domain name operation task operation exception, provided to the DNS master servers normal Domain name record.
10. DNS domain name management method as claimed in claim 8, it is characterised in that also include:
Consistency desired result periodically is carried out to the domain name record on each DNS master servers in the DNS master servers cluster.
11. DNS domain name management method as claimed in claim 8, it is characterised in that also include:
When recovering after catastrophe failure occur at least one DNS master servers again, newest domain name record is imported.
12. DNS domain name management method as claimed in claim 8, it is characterised in that also include:
When the domain name operation task operation failure of a DNS master server in the DNS master servers cluster, to institute State remaining DNS master servers in DNS master server clusters and carry out domain name record rollback.
13. DNS domain name management method as claimed in claim 12, it is characterised in that remained in the master server cluster to DNS Remaining DNS master servers carry out domain name record rollback and specifically included:
Last normal domain name is obtained to record and generate domain name log file;
Domain name log file is sent into each DNS master servers into the DNS master servers cluster, and described in heavy duty Domain name log file.
14. DNS domain name management method as claimed in claim 8, it is characterised in that the DNS master servers cluster with it is described DNS uses increment synchronization mode from the data syn-chronization between server cluster.
CN201410345379.XA 2014-07-18 2014-07-18 DNS domain name management system and method Active CN104079438B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410345379.XA CN104079438B (en) 2014-07-18 2014-07-18 DNS domain name management system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410345379.XA CN104079438B (en) 2014-07-18 2014-07-18 DNS domain name management system and method

Publications (2)

Publication Number Publication Date
CN104079438A CN104079438A (en) 2014-10-01
CN104079438B true CN104079438B (en) 2018-01-09

Family

ID=51600494

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410345379.XA Active CN104079438B (en) 2014-07-18 2014-07-18 DNS domain name management system and method

Country Status (1)

Country Link
CN (1) CN104079438B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484713A (en) * 2015-08-27 2017-03-08 中国石油化工股份有限公司 A kind of based on service-oriented Distributed Request Processing system
US10599632B2 (en) * 2016-04-28 2020-03-24 Afilias Plc Domain name registration and management
CN110943852B (en) * 2018-09-25 2022-08-02 厦门白山耘科技有限公司 Device and method for configuring DNS (Domain name Server), DNS and method for updating configuration of DNS
CN109547585A (en) * 2019-01-14 2019-03-29 中国雄安集团数字城市科技有限公司 A method of based on being switched fast for edge calculations cloud
CN110278290A (en) * 2019-06-12 2019-09-24 网宿科技股份有限公司 A kind of method and device of domain name configuration deployment management
CN112311904A (en) * 2019-07-25 2021-02-02 北京中关村科金技术有限公司 Method, device, storage medium and domain name management system for updating domain name record
CN110730250B (en) * 2019-09-06 2022-10-14 北京小米移动软件有限公司 Information processing method and device, service system and storage medium
CN115517009B (en) * 2020-05-19 2023-10-13 深圳市欢太科技有限公司 Cluster management method, cluster management device, storage medium and electronic equipment
CN116389411B (en) * 2023-06-07 2023-08-18 阿里巴巴(中国)有限公司 Domain name data processing method, device and equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6332158B1 (en) * 1998-12-03 2001-12-18 Chris Risley Domain name system lookup allowing intelligent correction of searches and presentation of auxiliary information
CN103685585B (en) * 2012-09-07 2016-11-23 中国科学院计算机网络信息中心 A kind of highly reliable DNS data update method and system
CN103259866B (en) * 2013-05-23 2016-01-27 中国科学院计算机网络信息中心 A kind of method and system of DNS zone file multi-node transmission
CN103905531A (en) * 2014-03-14 2014-07-02 浪潮电子信息产业股份有限公司 Method for converting load balancing among nodes in cluster storage system

Also Published As

Publication number Publication date
CN104079438A (en) 2014-10-01

Similar Documents

Publication Publication Date Title
CN104079438B (en) DNS domain name management system and method
US10944628B2 (en) Network operation support system and network device management method
CN102693324B (en) Distributed database synchronization system, synchronization method and node management method
JP3983138B2 (en) Failure information collection program and failure information collection device
CN103207867B (en) It handles the method for data block, initiate the method and node of recovery operation
CN104252485B (en) A kind of database management platform
CN103699063B (en) The harvester of off-line data and method in a kind of Manufacturing Executive System MES
CN101661408A (en) Distributed real-time data replication synchronizing method
CN107015885A (en) Service providing method, system and configuration center when primary standby data storehouse switches
US20100088197A1 (en) Systems and methods for generating remote system inventory capable of differential update reports
CN105824846B (en) Data migration method and device
CN101706805A (en) Method and system for storing object
CN101594256A (en) Disaster recovery method, device and system
KR20140051173A (en) Data analysis system
CN105955836A (en) Cold-hot backup automatic walkthrough multifunction system
CN108762984B (en) Method and device for continuous data backup
US9009533B2 (en) Home/building fault analysis system using resource connection map log and method thereof
CN109522316A (en) Log processing method, device, equipment and storage medium
CN104202385A (en) Data backup and updating method of distributed file system
CN106850761A (en) Journal file storage method and device
CN108228755A (en) The data of MySQL database based on daily record analytic technique to Hadoop platform synchronize clone method
CN101127640B (en) A method for improving data synchronization efficiency via the incremental mode
CN109284294A (en) Acquire method and device, the storage medium, processor of data
CN111966467A (en) Method and device for disaster recovery based on kubernetes container platform
CN106487852B (en) Method, device, terminal equipment and system for realizing client file synchronization

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant