CN101841409A - Method, server and domain name system for realizing purpose of creating synchronization in DNS region - Google Patents

Method, server and domain name system for realizing purpose of creating synchronization in DNS region Download PDF

Info

Publication number
CN101841409A
CN101841409A CN201010101269.0A CN201010101269A CN101841409A CN 101841409 A CN101841409 A CN 101841409A CN 201010101269 A CN201010101269 A CN 201010101269A CN 101841409 A CN101841409 A CN 101841409A
Authority
CN
China
Prior art keywords
dns server
server
auxilliary
dns
notification message
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
CN201010101269.0A
Other languages
Chinese (zh)
Other versions
CN101841409B (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.)
China Internet Network Information Center
Original Assignee
Computer Network Information Center of CAS
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 Computer Network Information Center of CAS filed Critical Computer Network Information Center of CAS
Priority to CN201010101269.0A priority Critical patent/CN101841409B/en
Priority to PCT/CN2010/074573 priority patent/WO2011091646A1/en
Publication of CN101841409A publication Critical patent/CN101841409A/en
Application granted granted Critical
Publication of CN101841409B publication Critical patent/CN101841409B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method, a primary DNS server, a secondary DNS server and a domain name system for realizing the purpose of creating synchronization in a DNS region, wherein the method comprises the following steps: the primary DNS server creates a DNS region and sets the dependence relation among DNS servers in the DNS region, wherein each DNS server comprises a primary DNS server and at least one secondary DNS server; and the primary DNS server progressively sends notification messages comprising the superior server information of the secondary DNS servers to the secondary DNS servers according to the dependence relation until each secondary DNS server records respective superior server information, and acquires region files from respective superior servers according to the notification messages. The invention overcomes the defect that in the prior art, when a DNS server creates a new DNS region, a DNS administrator needs to manually update region files corresponding to a new DNS region in a secondary DNS server and the superior server information of the secondary DNS server, thereby realizing the automatic updating of the DNS server in the process of creating the new DNS region.

Description

