CN104079438A - DNS (domain name sever) domain name management system and method - Google Patents

DNS (domain name sever) domain name management system and method Download PDF

Info

Publication number
CN104079438A
CN104079438A CN201410345379.XA CN201410345379A CN104079438A CN 104079438 A CN104079438 A CN 104079438A CN 201410345379 A CN201410345379 A CN 201410345379A CN 104079438 A CN104079438 A CN 104079438A
Authority
CN
China
Prior art keywords
dns
domain name
master server
server cluster
record
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410345379.XA
Other languages
Chinese (zh)
Other versions
CN104079438B (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 DNS (domain name sever) domain name management system and method, wherein the system comprises a task actuator, a DNS main server cluster and a DNS sub-server cluster; the task actuator is used for receiving domain name operating task; domain name operating task requirements are sent to all DNS main servers from DNS main server cluster according to the domain name operating task; the DNS main server cluster is used for updating domain name records according to the domain name operating task requirements and generates domain name record updating commands according to the updated part; the domain name record updating commands are sent to all DNS sub-servers in the DNS sub-server cluster; the DNS sub-server cluster is used for updating according to the domain name record updating commands and providing DNS domain name analyzing service. According to the system provided by the embodiment of the invention, the efficient execution in the domain name operating process is guaranteed and the security and reliability of the domain name management and analysis are enhanced simultaneously and the synchronous efficiency of the main servers or the sub-servers is improved.

Description

DNS DNS management system and method
Technical field
The present invention relates to Internet technical field, relate in particular 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, it is a kernel service of internet, it,, as a distributed data base domain name and IP address can being shone upon mutually, can make people access more easily the Internet, remembers the IP string that can directly be read by machine and do not spend.By host name, the process that finally obtains IP address corresponding to this host name is called domain name mapping (or hostname resolution).In view of the importance of DNS domain name supervising, also there is the implementation of many DNS domain name operations at present.
In correlation technique, application number in Chinese invention patent application prospectus " 201010521229.1 " name is called " a kind of domain name management method " and discloses a kind of domain name management method, receive user's request by web interface, and this operation requests is converted to the operational order of BIND configuration file in order to upgrade BIND configuration file, this invention has mainly alleviated staff's labour intensity.Application number in Chinese invention patent application prospectus " 200910077415.8 " name is called " dynamic domain name management system and method " and discloses a kind of dynamic domain name management system and method, realize the dynamic management of domain name by telemanagement subsystem, DDNS subsystem, three modules of domain name supervising subsystem, simplify the structure of DDNS system, reduce the development cost of DDNS system.Application number in Chinese invention patent application prospectus " 200910000725.X " name is called " method and apparatus of realizing dynamic domain name update " and discloses a kind of method and apparatus of realizing dynamic domain name update, know that by gateway management system gateway device or IP address change, according to current situation of change change home domain name storage list, then by gateway management system, current situation of change information is sent to domain name server system dns server.
But the problem existing is: (1) is all for single DNS name server operation to the change of domain name record, be DNS name server or be single, that cold standby relation exists, while causing like this DNS name server fault, there will be the domain name operation failure problem of long period, thereby cause system disaster tolerance ability poor; (2) carry out more new domain name record by the ZONE file (the upper file of preserving domain name configuration of a kind of DNS) of direct amendment DNS name server, this mode safety and reliability is poor, and domain name renewal efficiency is low.
Summary of the invention
Object of the present invention is intended to solve at least to a certain extent one of above-mentioned technical problem.
For this reason, one object of the present invention is to propose a kind of DNS DNS management system.This system in efficient execution, has strengthened the safety and reliability of domain name supervising and parsing, and has improved the synchronous efficiency of master/slave server in the operating process of guarantee domain name.
Another object of the present invention is to propose a kind of DNS domain name management method.
To achieve these goals, the DNS DNS management system of one aspect of the present invention embodiment, comprise: tasks carrying device, DNS master server cluster and DNS are from server cluster, described DNS master server cluster comprises at least one DNS master server, described DNS comprises that from server cluster at least one DNS is from server, wherein, tasks carrying device, be used for receiving domain name operation task, and send the request of domain name operation task according to domain name operation task to the each DNS master server in described DNS master server cluster; Described DNS master server cluster, for domain name record being upgraded according to the request of domain name operation task, and generate domain name record renewal instruction according to the more new portion of domain name, and domain name record renewal instruction is sent to the each DNS of described DNS from server cluster from server; And described DNS is from server cluster, upgrades, and DNS name resolution service is provided for upgrading instruction according to domain name record.
The DNS DNS management system of the embodiment of the present invention, receive domain name operation task by tasks carrying device, and send the request of domain name operation task according to this domain name operation task to the each DNS master server in DNS master server cluster, DNS master server cluster upgrades domain name record according to this request, and upgrade instruction and send it to the each DNS of DNS from server cluster from server according to the renewal part producing domain name record of domain name, DNS upgrades according to this instruction from server cluster, and provide DNS name resolution service, thereby ensure the efficient implementation capacity of domain name operating process, strengthened the safety and reliability of domain name supervising and parsing simultaneously, and improve the synchronous efficiency of master/slave server, improve the disaster tolerance ability of DNS name resolution system.
To achieve these goals, the present invention is the DNS domain name management method of embodiment on the other hand, comprise: tasks carrying device receives domain name operation task, and send the request of domain name operation task according to domain name operation task to the each DNS master server in DNS master server cluster; Described DNS master server cluster upgrades domain name record according to the request of domain name operation task, and upgrade instruction according to the renewal part producing domain name record of domain name, and domain name record renewal instruction is sent to the each DNS of DNS from server cluster from server; And described DNS upgrades instruction from server cluster according to domain name record and upgrade, and provide DNS name resolution service.
The DNS domain name management method of the embodiment of the present invention, receive domain name operation task by tasks carrying device, and send the request of domain name operation task according to this domain name operation task to the each DNS master server in DNS master server cluster, DNS master server cluster upgrades domain name record according to this request, and upgrade instruction and send it to the each DNS of DNS from server cluster from server according to the renewal part producing domain name record of domain name, DNS upgrades according to this instruction from server cluster, and provide DNS name resolution service, thereby ensure the efficient implementation capacity of domain name operating process, strengthened the safety and reliability of domain name supervising and parsing simultaneously, and improve the synchronous efficiency of master/slave server, improve the disaster tolerance ability of DNS name resolution system.
The aspect that the present invention is additional and advantage in the following description part provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Brief description of the drawings
The present invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments obviously and easily and understand, wherein:
Fig. 1 is the structured flowchart of DNS DNS management system according to an embodiment of the invention;
Fig. 2 is according to the schematic diagram of the DNS DNS management system of the embodiment of the present invention;
Fig. 3 is the flow chart of DNS domain name management method according to an embodiment of the invention.
Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has the element of identical or similar functions from start to finish.Be exemplary below by the embodiment being described with reference to the drawings, be intended to for explaining the present invention, and can not be interpreted as limitation of the present invention.
Describe according to DNS DNS management system and the method for the embodiment of the present invention below with reference to accompanying drawing.
The present invention proposes a kind of DNS DNS management system, comprise that tasks carrying device, DNS master server cluster and DNS are from server cluster, DNS master server cluster comprises at least one DNS master server, DNS comprises that from server cluster at least one DNS is from server, wherein, tasks carrying device, for receiving domain name operation task, and sends the request of domain name operation task according to domain name operation task to the each DNS master server in DNS master server cluster; DNS master server cluster, for domain name record being upgraded according to the request of domain name operation task, and generate domain name record renewal instruction according to the more new portion of domain name, and domain name record renewal instruction is sent to the each DNS of DNS from server cluster from server; And DNS is from server cluster, for upgrade instruction according to domain name record, DNS is upgraded from the home domain name record of server cluster, and DNS name resolution service is provided.
Fig. 1 is the structured flowchart of DNS DNS management system according to an embodiment of the invention.Fig. 2 is according to the schematic diagram of the DNS DNS management system of the embodiment of the present invention.
As depicted in figs. 1 and 2, this DNS DNS management system can comprise that tasks carrying device 10, DNS master server cluster 20 and DNS are from server cluster 30.Wherein, in an embodiment of the present invention, DNS master server cluster 20 can comprise at least one DNS master server 21.In addition, DNS can comprise that from server cluster 30 at least one DNS is from server 31.It should be noted that, in an embodiment of the present invention, at least one can be regarded as one or more.
Particularly, tasks carrying device 10 can be used for receiving domain name operation task, and sends the request of domain name operation task according to domain name operation task to the each DNS master server 21 in DNS master server cluster 20.Wherein, in one embodiment of the invention, domain name operation task can comprise the operation task that normal DNS master server 21 is carried out and the simultaneous operation task that the DNS master server 21 of fault is carried out.
DNS master server cluster 20 can be used for according to the request of domain name operation task, domain name record being upgraded, and generate domain name record renewal instruction according to the more new portion of domain name, and domain name record renewal instruction is sent to the each DNS of DNS from server cluster 30 from server 31.More specifically, DNS master server cluster 20 can receive the domain name operation task request that tasks carrying device 10 sends, and the renewal of recording to realize domain name according to this domain name operation task request, as, increase and/or delete, and domain name can be recorded to more new portion and notify to DNS from server cluster 30.For example, can adopt the DDNS technology of the module dnspython that increases income to carry out the renewal of domain name record to the each DNS master server 21 in DNS master server cluster 20, the dynamic increment of realizing domain name operation upgrades.Wherein, can adopt successively poll to carry out domain name renewal to belonging to all DNS master servers 21 in same DNS master server cluster 20.
Wherein, in an embodiment of the present invention, DNS master server cluster 20 and DNS are synchronizeed and are adopted the increment method of synchronization from the data between server cluster 30, the domain name record that only synchronously increases and/or delete.
DNS can be used for upgrading instruction according to domain name record from server cluster 30, and to DNS, the record of the home domain name from server cluster 30 upgrades, and DNS name resolution service is provided.More specifically, DNS can receive from server cluster 30 the domain name record renewal instruction that DNS master server cluster 20 sends, and upgrade instruction according to this domain name record home domain name record is upgraded, to realize the renewal of domain name record, simultaneously can be automatically at interval of certain hour to synchronously new domain name record more of DNS master server cluster 20, and provide DNS name resolution service to user.Wherein, the each DNS of DNS from server cluster 30 each only to a DNS master server 21 DNS master server cluster 20 once from server 31 synchronously, and it is synchronous not carry out repetition.
It should be noted that, the process that DNS upgrades to DNS master server cluster 20 from server cluster 30 can adopt the mode of incremental update, only upgrades the domain name record that adds and/or delete, and can reduce like this whole network data simultaneous operation amount, improves synchronous efficiency.
Further, in one embodiment of the invention, as depicted in figs. 1 and 2, this DNS DNS management system can also comprise database server 40.Particularly, database server 40 can be used for preserving domain name operation task and domain name record, and after fault recovery, provide domain name operation task at DNS master server 21, and provide normal domain name record to DNS master server 21 at DNS master server 21 during for domain name operation task operation exception.
Particularly; database server 40 can be preserved domain name operation task and domain name record; ensure after 21 fault recoveries of DNS master server; domain name operation task between the age at failure DNS master server 21 domain name records to be used for recovering after synchronous fault are provided; and during for the rollback of domain name operation task operation exception, provide normal domain name record to DNS master server 21 at DNS master server 21.
It should be noted that, in one embodiment of the invention, database server 40 also can be tasks carrying device 10 preserves the state of each DNS master server 21 in DNS master server cluster 20.In addition, in one embodiment of the invention, tasks carrying device 10 also can be used for according to the return state of the domain name operation task of each DNS master server 21 to safeguard the state of corresponding DNS master server 21.
Wherein, the state of DNS master server 21 can comprise normal condition (Good), malfunction (Bad), alarm condition (Warning), return to form (Repaired) and down status (Offline) etc.That is to say, DNS master server 21 is when normal condition (Good), and tasks carrying device 10 can carry out domain name operation to server; DNS master server 21 is when malfunction (Bad), and tasks carrying device 10 can not carry out domain name operation to server, needs manpower intervention to recover; DNS master server 21 is in alarm condition (Warning), and when DNS master server 21 does not temporarily connect due to network jitter, tasks carrying device 10 can carry out retry can carry out domain name operation to the server in this state time automatically; DNS master server 21 is in return to form (Repaired), be former in the DNS of malfunction master server 21, manpower intervention recover after state time, tasks carrying device 10 can be to the domain name operation task between the server sync device age at failure in this state; DNS master server 21 when down status (Offline), represents that DNS master server 21 has rolled off the production line.
Further, in one embodiment of the invention, as depicted in figs. 1 and 2, this DNS DNS management system also can comprise that domain name records consistency desired result device 50.Particularly, domain name records consistency desired result device 50 and can be used for regularly the domain name record on the each DNS master server 21 in DNS master server cluster 20 being carried out to consistency desired result.
More specifically, domain name records consistency desired result device 50 can timing obtain current all domain name records in the less time period of domain name operation task from database server 40, each DNS master server 21 from DNS master server cluster 20 obtains all domain name records more simultaneously, by the domain name record obtaining from each DNS master server 21 and the domain name record obtaining from database server 40 are compared, whether consistent with the domain name record in database server 40 to judge the domain name record on each DNS master server 21, and whether domain name on each DNS master server 21 record is consistent, when inconsistent, can investigate with manpower intervention by the mode such as mail or note alert notice DNS keeper.Thus, can ensure the accuracy of the domain name record on DNS master server 21.
Further, in one embodiment of the invention, as Fig. 1 and Fig. 2, this DNS DNS management system can also comprise that domain name records restorer 60.Particularly, when domain name records restorer 60 and is used at least one DNS master server 21 and occurs recovering again after catastrophe failure, from database server 40, import up-to-date domain name record.
More specifically, when at least one DNS master server 21 occur catastrophe failure (as, disk failures etc. need to import the catastrophe failure of domain name record again) after machine while recovering again, can and be uploaded on the DNS master server 21 fault recovery from database server 40 derived field name log files, and upgrade the simultaneous operation task status for the DNS master server 21 after this fault recovery in the simultaneous operation assignment database of database server 40, identify the manual synchronization that it has been finished the work, need to not carry out automatic synchronization.Thus, ensure that the domain name record on the DNS master server 21 after fault recovery is up-to-date, improved the safety and reliability of domain name supervising and parsing.
Further, in one embodiment of the invention, when tasks carrying device 10 is also used in the domain name operation task operation failure of a DNS master server 21 in DNS master server cluster 20, remaining DNS master server 21 in DNS master server cluster 20 is carried out to domain name and record rollback.Particularly, in the time of the domain name operation task operation failure of a DNS master server 21 in DNS master server cluster 20, tasks carrying device 10 can first obtain last normal domain name and record and generate domain name log file from database server 40, domain name log file can be sent to afterwards to the each DNS master server 21 in DNS master server cluster 20, and heavily loaded domain name log file.Thus, improved the disaster tolerance ability of DNS name resolution system.
Be to be understood that, only have when the some normal DNS master server 21 that belongs to same DNS master server cluster 20 is carried out to task operating, and go out the result of the operation failure of current task own, but not when DNS master server 21 fault, just other DNS master servers 21 that belong in current DNS master server cluster 20 are carried out to rolling back action, from database server 40, obtain last time normal domain name and record and generate domain name log file, uploaded to all DNS master servers 21 that carry out this operation, and made its heavily loaded domain name log file.
The DNS DNS management system of the embodiment of the present invention, receive domain name operation task by tasks carrying device, and send the request of domain name operation task according to this domain name operation task to the each DNS master server in DNS master server cluster, DNS master server cluster upgrades domain name record according to this request, and upgrade instruction and send it to the each DNS of DNS from server cluster from server according to the renewal part producing domain name record of domain name, DNS upgrades according to this instruction from server cluster, and provide DNS name resolution service, thereby ensure the efficient implementation capacity of domain name operating process, strengthened the safety and reliability of domain name supervising and parsing simultaneously, and improve the synchronous efficiency of master/slave server, improve the disaster tolerance ability of DNS name resolution system.
In addition, the invention allows for a kind of DNS domain name management method, the method comprises: tasks carrying device receives domain name operation task, and sends the request of domain name operation task according to domain name operation task to the each DNS master server in DNS master server cluster; DNS master server cluster upgrades domain name record according to the request of domain name operation task, and upgrades instruction according to the renewal part producing domain name record of domain name, and domain name record renewal instruction is sent to the each DNS of DNS from server cluster from server; And DNS upgrades instruction from server cluster according to domain name record the record of the home domain name from server cluster upgrades to DNS, and provide 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, this DNS domain name management method can comprise:
S301, tasks carrying device receives domain name operation task, and sends the request of domain name operation task according to domain name operation task to the each DNS master server in DNS master server cluster.
For example, external equipment can be put into remote queue by domain name operation task, and tasks carrying device can obtain the domain name operation task in remote queue by network interface.The reception that realizes domain name operation task by remote queue has ensured the relative independentability between equipment, has increased the extensibility of external equipment interpolation domain name operation task simultaneously.Wherein, in one embodiment of the invention, domain name operation task can comprise the operation task that normal DNS master server is carried out and the simultaneous operation task that the DNS master server of fault is carried out.
S302, DNS master server cluster upgrades domain name record according to the request of domain name operation task, and upgrade instruction according to the renewal part producing domain name record of domain name, and domain name record renewal instruction is sent to the each DNS of DNS from server cluster from server.
Particularly, DNS master server cluster can receive the domain name operation task request that tasks carrying device sends, and the renewal of recording to realize domain name according to this domain name operation task request, as, increase and/or delete, and domain name can be recorded to more new portion and notify to DNS from server cluster.For example, can adopt the DDNS technology of the module dnspython that increases income to carry out the renewal of domain name record to the each DNS master server in DNS master server cluster, the dynamic increment of realizing domain name operation upgrades.Wherein, can adopt successively poll to carry out domain name renewal to belonging to all DNS master servers in same DNS master server cluster.
Wherein, in an embodiment of the present invention, DNS master server cluster and DNS are synchronizeed and are adopted the increment method of synchronization from the data between server cluster, the domain name record that only synchronously increases and/or delete.
S303, DNS upgrades instruction from server cluster according to domain name record, and to DNS, the record of the home domain name from server cluster upgrades, and DNS name resolution service is provided.
Particularly, DNS can receive from server cluster the domain name record renewal instruction that DNS master server cluster sends, and the record of the home domain name from server cluster upgrades to DNS to upgrade instruction according to this domain name record, to realize the renewal of domain name record, simultaneously can be automatically at interval of certain hour to more new domain name record of DNS master server cluster synchronization, and provide DNS name resolution service to user.Wherein, the each DNS of DNS from server cluster each only to a DNS master server DNS master server cluster once from server synchronously, and it is synchronous not carry out repetition.
It should be noted that, the process that DNS upgrades from server cluster to DNS master server cluster can adopt the mode of incremental update, only upgrades the domain name record that adds and/or delete, and can reduce like this whole network data simultaneous operation amount, improves synchronous efficiency.
Further, in one embodiment of the invention, this DNS domain name management method can also comprise: preserve domain name operation task and domain name record; When DNS master server is after fault recovery, provide domain name operation task; And when DNS master server is during for domain name operation task operation exception, provide normal domain name record to DNS master server.
For example; tasks carrying device can send to database server by the domain name operation task getting from remote queue; database server can be preserved domain name operation task and domain name record; to ensure when after the fault recovery of DNS master server; database server can provide domain name operation task between the age at failure DNS master server domain name record to be used for recovering after synchronous fault; and when DNS master server is during for the rollback of domain name operation task operation exception, provide normal domain name record to DNS master server.
Be to be understood that, domain name operation task in remote queue is that operation task interface is externally provided, domain name operation task in database server is the interface of tasks carrying device internal task operation, after tasks carrying device receives domain name operation task, the follow-up task to the operation of DNS master server is all obtained from database server.
It should be noted that, in one embodiment of the invention, database server also can be the state of the each DNS master server in tasks carrying device preservation DNS master server cluster.In addition, in one embodiment of the invention, this DNS domain name management method can also comprise: according to the return state of the domain name operation task of each DNS master server to safeguard the state of corresponding DNS master server.
Wherein, the state of DNS master server can comprise normal condition (Good), malfunction (Bad), alarm condition (Warning), return to form (Repaired) and down status (Offline) etc.That is to say, DNS master server is when normal condition (Good), and tasks carrying device can carry out domain name operation to server; DNS master server is when malfunction (Bad), and tasks carrying device can not carry out domain name operation to server, needs manpower intervention to recover; DNS master server is in alarm condition (Warning), and when DNS master server does not temporarily connect due to network jitter, tasks carrying device can carry out retry can carry out domain name operation to the server in this state time automatically; DNS master server is in return to form (Repaired), former in the DNS of malfunction master server, manpower intervention recover after state time, tasks carrying device can be to the domain name operation task between the server sync device age at failure in this state; DNS master server when down status (Offline), represents that DNS master server rolls off the production line.
For example, in the time that DNS master server cluster upgrades the domain name record of each DNS master server according to the request of domain name operation task, execution status of task is returned in operating process meeting, and normal when tasks carrying device can judge DNS master server according to this state, fault, network jitter and domain name operation task itself such as carry out unsuccessfully at the state.For example, for normal execution result, represent that this operation task operates successfully the domain name renewal of this DNS master server; For the execution result of fault, upgrading the state of corresponding DNS master server in database server is fault, and the mode such as mail and note notifies DNS keeper to need manpower intervention maintenance; The failure result causing for network jitter is carried out retry behind certain hour interval, if all do not run succeeded after certain number of retries, thinks corresponding DNS master server fault, and subsequent process is identical with the state that execution result is fault; Carry out failed execution result for domain name operation task itself, illustrate that DNS master server, to by operation task operation failure, notifies DNS keeper to need manpower intervention investigation.
Further, in one embodiment of the invention, this DNS domain name management method can also comprise: regularly the domain name record on the each DNS master server in DNS master server cluster is carried out to consistency desired result.
Particularly, can timing from database server, obtain current all domain name records in the less time period of domain name operation task, each DNS master server from DNS master server cluster obtains all domain name records more simultaneously, by the domain name record obtaining from each DNS master server and the domain name record obtaining from database server are compared, whether consistent with the domain name record in database server to judge the domain name record on each DNS master server, and whether domain name on each DNS master server record is consistent, when inconsistent, can investigate with manpower intervention by the mode such as mail or note alert notice DNS keeper.Thus, ensured the accuracy of the domain name record on DNS master server.
Further, in one embodiment of the invention, this DNS domain name management method can also comprise: while recovery again after catastrophe failure appears at least one DNS master server, import up-to-date domain name record.
Particularly, when at least one DNS master server occur catastrophe failure (as, disk failures etc. need to import the catastrophe failure of domain name record again) after machine while recovering again, can be from database server derived field name log file being uploaded on the DNS master server after fault recovery, and upgrade the simultaneous operation task status for the DNS master server after this fault recovery in the simultaneous operation assignment database of database server, identify the manual synchronization that it has been finished the work, need to not carry out automatic synchronization.Thus, ensure that domain name on the DNS master server after fault recovery is up-to-date while record, improved the safety and reliability of domain name supervising and parsing.
Further, in one embodiment of the invention, this DNS domain name management method can also comprise: in the time of the domain name operation task operation failure of a DNS master server in DNS master server cluster, remaining DNS master server in DNS master server cluster is carried out to domain name and record rollback.Particularly, in the time of the domain name operation task operation failure of a DNS master server in DNS master server cluster, can first obtain last normal domain name and record and generate domain name log file.Afterwards, domain name log file can be sent to the each DNS master server in DNS master server cluster, and heavily loaded domain name log file.Thus, improved the disaster tolerance ability of DNS name resolution system.
Be to be understood that, only have when the some normal DNS master server that belongs to same DNS master server cluster is carried out to task operating, and go out the result of the operation failure of current task own, but not when DNS master server fault, just other DNS master servers that belong in current DNS master server cluster are carried out to rolling back action, from database server, obtain last time normal domain name and record and generate domain name log file, uploaded to all DNS master servers that carry out this operation, and made its heavily loaded domain name log file.
The DNS domain name management method of the embodiment of the present invention, receive domain name operation task by tasks carrying device, and send the request of domain name operation task according to this domain name operation task to the each DNS master server in DNS master server cluster, DNS master server cluster upgrades domain name record according to this request, and upgrade instruction and send it to the each DNS of DNS from server cluster from server according to the renewal part producing domain name record of domain name, DNS upgrades according to this instruction from server cluster, and provide DNS name resolution service, thereby ensure the efficient implementation capacity of domain name operating process, strengthened the safety and reliability of domain name supervising and parsing simultaneously, and improve the synchronous efficiency of master/slave server, improve the disaster tolerance ability of DNS name resolution system.
Any process of otherwise describing in flow chart or at this or method are described and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple steps or method can realize with being stored in software or the firmware carried out in memory and by suitable instruction execution system.For example, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: there is the discrete logic for data-signal being realized to the logic gates of logic function, there is the application-specific integrated circuit (ASIC) of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is can carry out the hardware that instruction is relevant by program to complete, described program can be stored in a kind of computer-readable recording medium, this program, in the time carrying out, comprises step of embodiment of the method one or a combination set of.
In addition, the each functional unit in each embodiment of the present invention can be integrated in a processing module, can be also that the independent physics of unit exists, and also can be integrated in a module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.If described integrated module realizes and during as production marketing independently or use, also can be stored in a computer read/write memory medium using the form of software function module.
The above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
In the description of this specification, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, to the schematic statement of above-mentioned term not must for be identical embodiment or example.And, specific features, structure, material or the feature of description can one or more embodiment in office or example in suitable mode combination.In addition,, not conflicting in the situation that, those skilled in the art can carry out combination and combination by the feature of the different embodiment that describe in this specification or example and different embodiment or example.
Although illustrated and described embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, and those of ordinary skill in the art can change above-described embodiment within the scope of the invention, amendment, replacement and modification.

Claims (16)

1. a DNS DNS management system, is characterized in that, comprises that tasks carrying device, DNS master server cluster and DNS are from server cluster, described DNS master server cluster comprises at least one DNS master server, described DNS comprises that from server cluster at least one DNS is from server, wherein
Tasks carrying device, for receiving domain name operation task, and sends the request of domain name operation task according to domain name operation task to the each DNS master server in described DNS master server cluster;
Described DNS master server cluster, for domain name record being upgraded according to the request of domain name operation task, and generate domain name record renewal instruction according to the more new portion of domain name, and domain name record renewal instruction is sent to the each DNS of described DNS from server cluster from server; And
Described DNS, from server cluster, upgrades from the home domain name record of server cluster described DNS for upgrade instruction according to domain name record, and DNS name resolution service is provided.
2. DNS DNS management system as claimed in claim 1, is characterized in that, also comprises:
Database server, be used for preserving domain name operation task and domain name record, and after fault recovery, provide domain name operation task at described DNS master server, and provide normal domain name record to described DNS master server at described DNS master server during for domain name operation task operation exception.
3. DNS DNS management system as claimed in claim 1, is characterized in that, also comprises:
Domain name records consistency desired result device, for regularly the domain name record on each DNS master server of described DNS master server cluster being carried out to consistency desired result.
4. DNS DNS management system as claimed in claim 1, is characterized in that, also comprises:
Domain name records restorer, while occurring recovering again after catastrophe failure, imports up-to-date domain name record from described database server for DNS master server described at least one.
5. DNS DNS management system as claimed in claim 1, is characterized in that, described tasks carrying device also for according to the return state of the domain name operation task of each described DNS master server to safeguard the state of corresponding DNS master server.
6. DNS DNS management system as claimed in claim 1, it is characterized in that, described tasks carrying device also, for when the domain name operation task operation failure of a DNS master server of described DNS master server cluster, carries out domain name to remaining DNS master server in described DNS master server cluster and records rollback.
7. DNS DNS management system as claimed in claim 6, it is characterized in that, described tasks carrying implement body is used for: obtain last normal domain name from database server and record and generate domain name log file, and domain name log file is sent to the each DNS master server in described DNS master server cluster, and heavily loaded domain name log file.
8. DNS DNS management system as claimed in claim 1, is characterized in that, described DNS master server cluster and described DNS are synchronizeed and adopted the increment method of synchronization from the data between server cluster.
9. a DNS domain name management method, is characterized in that, comprising:
Tasks carrying device receives domain name operation task, and sends the request of domain name operation task according to domain name operation task to the each DNS master server in DNS master server cluster;
Described DNS master server cluster upgrades domain name record according to the request of domain name operation task, and upgrade instruction according to the renewal part producing domain name record of domain name, and domain name record renewal instruction is sent to the each DNS of DNS from server cluster from server; And
Described DNS upgrades instruction from server cluster according to domain name record, and to described DNS, the record of the home domain name from server cluster upgrades, and DNS name resolution service is provided.
10. DNS domain name management method as claimed in claim 9, is characterized in that, also comprises:
Preserve domain name operation task and domain name record;
When described DNS master server is after fault recovery, provide domain name operation task; And
When described DNS master server is during for domain name operation task operation exception, provide normal domain name record to described DNS master server.
11. DNS domain name management methods as claimed in claim 9, is characterized in that, also comprise:
Regularly the domain name record on the each DNS master server in described DNS master server cluster is carried out to consistency desired result.
12. DNS domain name management methods as claimed in claim 9, is characterized in that, also comprise:
While recovery again, import up-to-date domain name record after catastrophe failure appears in DNS master server described at least one.
13. DNS domain name management methods as claimed in claim 9, is characterized in that, also comprise:
According to the return state of the domain name operation task of each described DNS master server to safeguard the state of corresponding DNS master server.
14. DNS domain name management methods as claimed in claim 9, is characterized in that, also comprise:
In the time of the domain name operation task operation failure of a DNS master server in described DNS master server cluster, remaining DNS master server in described DNS master server cluster is carried out to domain name and record rollback.
15. DNS domain name management methods as claimed in claim 14, is characterized in that, describedly remaining DNS master server in DNS master server cluster is carried out to domain name record rollback and specifically comprise:
Obtain last normal domain name and record and generate domain name log file;
Domain name log file is sent to the each DNS master server in described DNS master server cluster, and heavily loaded domain name log file.
16. DNS domain name management methods as claimed in claim 9, is characterized in that, described DNS master server cluster and described DNS are synchronizeed and adopted the increment method of synchronization from the data 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 true CN104079438A (en) 2014-10-01
CN104079438B 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)