Realize synchronous method, server and the domain name system of dns zone establishment
Technical field
The embodiment of the invention relates to the domain name system technical field, relates in particular to a kind of dns zone of realizing and creates synchronous method, primary dns server, auxilliary dns server and domain name system.
Background technology
Domain name system (Domain Name System; Hereinafter to be referred as: DNS) being one, comprise can be with domain name and Internet Protocol (Internet Protocol; Hereinafter to be referred as: the IP) distributed data base of address mutual mapping.DNS deposits on the dns server that is distributed in all over the world, and dns server comprises master server (primary master server) and secondary sever (secondaryserver).Wherein, master server is meant the server of having stored empowered zone (Zone) relevant document, is the most basic source of a territory (Domain) information.It is the source that all secondary severs carry out the territory transmission; Master server is the data that read the territory from the local hard drive file.Secondary sever is called secondary servers again, be responsible for from the full detail in a district of another server (master server or secondary sever) transmission, and with file storage in its local hard drive.Secondary sever can also provide necessary redundancy services.Simultaneously, Servers-all all should be listed in (comprising master server and all secondary severs) name server (the Name Server in higher level territory; Hereinafter to be referred as: NS) in the record.
In the prior art, when the DNS keeper when master server is independently created a new dns zone, the DNS keeper can distinguish independent district's file of creating this new dns zone correspondence on each secondary sever, perhaps by some Software tool, for example: rdist or rsync, manually upgrade the district's file on each secondary sever, to guarantee the district's file synchronization on each server in the DNS.In realizing process of the present invention, the inventor finds that there are the following problems at least in the prior art: when in the prior art dns server being created new dns zone, need the DNS keeper in master server and secondary sever, the pairing district of newly-built dns zone file manually to be upgraded respectively, thereby cause keeper's operation loaded down with trivial details relatively.
Summary of the invention
The embodiment of the invention provides a kind of dns zone of realizing to create synchronous method, primary dns server, auxilliary dns server and domain name system, when dns server being created new dns zone in order to solve in the prior art, the defective that the DNS keeper need manually upgrade the pairing district of newly-built dns zone file in master server and secondary sever.
The embodiment of the invention provides a kind of dns zone of realizing to create synchronous method, comprising:
Primary dns server is created dns zone and the dependence between each dns server in the described dns zone is set, described each dns server comprise primary dns server and at least secondary assist dns server;
Described primary dns server is according to described dependence, send the notification message of the higher level's server info that comprises described auxilliary dns server step by step to described auxilliary dns server, until the described separately higher level's server info of each auxilliary dns server record, and obtain district's file to higher level's server separately according to described notification message.
The embodiment of the invention also provides a kind of dns zone of realizing to create synchronous method, comprising:
Auxilliary dns server receives the notification message that primary dns server sends, and described notification message comprises higher level's server info of described auxilliary dns server;
Described auxilliary dns server writes down described higher level's server info according to described notification message, and obtains district's file of the dns zone of described primary dns server establishment to higher level's server of described higher level's server info correspondence.
The embodiment of the invention provides a kind of primary dns server, comprising:
Create the dns zone module, be used to create dns zone and the dependence between each dns server in the described dns zone is set, described each dns server comprise primary dns server and at least secondary assist dns server;
The notification message sending module, be connected with described establishment dns zone module, be used for according to described dependence, send the notification message of the higher level's server info that comprises described auxilliary dns server step by step to described auxilliary dns server, until the described separately higher level's server info of each auxilliary dns server record, and obtain district's file to higher level's server separately according to described notification message.
The embodiment of the invention also provides a kind of auxilliary dns server, comprising:
The notification message receiver module is used to receive the notification message that primary dns server sends, and described notification message comprises higher level's server info of described auxilliary dns server;
Obtain district's file module, be connected with described notification message receiver module, be used for according to described notification message, write down described higher level's server info, and obtain district's file of the dns zone of described primary dns server establishment to higher level's server of described higher level's server info correspondence.
The embodiment of the invention also provides a kind of domain name system, comprises above-mentioned described primary dns server and the above-mentioned described auxilliary dns server of secondary at least.
The realization dns zone of the embodiment of the invention is created synchronous method, primary dns server, auxilliary dns server and domain name system, create dns zone and the dependence between each dns server in the described dns zone is set by primary dns server, and according to dependence, send the notification message of the higher level's server info that comprises auxilliary dns server step by step to auxilliary dns server, until the described separately higher level's server info of each auxilliary dns server record, and obtain district's file to higher level's server separately according to notification message.Changed in the prior art when dns server created new dns zone, the defective that the DNS keeper need be in secondary sever manually upgrades higher level's server info of newly-built dns zone pairing district file and auxilliary dns server, realize the automatic renewal of dns server when creating the newly developed area, and effectively reduced keeper's the amount of labour.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The realization dns zone that Fig. 1 provides for the embodiment of the invention one is created the flow chart of synchronous method;
The realization dns zone that Fig. 2 provides for the embodiment of the invention two is created the flow chart of synchronous method;
The realization dns zone that Fig. 3 provides for the embodiment of the invention two is created the another flow chart of synchronous method;
Tree-like dependence schematic diagram in the establishment dns zone that Fig. 4 provides for the embodiment of the invention two between each dns server;
The realization dns zone that Fig. 5 provides for the embodiment of the invention three is created the flow chart of synchronous method;
The realization dns zone that Fig. 6 provides for the embodiment of the invention four is created the flow chart of synchronous method;
The realization dns zone that Fig. 7 provides for the embodiment of the invention four is created the another flow chart of synchronous method;
The realization dns zone that Fig. 8 provides for the embodiment of the invention four is created another flow chart of synchronous method;
The structural representation of the primary dns server that Fig. 9 provides for the embodiment of the invention five;
The structural representation of the auxilliary dns server that Figure 10 provides for the embodiment of the invention six;
The structural representation of the domain name system that Figure 11 provides for the embodiment of the invention six.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Embodiment one
The realization dns zone that Fig. 1 provides for the embodiment of the invention one is created the flow chart of synchronous method, and as shown in Figure 1, this method comprises:
Step 11, primary dns server are created dns zone and the dependence between each dns server in the dns zone are set, each dns server comprise primary dns server and at least secondary assist dns server;
Step 12, primary dns server are according to dependence, send the notification message of the higher level's server info that comprises auxilliary dns server step by step to auxilliary dns server, write down higher level's server info separately until each auxilliary dns server, and obtain district's file to higher level's server separately according to notification message.
In step 12, higher level's server info of auxilliary dns server is specially the primary dns server in this new dns zone, perhaps another the auxilliary dns server in this new dns zone.When higher level's server info of auxilliary dns server was primary dns server, auxilliary dns server obtained district's file according to notification message to primary dns server; When higher level's server info of auxilliary dns server was another auxilliary dns server, auxilliary dns server obtained district's file according to notification message to another auxilliary dns server.It should be noted that this district's file is by resource record (Resource Record; Hereinafter to be referred as: RR) form, RR is the core data of DNS.In other words, RR comprises the resource information of all auxilliary dns servers and primary dns server among the DNS.
In the present embodiment, create dns zone and the dependence between each dns server in the described dns zone is set by primary dns server, and according to dependence, send the notification message of the higher level's server info that comprises auxilliary dns server step by step to auxilliary dns server, write down higher level's server info separately until each auxilliary dns server, and obtain district's file to higher level's server separately according to notification message.Changed in the prior art when dns server created new dns zone, the defective that the DNS keeper need be in secondary sever manually upgrades higher level's server info of newly-built dns zone pairing district file and auxilliary dns server, realize the automatic renewal of dns server when creating the newly developed area, and effectively reduced keeper's the amount of labour.
Embodiment two
The realization dns zone that Fig. 2 provides for the embodiment of the invention two is created the flow chart of synchronous method, and as shown in Figure 2, on the basis of the foregoing description one, the step 12 of this method specifically comprises:
Step 121, primary dns server send the notification message of the higher level's server info that comprises the first auxilliary dns server according to dependence to the first auxilliary dns server;
Step 122, receive the first auxilliary dns server when successfully obtaining first feedback information of district's file at primary dns server, primary dns server sends the notification message of the higher level's server info that comprises the second auxilliary dns server to the second auxilliary dns server, higher level's server that the first auxilliary dns server is the second auxilliary dns server, write down higher level's information on services separately until each auxilliary dns server, and obtain district's file to higher level's server separately according to notification message.
Further, the realization dns zone that Fig. 3 provides for the embodiment of the invention two is created the another flow chart of synchronous method, in the present embodiment, receive the first auxilliary dns server when successfully not obtaining second feedback information of district's file with primary dns server, then on the basis of the foregoing description, a kind of specific implementation of this method also comprises after the step 121 as shown in Figure 3:
Step 123, receive the first auxilliary dns server when successfully not obtaining second feedback information of district's file at primary dns server, then execution in step 11.
In the present embodiment, to comprise in the new dns zone that primary dns server and seven auxilliary dns servers are example, introduce technical scheme of the present invention in detail, tree-like dependence schematic diagram in the establishment dns zone that Fig. 4 provides for the embodiment of the invention two between each dns server, as shown in Figure 4, physical relationship in this dns zone between primary dns server and the auxilliary dns server is: the first order server under the primary dns server comprises the first auxilliary dns server and the second auxilliary dns server, second level server under the primary dns server comprises the second auxilliary dns server and the 3rd auxilliary dns server, and the third level server under the primary dns server comprises the 4th auxilliary dns server, the 5th auxilliary dns server, the 6th auxilliary dns server and the 7th DNS secondary sever; Simultaneously, the upper level server that can also know the first auxilliary dns server is a primary dns server, the second auxilliary dns server has 2 upper level servers, be respectively the primary dns server and the first auxilliary dns server, the upper level server of the 3rd auxilliary dns server is the first auxilliary dns server, the upper level server of the 4th auxilliary dns server and the 5th auxilliary dns server is the second auxilliary dns server, and the upper level server of the 6th auxilliary dns server and the 7th auxilliary dns server is the 3rd auxilliary dns server.
Primary dns server is at first according to the tree-like dependence between each dns server in the above-mentioned establishment dns zone, the first auxilliary dns server in first order server and the second auxilliary dns server send a notification message respectively, wherein, assist higher level's server info (being primary dns server) of dns server to first of the first auxilliary dns server transmission, the higher level's server info (being primary dns server) that in the notification message that the second auxilliary dns server sends, comprises the second auxilliary dns server, this the first auxilliary DNS service and the second auxilliary dns server are according to notification message, write down higher level's server info (being primary dns server information) respectively, and obtain district's file to the primary dns server of higher level's server info correspondence respectively.
In the present embodiment, with the auxilliary dns server of the first auxilliary dns server and the second level is example, introduce the workflow behind the first auxilliary dns server receiving notice message in detail: if the first auxilliary dns server obtains the success of district's file, then send second feedback information that the first auxilliary dns server does not successfully obtain district's file to primary dns server, master server is according to second feedback information that receives, again according to dependence, within a certain period of time, the first auxilliary dns server of repetition in first order secondary sever sends a notification message, and successfully obtains district's file of primary dns server until the first auxilliary dns server.If the first auxilliary dns server obtains district's file success, then send first feedback information that the first auxilliary dns server successfully obtains district's file to primary dns server, primary dns server is according to first feedback information that receives, again according to dependence, the second auxilliary dns server and the 3rd auxilliary dns server in the auxilliary dns server in the second level send a notification message, after the second auxilliary dns server receives notification message, at first judge whether to have stored the district's file that obtains, if stored, then write down the higher level's server info information (i.e. the first auxilliary dns server information) in this notification message, and send first feedback information to primary dns server; If not storage, for example, owing to reasons such as network failures, make the second auxilliary dns server successfully not obtain district's file from primary dns server, then the second auxilliary dns server obtains district's file to the first auxilliary dns server of higher level's server info correspondence, after if the second auxilliary dns server gets access to district's file of the first auxilliary dns server transmission, send first feedback information that the second auxilliary dns server successfully obtains district's file to primary dns server, primary dns server is again according to receiving first feedback information and dependence, subordinate's server to the second auxilliary dns server, promptly the 4th auxilliary dns server and the 5th is assisted dns server, send a notification message, the 4th auxilliary dns server is identical with the workflow that the second auxilliary dns server obtains district's file with the workflow that the 5th auxilliary dns server obtains district's file, does not repeat them here.What deserves to be mentioned is that the workflow of other the auxilliary dns servers in this new dns zone is identical with the workflow of the above-mentioned second auxilliary dns server, does not repeat them here.
In addition, primary dns server can also be according to the dependence between each dns server in the new dns zone is set, notification message is set sends tabulation, this notification message sends the notification message of having stored the information correspondence of all the auxilliary dns servers in this new dns zone in the tabulation.When primary dns server receives first feedback information of auxilliary dns server transmission, this first feedback information can also comprise this auxilliary dns server information, then primary dns server is according to assisting dns server information, send the notification message of deleting this auxilliary dns server information correspondence the tabulation from notification message, completed successfully the notification message that sends to this auxilliary dns server information correspondence to show.It should be noted that an auxilliary dns server can have N higher level's server, wherein, N is a natural number, and more than or equal to 1, like this, this auxilliary dns server need receive N notification message.For example, an auxilliary dns server has three higher level's servers, then primary dns server can send three notification messages to this auxilliary dns server, carried higher level's server info of the correspondence in this auxilliary dns server in each notification message, when auxilliary dns server receives first notification message,, obtain district's file to first higher level's server then according to this notification message, if obtain district's file success, then first feedback information sent to primary dns server; When auxilliary dns server received second notification message, at this moment this auxilliary dns server had obtained district's file, therefore only need send first feedback information to primary dns server and get final product; When auxilliary dns server received the 3rd notification message, its principle was with to receive second notification message workflow identical.In other words, no matter auxilliary dns server has several higher level's servers, need only successfully obtain district's file success from higher level's server, then when receiving the notification message of other higher level's server infos, only need the higher level's server info in this notification message of record and send first feedback information, obtain district's file and get final product to inform success to primary dns server.In addition, what deserves to be mentioned is, when auxilliary dns server whenever receives a notification message, all can write down the higher level's server info in this notification message accordingly.
When primary dns server receive that auxilliary dns server sends carry second feedback information of auxilliary dns server correspondence the time, it is constant that then primary dns server keeps notification message transmission tabulation, and behind certain hour, send a notification message to the auxilliary dns server of this auxilliary dns server information correspondence.
In the present embodiment, when primary dns server is created new dns zone, each auxilliary dns server is according to the notification message that receives, higher level's server from the auxilliary dns server of trend obtains district's file, thereby to a certain extent, effectively reduce the load of primary dns server, and reduced keeper's working strength.
Embodiment three
The realization dns zone that Fig. 5 provides for the embodiment of the invention three is created the flow chart of synchronous method, and as shown in Figure 5, this method comprises:
Step 21, auxilliary dns server receive the notification message that primary dns server sends, and notification message comprises higher level's server info of auxilliary dns server;
Step 22, auxilliary dns server write down higher level's server info according to notification message, and obtain district's file of the dns zone of primary dns server establishment to higher level's server of higher level's server info correspondence.
In step 21, higher level's server info of auxilliary dns server is specially the primary dns server in this new dns zone, perhaps another the auxilliary dns server in this new dns zone.When higher level's server info of auxilliary dns server was primary dns server, auxilliary dns server write down primary dns server information according to notification message, and obtains district's file to primary dns server; When higher level's server info of auxilliary dns server was another auxilliary dns server, auxilliary dns server write down another auxilliary dns server information, and obtains district's file to another auxilliary dns server according to notification message.
In the present embodiment, according to receiving the notification message that primary dns server sends, write down higher level's server info, and obtain district's file of the dns zone of primary dns server establishment to higher level's server by auxilliary dns server.Changed in the prior art when dns server created new dns zone, the defective that the DNS keeper need be in secondary sever manually upgrades higher level's server info of newly-built dns zone pairing district file and auxilliary dns server, realize the automatic renewal of dns server when creating the newly developed area, and effectively reduced keeper's the amount of labour.
Embodiment four
The realization dns zone that Fig. 6 provides for the embodiment of the invention four is created the flow chart of synchronous method, in the present embodiment, to assist dns server after obtaining district's file, and the request message that the subordinate's server that receives auxilliary dns server sends is an example, introduce technical scheme of the present invention in detail, as shown in Figure 6, also comprise after the step 22:
Step 23, auxilliary dns server receive the request message of subordinate's server transmission of auxilliary dns server;
Step 24, auxilliary dns server send district's file of dns zone according to request message to subordinate's server.
Further, the realization dns zone that Fig. 7 provides for the embodiment of the invention four is created the another flow chart of synchronous method, in the present embodiment, to assist dns server after receiving notification message, successfully obtaining district's file to auxilliary dns server successfully is example, introduce technical scheme of the present invention in detail, as shown in Figure 7, also comprise after the step 22:
Step 25, auxilliary dns server send first feedback information that auxilliary dns server successfully obtains district's file to primary dns server, so that primary dns server sends the notification message that comprises auxilliary dns server information to subordinate's server of auxilliary dns server.
Further, the realization dns zone that Fig. 8 provides for the embodiment of the invention four is created another flow chart of synchronous method, in the present embodiment, to assist dns server after receiving notification message, successfully not obtaining district's file to auxilliary dns server successfully is example, introduce technical scheme of the present invention in detail, as shown in Figure 8, also comprise after the step 22:
Step 26, auxilliary dns server send second feedback information that auxilliary dns server does not successfully obtain district's file to primary dns server, and then execution in step 21.
In the present embodiment, the second auxilliary dns server is an example in the tree-like dependence in the establishment dns zone of being lifted among Fig. 4 with the foregoing description two between each dns server, introduce technical scheme of the present invention in detail, the second auxilliary dns server receives the request message of the 4th auxilliary dns server and the 5th auxilliary dns server transmission, and according to this request message, district's file to the 4th auxilliary dns server and the 5th auxilliary dns server transmission dns zone, if the 4th auxilliary dns server and the 5th auxilliary dns server obtain district's file success, then the 4th auxilliary dns server and the 5th auxilliary dns server send to primary dns server with first feedback information separately respectively; If the 4th auxilliary dns server and/or the 5th auxilliary dns server successfully do not obtain district's file success, then respectively second feedback information is separately sent to primary dns server, primary dns server obtains district's file success repeating to send a notification message to the 4th auxilliary dns server and/or the 5th auxilliary dns server until the 4th auxilliary dns server and the 5th auxilliary dns server.
Embodiment five
The structural representation of the primary dns server that Fig. 9 provides for the embodiment of the invention five, as shown in Figure 9, this primary dns server comprises: create dns zone module 31 and notification message sending module 32; Wherein, create dns zone module 31 and be used to create dns zone and the dependence between each dns server in the dns zone is set, each dns server comprise primary dns server and at least secondary assist dns server; Notification message sending module 32 is connected with establishment dns zone module 31, be used for according to dependence, send the notification message of the higher level's server info that comprises auxilliary dns server step by step to auxilliary dns server, write down higher level's server info separately until each auxilliary dns server, and obtain district's file to higher level's server separately according to notification message.
In the present embodiment, the establishment dns zone module 31 of primary dns server is created dns zone and the dependence between each dns server in the dns zone is set, each dns server comprises primary dns server and the auxilliary dns server of secondary at least, wherein, can comprise a plurality of auxilliary dns servers in every grade of auxilliary dns server, notification message sending module 32 is according to dependence, send the notification message of the higher level's server info that comprises auxilliary dns server step by step to auxilliary dns server, write down higher level's server info separately until each auxilliary dns server, and obtain district's file to higher level's server separately according to described notification message.
In the present embodiment, create dns zone and the dependence between each dns server in the described dns zone is set by primary dns server, and according to dependence, send the notification message of the higher level's server info that comprises auxilliary dns server step by step to auxilliary dns server, until the described separately higher level's server info of each auxilliary dns server record, and obtain district's file to higher level's server separately according to notification message.Changed in the prior art when dns server created new dns zone, the defective that the DNS keeper need be in secondary sever manually upgrades higher level's server info of newly-built dns zone pairing district file and auxilliary dns server, realize the automatic renewal of dns server when creating the newly developed area, and effectively reduced keeper's the amount of labour.
Further, can successfully obtain district's file in order to guarantee auxilliary dns server, the notification message sending module 32 of this primary dns server also comprises: the notification message transmitting element 321 and the first feedback information receiving element 322; Wherein, notification message transmitting element 321 is connected with establishment dns zone module 31, is used for according to dependence, sends the notification message of the higher level's server info that comprises the described first auxilliary dns server to the first auxilliary dns server; The first feedback information receiving element 322 is used to receive first feedback information that the first auxilliary dns server successfully obtains district's file; Simultaneously, notification message transmitting element 321, be connected with the first feedback information receiving element 322, also be used for receiving the first auxilliary dns server when successfully obtaining first feedback information of district's file at the first feedback information receiving element 322, comprise that to the second auxilliary dns server transmission second assists the notification message of higher level's server info of dns server, higher level's server that the first auxilliary dns server is the second auxilliary dns server.
Further, the notification message sending module 32 of this primary dns server also comprises: the second feedback information receiving element 323 is used to receive second feedback information that the first auxilliary dns server does not successfully obtain district's file; Then the notification message transmitting element 321, also be connected with the second feedback information receiving element 323, also be used for receiving the first auxilliary dns server when successfully not obtaining second feedback information of district's file, repeat to send the notification message of the higher level's server info that comprises the first auxilliary dns server to the first auxilliary dns server at the second feedback information receiving element 323.
Embodiment six
The structural representation of the auxilliary dns server that Figure 10 provides for the embodiment of the invention six, as shown in figure 10, this auxilliary dns server comprises: notification message receiver module 41 and obtain district's file module 42; Wherein, notification message receiver module 41 is used to receive the notification message that primary dns server sends, and notification message comprises higher level's server info of auxilliary dns server; Obtain district's file module 42 and be connected, be used for, write down higher level's server info, and obtain district's file of the dns zone of primary dns server establishment to higher level's server of higher level's server info correspondence according to notification message with notification message receiver module 41.
In the present embodiment, the notification message receiver module 41 that should assist dns server receives the notification message that primary dns servers send, this notification message comprises higher level's server info of auxilliary dns server, wherein, higher level's server info specifically can corresponding primary dns server, perhaps another auxilliary dns server be what deserves to be mentioned is, the upper level server that another auxilliary dns server is this auxilliary dns server; Obtain district's file module 42 according to notification message, obtain district's file of the dns zone that primary dns server creates, promptly obtain district's file of the dns zone of establishment to master server or another auxilliary dns server to higher level's server.
In the present embodiment, according to receiving the notification message that primary dns server sends, write down higher level's server info, and obtain district's file of the dns zone of primary dns server establishment to higher level's server of higher level's server info correspondence by auxilliary dns server.Changed in the prior art when dns server created new dns zone, the defective that the DNS keeper need be in secondary sever manually upgrades higher level's server info of newly-built dns zone pairing district file and auxilliary dns server, realize the automatic renewal of dns server when creating the newly developed area, and effectively reduced keeper's the amount of labour.
Further, in order to improve fail safe and the reliability of transmitting the notification message that carries configuration information between first server and the server, should can also judge the notification message that receives by auxilliary dns server, to judge whether this notification message is reliable, if reliably then according to this notification message, obtain district's file to higher level's server; If unreliable, then wait for the notification message that receives primary dns server transmission next time.For example, can on each auxilliary dns server, pass through a credible source of manual configuration server list, when auxilliary dns server receives notification message, auxilliary dns server is by this credible source server list of inquiry, judge that whether the server that sends this notification message is included in this tabulation, is included in this tabulation if send the server of this notification message, then according to this notification message, send a request message to higher level's server, to obtain district's file; If the server that sends this notification message then will not respond, continue to wait for next notification message not in this tabulation.
Further, when subordinate's server of auxilliary dns server sent a request message the district file that obtains this auxilliary dns server, this auxilliary dns server also comprised: request message receiver module 43 and district's file send module 44; Wherein, request message receiver module 43 is used to receive the request message of subordinate's server transmission of assisting dns server; District's file send module 44 with request message receiver module 43 with obtain district's file module 42 and be connected, is used for according to request message, to district's file of subordinate server transmission dns zone.
Further, in order to guarantee district's file of the newly-built dns zone that obtains higher level's server that auxilliary dns server can both be successful, should also comprise by auxilliary dns server: the first feedback information sending module 45, with obtain the district file module 42 be connected, be used for sending first feedback information that auxilliary dns server successfully obtains district's file, so that primary dns server sends the notification message that comprises auxilliary dns server information to subordinate's server of auxilliary dns server to primary dns server.
Further, in order to guarantee district's file of the newly-built dns zone that obtains higher level's server that auxilliary dns server can both be successful, should also comprise by auxilliary dns server: the second feedback information sending module 46, with obtain district's file module 44 and be connected, be used for sending second feedback information that auxilliary dns server does not successfully obtain district's file to primary dns server; Then the notification message receiver module 41, be connected with the second feedback information sending module 46, be used for if the second feedback information sending module 46 when the auxilliary dns server of primary dns server transmission does not successfully obtain second feedback information of district's file, receives the notification message of the higher level's server info that comprises auxilliary dns server again.
Embodiment seven
The structural representation of the domain name system that Figure 11 provides for the embodiment of the invention six, as shown in figure 11, this domain name system comprises the foregoing description five described primary dns servers 51 and the auxilliary dns server 52 of the foregoing description six described secondarys at least; Wherein, primary dns server 51 is used to create dns zone and the dependence between each dns server in the dns zone is set, and according to dependence, send the notification message of the higher level's server info that comprises auxilliary dns server 52 step by step to auxilliary dns server 52, write down higher level's server info separately until each auxilliary dns server 52, and obtain district's file to higher level's server separately according to notification message; Auxilliary dns server 52 receives the notification message that primary dns server 51 sends, and this notification message comprises higher level's server info of auxilliary dns server 52; And, write down higher level's server info, and obtain district's file of the dns zone of described primary dns server 51 establishments to higher level's server of higher level's server info correspondence according to notification message.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (15)

1. realize the synchronous method of dns zone establishment for one kind, it is characterized in that, comprising:
Primary dns server is created dns zone and the dependence between each dns server in the described dns zone is set, described each dns server comprise described primary dns server and at least secondary assist dns server;
Described primary dns server is according to described dependence, send the notification message of the higher level's server info that comprises described auxilliary dns server step by step to described auxilliary dns server, until the described separately higher level's server info of each auxilliary dns server record, and obtain district's file to higher level's server separately according to described notification message.
2. realization dns zone according to claim 1 is created synchronous method, it is characterized in that, described primary dns server sends the notification message of the higher level's server info that comprises described auxilliary dns server step by step according to described dependence to described auxilliary dns server, comprising:
Described primary dns server sends the notification message of the higher level's server info that comprises the described first auxilliary dns server according to described dependence to the first auxilliary dns server;
Receive the described first auxilliary dns server when successfully obtaining first feedback information of described district file at described primary dns server, described primary dns server sends to the second auxilliary dns server and comprises that described second assists the notification message of higher level's server info of dns server, higher level's server that the described first auxilliary dns server is the described second auxilliary dns server.
3. realization dns zone according to claim 1 is created synchronous method, it is characterized in that, also comprises:
Receive the described first auxilliary dns server when successfully not obtaining second feedback information of described district file at described primary dns server, described primary dns server repeats to send the notification message of the higher level's server info that comprises the described first auxilliary dns server to the described first auxilliary dns server.
4. realize the synchronous method of dns zone establishment for one kind, it is characterized in that, comprising:
Auxilliary dns server receives the notification message that primary dns server sends, and described notification message comprises higher level's server info of described auxilliary dns server;
Described auxilliary dns server writes down described higher level's server info according to described notification message, and obtains district's file of the dns zone of described primary dns server establishment to higher level's server of described higher level's server info correspondence.
5. realization dns zone according to claim 4 is created synchronous method, it is characterized in that, described auxilliary dns server is according to described notification message, write down described higher level's server info, and after higher level's server of described higher level's server info correspondence obtains district's file of the dns zone that described primary dns server creates, also comprise:
Described auxilliary dns server receives the request message of subordinate's server transmission of described auxilliary dns server;
Described auxilliary dns server sends district's file of described dns zone according to described request message to described subordinate server.
6. realization dns zone according to claim 4 is created synchronous method, it is characterized in that, also comprises:
Described auxilliary dns server sends first feedback information that described auxilliary dns server successfully obtains described district file to described primary dns server, so that described primary dns server sends the notification message that comprises described auxilliary dns server information to subordinate's server of described auxilliary dns server.
7. realization dns zone according to claim 4 is created synchronous method, it is characterized in that, also comprises:
Described auxilliary dns server sends second feedback information that described auxilliary dns server does not successfully obtain described district file to described primary dns server, and then described auxilliary dns server repeats to receive the notification message of the higher level's server info that comprises described auxilliary dns server.
8. a primary dns server is characterized in that, comprising:
Create the dns zone module, be used to create dns zone and the dependence between each dns server in the described dns zone is set, described each dns server comprise primary dns server and at least secondary assist dns server;
The notification message sending module, be connected with described establishment dns zone module, be used for according to described dependence, send the notification message of the higher level's server info that comprises described auxilliary dns server step by step to described auxilliary dns server, until the described separately higher level's server info of each auxilliary dns server record, and obtain district's file to higher level's server separately according to described notification message.
9. primary dns server according to claim 8 is characterized in that, described notification message sending module comprises:
The notification message transmitting element is connected with described establishment dns zone module, is used for according to described dependence, sends the notification message of the higher level's server info that comprises the described first auxilliary dns server to the first auxilliary dns server;
The first feedback information receiving element is used to receive first feedback information that the described first auxilliary dns server successfully obtains described district file;
Described notification message transmitting element, be connected with the described first feedback information receiving element, also be used for receiving the described first auxilliary dns server when successfully obtaining first feedback information of described district file at the described first feedback information receiving element, comprise that to the second auxilliary dns server transmission described second assists the notification message of higher level's server info of dns server, higher level's server that the described first auxilliary dns server is the described second auxilliary dns server.
10. primary dns server according to claim 9 is characterized in that, described notification message sending module also comprises:
The second feedback information receiving element is used to receive second feedback information that the described first auxilliary dns server does not successfully obtain described district file;
Described notification message transmitting element, be connected with the described second feedback information receiving element, also be used for receiving the described first auxilliary dns server when successfully not obtaining second feedback information of described district file, repeat to send the notification message of the higher level's server info that comprises the described first auxilliary dns server to the described first auxilliary dns server at the second feedback information receiving element.
11. an auxilliary dns server is characterized in that, comprising:
The notification message receiver module is used to receive the notification message that primary dns server sends, and described notification message comprises higher level's server info of described auxilliary dns server;
Obtain district's file module, be connected with described notification message receiver module, be used for according to described notification message, write down described higher level's server info, and obtain district's file of the dns zone of described primary dns server establishment to higher level's server of described higher level's server info correspondence.
12. auxilliary dns server according to claim 11 is characterized in that, also comprises:
The request message receiver module is used to receive the request message that subordinate's server of described auxilliary dns server sends;
District's file send module with the described request message module with obtain and distinguish file module and be connected, is used for according to described request message, sends district's file of described dns zone to described subordinate server.
13. auxilliary dns server according to claim 11 is characterized in that, also comprises:
The first feedback information sending module, be connected with the described district's file module that obtains, be used for sending first feedback information that described auxilliary dns server successfully obtains described district file, so that described primary dns server sends the notification message that comprises described auxilliary dns server information to subordinate's server of described auxilliary dns server to described primary dns server.
14. auxilliary dns server according to claim 11 is characterized in that, also comprises:
The second feedback information sending module is connected with the described district's file module that obtains, and is used for sending second feedback information that described auxilliary dns server does not successfully obtain described district file to described primary dns server;
Described notification message receiver module, be connected with the described second feedback information sending module, be used for if the described second feedback information sending module when described primary dns server sends described auxilliary dns server and successfully do not obtain second feedback information of described district file, repeats to receive the notification message of the higher level's server info that comprises described auxilliary dns server.
15. a domain name system is characterized in that, comprises as the arbitrary described primary dns server of claim 8~10 and secondary such as the arbitrary described auxilliary dns server of claim 11~14 at least.
CN201010101269.0A 2010-01-26 2010-01-26 Method, server and domain name system for realizing purpose of creating synchronization in DNS region Active CN101841409B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201010101269.0A CN101841409B (en) 2010-01-26 2010-01-26 Method, server and domain name system for realizing purpose of creating synchronization in DNS region
PCT/CN2010/074573 WO2011091646A1 (en) 2010-01-26 2010-06-28 Method, server and domain name system for realizing synchronization of the domain name system zone creation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010101269.0A CN101841409B (en) 2010-01-26 2010-01-26 Method, server and domain name system for realizing purpose of creating synchronization in DNS region