Cited By (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
CN107343056A (en) * 2016-04-28 2017-11-10 阿弗里厄斯公共有限公司 Domain name registration and management
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
CN110730250A (en) * 2019-09-06 2020-01-24 北京小米移动软件有限公司 Information processing method and device, service system and storage medium
CN110943852A (en) * 2018-09-25 2020-03-31 厦门白山耘科技有限公司 Device and method for configuring DNS (Domain name Server), DNS and method for updating configuration of DNS
CN112311904A (en) * 2019-07-25 2021-02-02 北京中关村科金技术有限公司 Method, device, storage medium and domain name management system for updating domain name record
WO2021232243A1 (en) * 2020-05-19 2021-11-25 深圳市欢太科技有限公司 Cluster management method, cluster management apparatus, storage medium and electronic device
CN116389411A (en) * 2023-06-07 2023-07-04 阿里巴巴(中国)有限公司 Domain name data processing method, device and equipment

Citations (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
CN103259866A (en) * 2013-05-23 2013-08-21 中国科学院计算机网络信息中心 DNS zone file multi-node transmission method and system
CN103685585A (en) * 2012-09-07 2014-03-26 中国科学院计算机网络信息中心 Highly reliable method and method for updating DNS data
CN103905531A (en) * 2014-03-14 2014-07-02 浪潮电子信息产业股份有限公司 Method for converting load balancing among nodes in cluster storage system

Patent Citations (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
CN103685585A (en) * 2012-09-07 2014-03-26 中国科学院计算机网络信息中心 Highly reliable method and method for updating DNS data
CN103259866A (en) * 2013-05-23 2013-08-21 中国科学院计算机网络信息中心 DNS zone file multi-node transmission method and system
CN103905531A (en) * 2014-03-14 2014-07-02 浪潮电子信息产业股份有限公司 Method for converting load balancing among nodes in cluster storage system

Cited By (14)

* 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
CN107343056A (en) * 2016-04-28 2017-11-10 阿弗里厄斯公共有限公司 Domain name registration and management
CN110943852A (en) * 2018-09-25 2020-03-31 厦门白山耘科技有限公司 Device and method for configuring DNS (Domain name Server), DNS and method for updating configuration of DNS
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
EP3780561A4 (en) * 2019-06-12 2021-06-16 Wangsu Science & Technology Co., Ltd. Domain name configuration and deployment management method and device
CN112311904A (en) * 2019-07-25 2021-02-02 北京中关村科金技术有限公司 Method, device, storage medium and domain name management system for updating domain name record
CN110730250A (en) * 2019-09-06 2020-01-24 北京小米移动软件有限公司 Information processing method and device, service system and storage medium
WO2021232243A1 (en) * 2020-05-19 2021-11-25 深圳市欢太科技有限公司 Cluster management method, cluster management apparatus, storage medium and electronic device
CN115517009A (en) * 2020-05-19 2022-12-23 深圳市欢太科技有限公司 Cluster management method, cluster management device, storage medium and electronic equipment
CN115517009B (en) * 2020-05-19 2023-10-13 深圳市欢太科技有限公司 Cluster management method, cluster management device, storage medium and electronic equipment
CN116389411A (en) * 2023-06-07 2023-07-04 阿里巴巴(中国)有限公司 Domain name data processing method, device and equipment
CN116389411B (en) * 2023-06-07 2023-08-18 阿里巴巴(中国)有限公司 Domain name data processing method, device and equipment

Also Published As

Publication number Publication date
CN104079438B (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN104079438A (en) DNS (domain name sever) domain name management system and method
US10944628B2 (en) Network operation support system and network device management method
CN103077242B (en) The method of a kind of fulfillment database server two-node cluster hot backup
CN102693324B (en) Distributed database synchronization system, synchronization method and node management method
WO2018099154A1 (en) Event processing method, network management device, and server
CN110795503A (en) Multi-cluster data synchronization method and related device of distributed storage system
CN108897658B (en) Method and device for monitoring master database, computer equipment and storage medium
US9342390B2 (en) Cluster management in a shared nothing cluster
WO2016061956A1 (en) Data processing method for distributed file system and distributed file system
CN106452836B (en) main node setting method and device
US9009533B2 (en) Home/building fault analysis system using resource connection map log and method thereof
CN101594256A (en) Disaster recovery method, device and system
CN111966467B (en) Method and device for disaster recovery based on kubernetes container platform
CN103905441A (en) Data acquisition method and device
CN110413565A (en) A kind of method, equipment and the medium of more storages equipment synchronisation snapshot
US10990312B2 (en) Method, apparatus, device and storage medium for processing data location of storage device
CN116185697B (en) Container cluster management method, device and system, electronic equipment and storage medium
CN110489491B (en) Full data synchronization device suitable for A/B network double clusters
US11042454B1 (en) Restoration of a data source
CN111913933A (en) Power grid historical data management method and system based on unified support platform
CN106126568A (en) One promotes mainly formula serializing buffer memory management method and system
CN115905413A (en) Data synchronization platform based on Python corotation and DataX
CN111737043A (en) Database disaster tolerance method, device, server and storage medium
CN114610798A (en) Resource allocation management method, system, device, storage medium and electronic equipment
CN116781488A (en) Database high availability implementation method, device, database architecture, equipment and product

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