Publications (2)

Publication Number Publication Date
CN101841409A true CN101841409A (en) 2010-09-22
CN101841409B CN101841409B (en) 2013-04-24

Family

ID=42744550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010101269.0A Active CN101841409B (en) 2010-01-26 2010-01-26 Method, server and domain name system for realizing purpose of creating synchronization in DNS region

Country Status (2)

Country Link
CN (1) CN101841409B (en)
WO (1) WO2011091646A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024094A (en) * 2012-11-15 2013-04-03 中国科学院计算机网络信息中心 Safe and reliable DNS zone file information issuing updating method and system
CN103259866A (en) * 2013-05-23 2013-08-21 中国科学院计算机网络信息中心 DNS zone file multi-node transmission method and system
CN103685260A (en) * 2013-12-09 2014-03-26 中国科学院计算机网络信息中心 Overlaying multicast zone file transmitting method and system
CN103856569A (en) * 2012-11-28 2014-06-11 方正宽带网络服务股份有限公司 Method and device for synchronizing domain name system resource information
WO2014187123A1 (en) * 2013-05-23 2014-11-27 中国科学院计算机网络信息中心 Network-coding-based self-adaptive dns zone file transmission method and system
CN106210158A (en) * 2015-05-04 2016-12-07 阿里巴巴集团控股有限公司 The synchronous method of a kind of domain name mapping and equipment
CN106713020A (en) * 2016-12-09 2017-05-24 互联网域名***北京市工程研究中心有限公司 Method for realizing updating and synchronization of domain name system (DNS) server cluster configuration
CN103338222B (en) * 2013-05-23 2017-06-06 中国科学院计算机网络信息中心 A kind of autosynchronous method of area's data for realizing DNS master and auxiliary server
CN111107179A (en) * 2019-12-30 2020-05-05 北京信息科技大学 Decentralized domain name service method, data acquisition method and system
CN113392160A (en) * 2021-06-25 2021-09-14 济南博观智能科技有限公司 Personnel information synchronization method, device, equipment and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9992155B2 (en) 2012-03-29 2018-06-05 Hitachi Vantara Corporation DNS alias synchronization in replication topology
WO2013147784A1 (en) * 2012-03-29 2013-10-03 Hitachi Data Systems Corporation Dns alias synchronization in replication topology
US8935430B2 (en) 2012-06-29 2015-01-13 Verisign, Inc. Secondary service updates into DNS system
CN116436836B (en) * 2023-06-13 2023-09-01 阿里巴巴(中国)有限公司 Domain name data synchronous detection method, device and equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040015584A1 (en) * 2000-10-09 2004-01-22 Brian Cartmell Registering and using multilingual domain names
US7392324B2 (en) * 2004-08-13 2008-06-24 International Business Machines Corporation Consistent snapshots of dynamic heterogeneously managed data
EP2052526A2 (en) * 2006-05-17 2009-04-29 France Telecom Server and method for managing domain names in a network
CN101232421B (en) * 2008-02-26 2010-07-21 上海可鲁***软件有限公司 Industry internet networking method and address analysis method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024094B (en) * 2012-11-15 2015-07-22 中国科学院计算机网络信息中心 Safe and reliable DNS zone file information issuing updating method and system
CN103024094A (en) * 2012-11-15 2013-04-03 中国科学院计算机网络信息中心 Safe and reliable DNS zone file information issuing updating method and system
CN103856569B (en) * 2012-11-28 2018-09-11 方正宽带网络服务有限公司 A kind of method and apparatus of synchronous domain name system asset information
CN103856569A (en) * 2012-11-28 2014-06-11 方正宽带网络服务股份有限公司 Method and device for synchronizing domain name system resource information
CN103259866B (en) * 2013-05-23 2016-01-27 中国科学院计算机网络信息中心 A kind of method and system of DNS zone file multi-node transmission
WO2014187123A1 (en) * 2013-05-23 2014-11-27 中国科学院计算机网络信息中心 Network-coding-based self-adaptive dns zone file transmission method and system
CN103338222B (en) * 2013-05-23 2017-06-06 中国科学院计算机网络信息中心 A kind of autosynchronous method of area's data for realizing DNS master and auxiliary server
CN103259866A (en) * 2013-05-23 2013-08-21 中国科学院计算机网络信息中心 DNS zone file multi-node transmission method and system
CN103685260A (en) * 2013-12-09 2014-03-26 中国科学院计算机网络信息中心 Overlaying multicast zone file transmitting method and system
CN103685260B (en) * 2013-12-09 2016-08-31 中国科学院计算机网络信息中心 The area file transfer approach of overlay multicast and system
CN106210158A (en) * 2015-05-04 2016-12-07 阿里巴巴集团控股有限公司 The synchronous method of a kind of domain name mapping and equipment
CN106713020A (en) * 2016-12-09 2017-05-24 互联网域名***北京市工程研究中心有限公司 Method for realizing updating and synchronization of domain name system (DNS) server cluster configuration
CN111107179A (en) * 2019-12-30 2020-05-05 北京信息科技大学 Decentralized domain name service method, data acquisition method and system
CN113392160A (en) * 2021-06-25 2021-09-14 济南博观智能科技有限公司 Personnel information synchronization method, device, equipment and storage medium

Also Published As

Publication number Publication date
WO2011091646A1 (en) 2011-08-04
CN101841409B (en) 2013-04-24

Similar Documents

Publication Publication Date Title
CN101841409B (en) Method, server and domain name system for realizing purpose of creating synchronization in DNS region
CN102629268B (en) Data synchronization method, system and date access device
CN101217411B (en) A method, device and system realizing the upgrading of stacking device software
CN110138606B (en) Container network configuration method and system
CN101841520B (en) Domain name system and information processing method and device for domain name system
JP2019526106A (en) Data processing method and device
CN104092718A (en) Distributed system and configuration information updating method in distributed system
CN103460203A (en) Cluster unique identifier
CN103856569A (en) Method and device for synchronizing domain name system resource information
CN102402441B (en) System and method for configuring multiple computers
CN102143194A (en) Data synchronization method and system, immediate data node and terminal data node
WO2016177231A1 (en) Dual-control-based active-backup switching method and device
CN103516755A (en) Virtual storage method and equipment thereof
CN104750738B (en) A kind of method for updating the data information, back end, management node and system
CN102438042B (en) Dynamic parameter synchronizing method and system of multipoint access device
CN101986659B (en) Real-time data transmission method and system
CN102571923A (en) Data synchronization system and method
CN104539742A (en) Information push method, information push device and information push system
CN100550818C (en) A kind of data reconstruction method, device, storage server and Dynamic Host Configuration Protocol server
CN107038094A (en) A kind of data back up method and device
CN102801782A (en) Synchronous updating method and system for data
CN102982033A (en) Small documents storage method and system thereof
CN102123079B (en) Method and device for processing transaction message
CN105511808A (en) Data operation method, system and related device
CN109344202A (en) A kind of method of data synchronization and management node

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210305

Address after: 100190 room 506, building 2, courtyard 4, South 4th Street, Zhongguancun, Haidian District, Beijing

Patentee after: CHINA INTERNET NETWORK INFORMATION CENTER

Address before: 100190 No. four, four South Street, Haidian District, Beijing, Zhongguancun

Patentee before: Computer Network Information Center, Chinese Academy of Sciences

TR01 Transfer of patent right