WO2011091646A1 - Method, server and domain name system for realizing synchronization of the domain name system zone creation - Google Patents

Method, server and domain name system for realizing synchronization of the domain name system zone creation Download PDF

Info

Publication number
WO2011091646A1
WO2011091646A1 PCT/CN2010/074573 CN2010074573W WO2011091646A1 WO 2011091646 A1 WO2011091646 A1 WO 2011091646A1 CN 2010074573 W CN2010074573 W CN 2010074573W WO 2011091646 A1 WO2011091646 A1 WO 2011091646A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
dns server
dns
zone
notification message
Prior art date
Application number
PCT/CN2010/074573
Other languages
French (fr)
Chinese (zh)
Inventor
毛伟
李晓东
王欣
金键
韩枫
Original Assignee
中国科学院计算机网络信息中心
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 中国科学院计算机网络信息中心 filed Critical 中国科学院计算机网络信息中心
Publication of WO2011091646A1 publication Critical patent/WO2011091646A1/en

Links

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]

Definitions

  • the embodiments of the present invention relate to the field of domain name system technologies, and in particular, to a method for implementing synchronization creation of a DNS zone, a primary DNS server, a secondary DNS server, and a domain name system. Background technique
  • the Domain Name System is a distributed database that includes domain names and Internet Protocol (IP) addresses.
  • the DNS is stored on a DNS server distributed around the world.
  • the DNS service packs the primary master server H (secondary server).
  • the primary server refers to the server that stores the relevant files of the zone, and is the most fundamental source of domain information. It is the source of all secondary servers for domain transfers; the primary server reads domain data from local hard disk files.
  • the secondary server also known as the secondary server, is responsible for transferring all information about a zone from another server (primary or secondary) and storing the file on its local hard drive.
  • the secondary server can also provide the necessary redundant services.
  • all servers should be listed in the name server (Name Server; hereinafter short record) of the upper-level domain.
  • the DNS administrator when the DNS administrator independently creates a new DNS zone on the primary server, the DNS administrator can separately create the zone file corresponding to the new DNS zone on each secondary server, or by using some software tools, for example. : rdist or rsync, manually update the zone files on each secondary server to ensure that the zone files on each server in the DNS are synchronized.
  • rdist or rsync manually update the zone files on each secondary server to ensure that the zone files on each server in the DNS are synchronized.
  • the inventor has found that at least the following problems exist in the prior art: In the prior art, when a new DNS zone is created for a DNS server, the DNS administrator needs to create a new DNS zone in the primary server and the secondary server respectively. The corresponding zone file is manually updated, which makes the administrator's operation relatively cumbersome. Summary of the invention
  • the embodiment of the present invention provides a method for synchronizing a DNS zone, a primary DNS server, a secondary DNS server, and a domain name system, which are used to solve the problem of creating a new DNS zone for a DNS server in the prior art, where the DNS administrator needs to be in the primary server and A defect in the secondary server that manually updates the zone file corresponding to the newly created DNS zone.
  • An embodiment of the present invention provides a method for implementing synchronization of a DNS zone, including:
  • the primary DNS server creates a DNS zone and sets a dependency relationship between the DNS servers in the DNS zone, where each DNS server includes a primary DNS server and at least a secondary secondary DNS server;
  • the primary DNS server sends a notification message including the upper-level server information of the secondary DNS server to the secondary DNS server in a stepwise manner, until the secondary DNS server records the information of the upper-level server, and according to the dependency relationship,
  • the notification message acquires the zone file from the respective superior server.
  • the embodiment of the invention further provides a method for implementing synchronization of a DNS zone, including:
  • the secondary DNS server receives the notification message sent by the primary DNS server, where the notification message includes the upper-level server information of the secondary DNS server;
  • the secondary DNS server records the superior server information according to the notification message, and acquires the zone file of the DNS zone created by the primary DNS server to the upper-level server corresponding to the superior server information.
  • An embodiment of the present invention provides a primary DNS server, including:
  • Creating a DNS zone module configured to create a DNS zone and set a dependency relationship between the DNS servers in the DNS zone, where each DNS server includes a primary DNS server and at least a secondary secondary DNS server;
  • the notification message sending module is connected to the created DNS zone module, and is configured to send, according to the dependency relationship, a notification message including the upper-level server information of the secondary DNS server to the secondary DNS server step by step, until each secondary DNS The server records the respective upper server information, and Obtaining a zone file from the respective upper-level servers according to the notification message.
  • the embodiment of the invention further provides a secondary DNS server, including:
  • a notification message receiving module configured to receive a notification message sent by the primary DNS server, where the notification message includes upper server information of the secondary DNS server;
  • the obtaining area file module is connected to the notification message receiving module, configured to record the upper-level server information according to the notification message, and acquire the DNS created by the primary DNS server from the upper-level server corresponding to the upper-level server information District area file.
  • the embodiment of the present invention further provides a domain name system, including the primary DNS server described above and at least two secondary DNS servers described above.
  • the method for implementing synchronization of the DNS zone, the primary DNS server, the secondary DNS server, and the domain name system are implemented by the primary DNS server, and the dependencies between the DNS servers in the DNS zone are set, and according to the dependency
  • the relationship is sent to the secondary DNS server to send a notification message including the upper-level server information of the secondary DNS server, until each secondary DNS server records the respective upper-level server information, and acquires the zone file from the respective upper-level servers according to the notification message.
  • the DNS administrator needs to manually update the zone file corresponding to the newly created DNS zone and the superior server information of the secondary DNS server in the secondary server, and implements the DNS.
  • the server automatically updates when creating a new zone, and effectively reduces the amount of labor for the administrator.
  • FIG. 1 is a flowchart of a method for synchronizing DNS zone creation according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for synchronizing DNS zone creation according to Embodiment 2 of the present invention
  • FIG. 3 is still another flowchart of a method for implementing synchronization of a DNS zone according to Embodiment 2 of the present invention
  • FIG. 4 is a schematic diagram of a tree dependency relationship between DNS servers in a DNS zone according to Embodiment 2 of the present invention
  • FIG. 5 is a flowchart of a method for synchronizing DNS zone creation according to Embodiment 3 of the present invention
  • FIG. 6 is a flowchart of a method for synchronizing DNS zone creation according to Embodiment 4 of the present invention
  • FIG. 8 is another flowchart of a method for implementing synchronization of a DNS zone according to Embodiment 4 of the present invention
  • FIG. 9 is a flowchart of a primary DNS provided by Embodiment 5 of the present invention. Schematic diagram of the server;
  • FIG. 10 is a schematic structural diagram of a secondary DNS server according to Embodiment 6 of the present invention.
  • FIG. 11 is a schematic structural diagram of a domain name system according to Embodiment 6 of the present invention. detailed description
  • FIG. 1 is a flowchart of a method for implementing synchronization of a DNS zone according to Embodiment 1 of the present invention. As shown in FIG. 1, the method includes:
  • the primary DNS server creates a DNS zone and sets a dependency relationship between the DNS servers in the DNS zone.
  • Each DNS server includes a primary DNS server and at least a secondary secondary DNS server.
  • Step 12 The primary DNS server sends a notification message including the upper-level server information of the secondary DNS server to the secondary DNS server according to the dependency relationship, until each secondary DNS server records the information of the upper-level server, and obtains the area from the upper-level server according to the notification message. file.
  • the superior server information of the secondary DNS server is specifically the primary in the new DNS zone. DNS server, or another secondary DNS server in the new DNS zone.
  • the secondary DNS server obtains the zone file from the primary DNS server according to the notification message;
  • the superior server information of the secondary DNS server is another secondary DNS server, the secondary DNS server according to the notification Message, get the zone file from another secondary DNS server.
  • the zone file is composed of Resource Record (hereinafter referred to as RR), and RR is the core data of DNS.
  • the RR contains resource information of all secondary DNS servers and primary DNS servers in the DNS.
  • the DNS zone is created by the primary DNS server, and the dependencies between the DNS servers in the DNS zone are set, and the superior server information including the secondary DNS server is sent to the secondary DNS server step by step according to the dependency relationship.
  • the notification message is sent until the secondary DNS servers record their respective upper-level server information, and obtain the zone file from the respective upper-level servers according to the notification message.
  • the DNS administrator needs to manually update the zone file corresponding to the newly created DNS zone and the superior server information of the secondary DNS server in the secondary server, and implements the DNS.
  • the server automatically updates when creating a new zone, and effectively reduces the amount of labor for the administrator.
  • FIG. 2 is a flowchart of a method for implementing synchronization of a DNS zone according to Embodiment 2 of the present invention. As shown in FIG. 2, step 12 of the method includes:
  • Step 121 The primary DNS server sends a notification message including the information of the upper-level server of the first secondary DNS server to the first secondary DNS server according to the dependency relationship.
  • Step 122 When the primary DNS server receives the first feedback information of the first secondary DNS server successfully acquiring the zone file, the primary DNS server sends a notification message including the upper-level server information of the second secondary DNS server to the second secondary DNS server, where The secondary DNS server is the upper-level server of the second secondary DNS server, until each secondary DNS server records the respective superior service information, and acquires the zone file from the respective upper-level servers according to the notification message.
  • FIG. 3 is a method for implementing synchronization of DNS zone creation according to Embodiment 2 of the present invention.
  • the specific implementation of the method is based on the foregoing embodiment.
  • the mode is as shown in FIG. 3, and after step 121, the method further includes:
  • Step 123 When the primary DNS server receives the second feedback information that the first secondary DNS server does not successfully obtain the zone file, step 11 is performed.
  • FIG. 4 is a schematic diagram of creating a DNS server in a DNS zone according to Embodiment 2 of the present invention. A schematic diagram of the tree-dependent relationship between the two, as shown in FIG.
  • the first-level server under the primary DNS server includes the first secondary DNS server and the first The second secondary DNS server
  • the second level server under the primary DNS server includes a second secondary DNS server and a third secondary DNS server
  • the third level server under the primary DNS server includes a fourth secondary DNS server and a fifth secondary DNS server
  • the sixth secondary DNS server and the seventh secondary secondary server at the same time, it can be known that the upper secondary server of the first secondary DNS server is the primary DNS server, and the second secondary DNS server has two upper-level servers, respectively, the primary DNS server and The first secondary DNS server, the upper secondary server of the third secondary DNS server is the first secondary DNS server, the fourth secondary DNS server, and the fifth secondary
  • the upper-level server of the DNS server is the second secondary DNS server
  • the upper-level server of the sixth secondary DNS server and the seventh secondary DNS server is the third secondary DNS server.
  • the primary DNS server first sends a notification message to the first secondary DNS server and the second secondary DNS server in the first-level server according to the tree-dependency relationship between the DNS servers in the DNS zone, where
  • the upper server information of the first secondary DNS server sent by the DNS server (ie, the primary DNS server), and the notification message sent to the second secondary DNS server includes the upper server information of the second secondary DNS server (ie, the primary DNS server), the first The secondary DNS service and the second secondary DNS server respectively record the upper-level server information (that is, the primary DNS server information) according to the notification message, and acquire the zone file respectively from the primary DNS server corresponding to the upper-level server information.
  • the first secondary DNS server and the secondary secondary DNS server are taken as an example.
  • the workflow of the first secondary DNS server after receiving the notification message is as follows: If the first secondary DNS server fails to obtain the zone file, the first secondary DNS server sends the second feedback information of the zone file to the primary DNS server. According to the received second feedback information, according to the dependency relationship, the notification message is repeatedly sent to the first secondary DNS server in the first-level secondary server within a certain period of time until the first secondary DNS server successfully obtains the area of the primary DNS server. file.
  • the second secondary DNS server and the third secondary DNS server in the second-level secondary DNS server send a notification message.
  • the second secondary DNS server When the second secondary DNS server receives the notification message, it first determines whether the acquired zone file has been stored, and if it is stored, Recording the superior server information information (ie, the first secondary DNS server information) in the current notification message, and sending the first feedback information to the primary DNS server; if there is no storage, for example, causing the second secondary DNS due to a network failure or the like If the server does not successfully obtain the zone file from the primary DNS server, the second secondary DNS server obtains the zone file from the first secondary DNS server corresponding to the upper-level server information, and if the second secondary DNS server obtains the zone file sent by the first secondary DNS server, Sending the first feedback information of the second secondary DNS server to obtain the zone file to the primary DNS server, The primary DNS server sends a notification message to the lower secondary server of the second secondary DNS server, that is, the fourth secondary DNS server and the fifth secondary DNS server according to the received first feedback information and the dependency relationship, and the fourth secondary DNS server and the fifth
  • the primary DNS server may further set a notification message sending list according to the dependency relationship between the DNS servers in the new DNS zone, where the notification message sending list stores information corresponding to all the secondary DNS servers in the new DNS zone. Notification message.
  • the primary DNS server receives the first feedback information sent by the secondary DNS server
  • the first feedback information may further include the secondary DNS server information
  • the primary DNS server deletes the notification message sending list according to the secondary DNS server information.
  • a notification message corresponding to the secondary DNS server information indicates that the notification message corresponding to the secondary DNS server information is successfully completed.
  • a secondary DNS server may have N upper-level servers, where N is a natural number and is greater than or equal to 1, so that the secondary DNS server needs to receive N notification messages.
  • the primary DNS server sends three notification messages to the secondary DNS server.
  • Each notification message carries the corresponding superior server information in the secondary DNS server, and the secondary DNS server receives the information.
  • the area file is obtained from the first upper-level server according to the notification message, and if the acquisition area file is successful, the first feedback information is sent to the primary DNS server; when the secondary DNS server receives the second
  • the notification message is sent, the secondary DNS server has acquired the zone file at this time, so only the first feedback information needs to be sent to the primary DNS server; when the secondary DNS server receives the third notification message, the principle and the received
  • the second notification message has the same workflow.
  • the secondary DNS server has several upper-level servers, as long as the successful acquisition of the zone file from a superior server is successful, when receiving the notification message of the other superior server information, it is only necessary to record the superior server information in the notification message and The primary DNS server sends the first feedback information to inform the successful acquisition of the zone file.
  • the primary DNS server sends the first feedback information to inform the successful acquisition of the zone file.
  • each time the secondary DNS server receives a notification message it will record the superior server information in the notification message accordingly.
  • the primary DNS server When the primary DNS server receives the second feedback information corresponding to the secondary DNS server that is sent by the secondary DNS server, the primary DNS server keeps the notification message sending list unchanged, and after a certain period of time, the auxiliary corresponding to the secondary DNS server information The DNS server sends a notification message.
  • each secondary DNS server automatically obtains the zone file from the upper-level server of the secondary DNS server according to the received notification message, thereby effectively reducing the primary to a certain extent.
  • the load on the DNS server reduces the administrator's work intensity.
  • FIG. 5 is a flowchart of a method for synchronizing DNS zone creation according to Embodiment 3 of the present invention. As shown in FIG. 5, the method includes: Step 21: The secondary DNS server receives the notification message sent by the primary DNS server, where the notification message includes the upper-level server information of the secondary DNS server.
  • Step 22 The secondary DNS server records the upper-level server information according to the notification message, and obtains the zone file of the DNS zone created by the primary DNS server by the upper-level server corresponding to the upper-level server information.
  • the upper-level server information of the secondary DNS server is specifically the primary DNS server in the new DNS zone, or another secondary DNS server in the new DNS zone.
  • the secondary DNS server records the primary DNS server information according to the notification message, and obtains the zone file from the primary DNS server; when the secondary server information of the secondary DNS server is another secondary DNS server.
  • the secondary DNS server records another secondary DNS server information according to the notification message, and acquires the zone file from another secondary DNS server.
  • the secondary DNS server records the upper-level server information according to the notification message sent by the primary DNS server, and obtains the area file of the DNS zone created by the primary DNS server from the upper-level server.
  • the DNS administrator needs to manually update the zone file corresponding to the newly created DNS zone and the superior server information of the secondary DNS server in the secondary server, and implements the DNS.
  • the server automatically updates when creating a new zone, and effectively reduces the amount of labor for the administrator.
  • FIG. 6 is a flowchart of a method for synchronizing DNS zone creation according to Embodiment 4 of the present invention.
  • the request message sent by the subordinate server of the secondary DNS server is For example, the technical solution of the present invention is introduced in detail.
  • the method further includes:
  • Step 23 The secondary DNS server receives the request message sent by the lower-level server of the secondary DNS server.
  • Step 24 The secondary DNS server sends the area file of the DNS zone to the lower-level server according to the request message.
  • FIG. 7 is still another flowchart of a method for implementing synchronization of a DNS zone according to Embodiment 4 of the present invention.
  • the secondary DNS server assists The success of the DNS server is as follows. The technical solution of the present invention is described in detail. As shown in FIG. 7, after step 22, the method further includes:
  • Step 25 The secondary DNS server sends the first feedback information of the secondary DNS server to the primary DNS server to obtain the zone file, so that the primary DNS server sends a notification message including the secondary DNS server information to the secondary server of the secondary DNS server.
  • FIG. 8 is another flowchart of a method for implementing synchronization of a DNS zone according to Embodiment 4 of the present invention.
  • the secondary DNS server receives the notification message
  • the secondary DNS server is unsuccessful.
  • the method of obtaining the zone file is taken as an example, and the technical solution of the present invention is introduced in detail.
  • the method further includes:
  • Step 26 The secondary DNS server sends the second feedback information that the secondary DNS server does not successfully obtain the zone file to the primary DNS server, and step 21 is performed.
  • the second secondary DNS server in the tree-dependent relationship between the DNS servers in the DNS zone is taken as an example in FIG. 4 of the second embodiment, and the technical solution of the present invention is introduced in detail.
  • the second secondary DNS server receives the request message sent by the fourth secondary DNS server and the fifth secondary DNS server, and sends the area file of the DNS zone to the fourth secondary DNS server and the fifth secondary DNS server according to the request message, if the fourth auxiliary If the DNS server and the fifth secondary DNS server obtain the zone file successfully, the fourth secondary DNS server and the fifth secondary DNS server respectively send the first feedback information to the primary DNS server; if the fourth secondary DNS server and/or the fifth If the secondary DNS server fails to obtain the zone file successfully, the second feedback information is sent to the primary DNS server, and the primary DNS server repeatedly sends the notification message to the fourth secondary DNS server and/or the fifth secondary DNS server until the first The four secondary DNS servers and the fifth secondary DNS server succeeded in obtaining the zone file.
  • FIG. 9 is a schematic structural diagram of a primary DNS server according to Embodiment 5 of the present invention.
  • the primary DNS server includes: a DNS zone module 31 and a notification message sending module 32. Create a DNS zone and set the dependencies between DNS servers in the DNS zone.
  • Each DNS server includes a primary DNS server and at least a secondary secondary DNS server.
  • the sending module 32 is connected to the created DNS area module 31, and is configured to send, according to the dependency relationship, a notification message including the upper-level server information of the secondary DNS server to the secondary DNS server, until each secondary DNS server records the information of the upper-level server, and according to The notification message acquires the zone file from the respective superior server.
  • the DNS zone module 31 of the primary DNS server creates a DNS zone and sets a dependency relationship between the DNS servers in the DNS zone.
  • Each DNS server includes a primary DNS server and at least a secondary secondary DNS server, where each The secondary secondary DNS server may include multiple secondary DNS servers, and the notification message sending module 32 sends a notification message including the upper-level server information of the secondary DNS server to the secondary DNS server according to the dependency relationship until the secondary DNS servers record their respective upper-level servers. Information, and acquiring a zone file from the respective upper server according to the notification message.
  • the DNS zone is created by the primary DNS server, and the dependencies between the DNS servers in the DNS zone are set, and the superior server information including the secondary DNS server is sent to the secondary DNS server step by step according to the dependency relationship.
  • the notification message is up until each secondary DNS server records the respective upper-level server information, and acquires the zone file from the respective upper-level servers according to the notification message.
  • the DNS administrator needs to manually update the zone file corresponding to the newly created DNS zone and the superior server information of the secondary DNS server in the secondary server, and implements the DNS.
  • the server automatically updates when creating a new zone, and effectively reduces the amount of labor for the administrator.
  • the notification message sending module 32 of the primary DNS server further includes: a notification message sending unit 321 and a first feedback information receiving unit 322; wherein the notification message sending unit 321 and the creation The DNS area module 31 is connected to send a notification message including the upper-level server information of the first secondary DNS server to the first secondary DNS server according to the dependency relationship; the first feedback information receiving unit 322 is configured to receive the first auxiliary The DNS server successfully obtains the first feedback information of the zone file.
  • the notification message sending unit 321 is connected to the first feedback information receiving unit 322, and is further configured to receive the first secondary DNS server successfully by the first feedback information receiving unit 322.
  • the second secondary DNS service is obtained.
  • the server sends a notification message including the upper-level server information of the second secondary DNS server, and the first secondary DNS server is the upper-level server of the second secondary DNS server.
  • the notification message sending module 32 of the primary DNS server further includes: a second feedback information receiving unit 323, configured to receive second feedback information that the first secondary DNS server does not successfully acquire the zone file; and then notify the message sending unit 321 And being connected to the second feedback information receiving unit 323, and is further configured to repeat to the first secondary DNS server when the second feedback information receiving unit 323 receives the second feedback information that the first secondary DNS server does not successfully acquire the zone file.
  • a notification message including the upper server information of the first secondary DNS server is sent.
  • the secondary DNS server includes: a notification message receiving module 41 and an acquisition area file module 42.
  • the notification message receiving module 41 is used by Receiving the notification message sent by the primary DNS server, the notification message includes the upper-level server information of the secondary DNS server; the acquisition area file module 42 is connected to the notification message receiving module 41, and is configured to record the upper-level server information according to the notification message, and the upper-level server information
  • the corresponding upper-level server obtains the zone file of the DNS zone created by the primary DNS server.
  • the notification message receiving module 41 of the secondary DNS server receives the notification message sent by the primary DNS server, where the notification message includes the upper-level server information of the secondary DNS server, where the upper-level server information may specifically correspond to the primary DNS server, or Another secondary DNS server, it is worth mentioning that another secondary DNS server is the upper-level server of the secondary DNS server; the acquisition zone file module 42 obtains the zone of the DNS zone created by the primary DNS server according to the notification message to the upper-level server. File, that is, the zone file of the created DNS zone is obtained from the primary server or another secondary DNS server.
  • the secondary DNS server records the upper-level server information according to the notification message sent by the primary DNS server, and acquires the area file of the DNS zone created by the primary DNS server by the upper-level server corresponding to the upper-level server information.
  • the DNS administrator needs to manually update the zone file corresponding to the newly created DNS zone and the superior server information of the secondary DNS server in the secondary server, and implements the DNS.
  • the server is creating a new The automatic update of the zone time, and effectively reduce the amount of labor of the administrator.
  • the secondary DNS server may further determine the received notification message to determine whether the notification message is reliable. If reliable, according to the notification message, the upper-level server acquires the zone file; if it is not reliable, it waits to receive the notification message sent by the next primary DNS server.
  • a trusted source server list may be manually configured on each secondary DNS server.
  • the secondary DNS server When the secondary DNS server receives the notification message, the secondary DNS server queries the trusted source server list to determine whether the server that sends the notification message includes In the list, if the server that sends the notification message is included in the list, according to the notification message, the request message is sent to the upper server to acquire the area file; if the server that sends the notification message is not in the list, In response, continue to wait for the next notification message.
  • the secondary DNS server further includes: a request message receiving module 43 and a zone file sending module 44; wherein the request message receiving module 43 a request message sent by the lower-level server for receiving the secondary DNS server; the zone file sending module 44 is connected to the request message receiving module 43 and the acquisition zone file module 42 for transmitting the zone file of the DNS zone to the lower-level server according to the request message. .
  • the secondary DNS server further includes: a first feedback information sending module 45, connected to the acquisition zone file module 42, for The first feedback information of the secondary DNS server successfully acquiring the zone file is sent to the primary DNS server, so that the primary DNS server sends a notification message including the secondary DNS server information to the secondary server of the secondary DNS server.
  • the secondary DNS server further includes: a second feedback information sending module 46, connected to the acquisition zone file module 44, for The second feedback information that the secondary DNS server does not successfully obtain the zone file is sent to the primary DNS server; the notification message receiving module 41 is connected to the second feedback information sending module 46, and is configured to send the second feedback information sending module 46 to the primary DNS.
  • Server sends secondary DNS When the server does not successfully obtain the second feedback information of the zone file, the server re-receives the notification message including the upper-level server information of the secondary DNS server.
  • FIG. 11 is a schematic structural diagram of a domain name system according to Embodiment 6 of the present invention.
  • the domain name system includes the primary DNS server 51 according to the fifth embodiment and the at least secondary secondary DNS described in the foregoing sixth embodiment.
  • the server 52 wherein, the primary DNS server 51 is configured to create a DNS zone and set a dependency relationship between the DNS servers in the DNS zone, and send the superior server information including the secondary DNS server 52 to the secondary DNS server 52 step by step according to the dependency relationship.
  • the notification message until the secondary DNS server 52 records the respective upper-level server information, and acquires the zone file from the respective upper-level servers according to the notification message; the secondary DNS server 52 receives the notification message sent by the primary DNS server 51, and the notification message includes the secondary DNS server 52.
  • the upper-level server information is recorded; and the upper-level server information is recorded according to the notification message, and the zone file of the DNS zone created by the primary DNS server 51 is obtained by the upper-level server corresponding to the upper-level server information.
  • the foregoing storage medium includes: a medium that can store a program code, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Abstract

The present invention provides a method, primary Domain Name System(DNS) server, secondary DNS server and domain name system for realizing synchronization of the DNS zone creation, wherein the method includes: the primary DNS server creates a DNS zone and sets the dependence relationship between each DNS server in the DNS zone, and each DNS server includes a primary DNS server and at least two levels of secondary DNS servers(11); according to the dependence relationship, the primary DNS server sends to the secondary DNS servers level by level a notification message including the information of the higher-level server of the secondary DNS servers, until each secondary DNS server has recorded the information of the higher-level server which each secondary DNS server belongs to, and has obtained the zone file from each higher-level server according to the notification message(12). The defect of the prior art that when the DNS server creates a new DNS zone, the DNS administer needs to execute manual update on the zone file corresponding to the newly created DNS zone and the higher-level server information of the secondary DNS server in the secondary DNS server is changed, and thus when the DNS server creates a new DNS zone, an automatic update is realized.

Description

实现 DNS区创建同步的方法、 服务器以及域名系统  Method, server and domain name system for implementing synchronization of DNS zone
技术领域 Technical field
本发明实施例涉及域名系统技术领域, 尤其涉及一种实现 DNS区创建同 步的方法、 主 DNS服务器、 辅 DNS服务器以及域名系统。 背景技术  The embodiments of the present invention relate to the field of domain name system technologies, and in particular, to a method for implementing synchronization creation of a DNS zone, a primary DNS server, a secondary DNS server, and a domain name system. Background technique
域名系统 (Domain Name System; 以下简称: DNS)是一个包括可以 将域名和因特网协议 ( Internet Protocol; 以下简称: IP) 地址相互映 射的分布式数据库。 DNS存放于分布在世界各地的 DNS服务器上, DNS服 H 包 4舌 月良 ( primary master server ) 月 H ( secondary server)。 其中, 主服务器是指存储了授权区( Zone )有关文件的服务器, 是一个域(Domain)信息的最根本的来源。 它是所有辅服务器进行域传输 的源; 主服务器是从本地硬盘文件中读取域的数据的。 辅服务器又称作次 级服务器, 负责从另一个服务器(主服务器或者辅服务器)传输一个区的 全部信息, 并将文件存储在它的本地硬盘中。 辅服务器还可以提供必须的 冗余服务。 同时, 所有服务器(包括主服务器和所有辅服务器)都应该列 在上级域的名字服务器 (Name Server; 以下简称: NS )记录中。  The Domain Name System (DNS) is a distributed database that includes domain names and Internet Protocol (IP) addresses. The DNS is stored on a DNS server distributed around the world. The DNS service packs the primary master server H (secondary server). Among them, the primary server refers to the server that stores the relevant files of the zone, and is the most fundamental source of domain information. It is the source of all secondary servers for domain transfers; the primary server reads domain data from local hard disk files. The secondary server, also known as the secondary server, is responsible for transferring all information about a zone from another server (primary or secondary) and storing the file on its local hard drive. The secondary server can also provide the necessary redundant services. At the same time, all servers (including the primary server and all secondary servers) should be listed in the name server (Name Server; hereinafter short record) of the upper-level domain.
在现有技术中,当 DNS管理员在主服务器独立创建一新 DNS区时, DNS 管理员可在各辅服务器上分别独立创建该新 DNS区对应的区文件,或者借 助某些软件工具, 例如: rdist或者 rsync, 手动更新各辅服务器上的区 文件, 以保证 DNS内各服务器上的区文件同步。 在实现本发明过程中, 发 明人发现现有技术中至少存在如下问题: 现有技术中对 DNS服务器创建新 DNS区时, 需要 DNS管理员分别在主服务器和辅服务器中对新建的 DNS区 所对应的区文件进行手动更新, 从而造成管理员的操作相对繁瑣。 发明内容 In the prior art, when the DNS administrator independently creates a new DNS zone on the primary server, the DNS administrator can separately create the zone file corresponding to the new DNS zone on each secondary server, or by using some software tools, for example. : rdist or rsync, manually update the zone files on each secondary server to ensure that the zone files on each server in the DNS are synchronized. In the process of implementing the present invention, the inventor has found that at least the following problems exist in the prior art: In the prior art, when a new DNS zone is created for a DNS server, the DNS administrator needs to create a new DNS zone in the primary server and the secondary server respectively. The corresponding zone file is manually updated, which makes the administrator's operation relatively cumbersome. Summary of the invention
本发明实施例提供一种实现 DNS区创建同步的方法、 主 DNS服务器、 辅 DNS服务器以及域名系统, 用以解决现有技术中对 DNS服务器创建新 DNS区 时, DNS管理员需要在主服务器和辅服务器中对新建的 DNS 区所对应的区文 件进行手动更新的缺陷。  The embodiment of the present invention provides a method for synchronizing a DNS zone, a primary DNS server, a secondary DNS server, and a domain name system, which are used to solve the problem of creating a new DNS zone for a DNS server in the prior art, where the DNS administrator needs to be in the primary server and A defect in the secondary server that manually updates the zone file corresponding to the newly created DNS zone.
本发明实施例提供一种实现 DNS区创建同步的方法, 包括:  An embodiment of the present invention provides a method for implementing synchronization of a DNS zone, including:
主 DNS服务器创建 DNS区且设置所述 DNS区内各 DNS服务器之间的依赖 关系, 所述各 DNS服务器包括主 DNS服务器和至少二级辅 DNS服务器;  The primary DNS server creates a DNS zone and sets a dependency relationship between the DNS servers in the DNS zone, where each DNS server includes a primary DNS server and at least a secondary secondary DNS server;
所述主 DNS服务器根据所述依赖关系, 逐级向所述辅 DNS服务器发送包 括所述辅 DNS服务器的上级服务器信息的通知消息, 直至各辅 DNS服务器记 录各自所述上级服务器信息 , 并根据所述通知消息向各自上级服务器获取区 文件。  The primary DNS server sends a notification message including the upper-level server information of the secondary DNS server to the secondary DNS server in a stepwise manner, until the secondary DNS server records the information of the upper-level server, and according to the dependency relationship, The notification message acquires the zone file from the respective superior server.
本发明实施例还提供一种实现 DNS区创建同步的方法, 包括:  The embodiment of the invention further provides a method for implementing synchronization of a DNS zone, including:
辅 DNS服务器接收主 DNS服务器发送的通知消息, 所述通知消息包括所 述辅 DNS服务器的上级服务器信息;  The secondary DNS server receives the notification message sent by the primary DNS server, where the notification message includes the upper-level server information of the secondary DNS server;
所述辅 DNS服务器根据所述通知消息, 记录所述上级服务器信息, 并 向所述上级服务器信息对应的上级服务器获取所述主 DNS服务器创建的 DNS区的区文件。  The secondary DNS server records the superior server information according to the notification message, and acquires the zone file of the DNS zone created by the primary DNS server to the upper-level server corresponding to the superior server information.
本发明实施例提供了一种主 DNS服务器, 包括:  An embodiment of the present invention provides a primary DNS server, including:
创建 DNS区模块, 用于创建 DNS区且设置所述 DNS区内各 DNS服务器之 间的依赖关系, 所述各 DNS服务器包括主 DNS服务器和至少二级辅 DNS服务 器;  Creating a DNS zone module, configured to create a DNS zone and set a dependency relationship between the DNS servers in the DNS zone, where each DNS server includes a primary DNS server and at least a secondary secondary DNS server;
通知消息发送模块, 与所述创建 DNS区模块相连接, 用于根据所述依 赖关系, 逐级向所述辅 DNS服务器发送包括所述辅 DNS服务器的上级服务器 信息的通知消息, 直至各辅 DNS服务器记录各自所述上级服务器信息, 并 根据所述通知消息向各自上级服务器获取区文件。 The notification message sending module is connected to the created DNS zone module, and is configured to send, according to the dependency relationship, a notification message including the upper-level server information of the secondary DNS server to the secondary DNS server step by step, until each secondary DNS The server records the respective upper server information, and Obtaining a zone file from the respective upper-level servers according to the notification message.
本发明实施例还提供了一种辅 DNS服务器, 包括:  The embodiment of the invention further provides a secondary DNS server, including:
通知消息接收模块, 用于接收主 DNS服务器发送的通知消息, 所述通知 消息包括所述辅 DNS服务器的上级服务器信息;  a notification message receiving module, configured to receive a notification message sent by the primary DNS server, where the notification message includes upper server information of the secondary DNS server;
获取区文件模块, 与所述通知消息接收模块相连接, 用于根据所述通 知消息, 记录所述上级服务器信息, 并向所述上级服务器信息对应的上级 服务器获取所述主 DNS服务器创建的 DNS区的区文件。  The obtaining area file module is connected to the notification message receiving module, configured to record the upper-level server information according to the notification message, and acquire the DNS created by the primary DNS server from the upper-level server corresponding to the upper-level server information District area file.
本发明实施例还提供了一种域名系统, 包括上述所述的主 DNS服务器 和至少二级上述所述的辅 DNS服务器。  The embodiment of the present invention further provides a domain name system, including the primary DNS server described above and at least two secondary DNS servers described above.
本发明实施例的实现 DNS区创建同步的方法、 主 DNS服务器、 辅 DNS服 务器以及域名系统,通过主 DNS服务器创建 DNS区且设置所述 DNS区内各 DNS 服务器之间的依赖关系, 并根据依赖关系, 逐级向辅 DNS服务器发送包括辅 DNS服务器的上级服务器信息的通知消息, 直至各辅 DNS服务器记录各自所 述上级服务器信息, 并根据通知消息向各自上级服务器获取区文件。 改变了 现有技术中对 DNS服务器创建新 DNS区时, DNS管理员需要在辅服务器中对 新建的 DNS区所对应的区文件和辅 DNS服务器的上级服务器信息进行手动更 新的缺陷, 实现了 DNS服务器在创建新区时的自动更新, 并有效的减少了管 理员的劳动量。 附图说明  The method for implementing synchronization of the DNS zone, the primary DNS server, the secondary DNS server, and the domain name system are implemented by the primary DNS server, and the dependencies between the DNS servers in the DNS zone are set, and according to the dependency The relationship is sent to the secondary DNS server to send a notification message including the upper-level server information of the secondary DNS server, until each secondary DNS server records the respective upper-level server information, and acquires the zone file from the respective upper-level servers according to the notification message. When the new DNS zone is created for the DNS server in the prior art, the DNS administrator needs to manually update the zone file corresponding to the newly created DNS zone and the superior server information of the secondary DNS server in the secondary server, and implements the DNS. The server automatically updates when creating a new zone, and effectively reduces the amount of labor for the administrator. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图 1为本发明实施例一提供的实现 DNS区创建同步的方法的流程图; 图 2为本发明实施例二提供的实现 DNS区创建同步的方法的流程图; 图 3为本发明实施例二提供的实现 DNS区创建同步的方法的又一流程图; 图 4为本发明实施例二提供的创建 DNS区内各 DNS服务器之间的树形依 赖关系示意图; 1 is a flowchart of a method for synchronizing DNS zone creation according to Embodiment 1 of the present invention; FIG. 2 is a flowchart of a method for synchronizing DNS zone creation according to Embodiment 2 of the present invention; FIG. 3 is still another flowchart of a method for implementing synchronization of a DNS zone according to Embodiment 2 of the present invention; FIG. 4 is a schematic diagram of a tree dependency relationship between DNS servers in a DNS zone according to Embodiment 2 of the present invention;
图 5为本发明实施例三提供的实现 DNS区创建同步的方法的流程图; 图 6为本发明实施例四提供的实现 DNS区创建同步的方法的流程图; 图 7为本发明实施例四提供的实现 DNS区创建同步的方法的又一流程图; 图 8为本发明实施例四提供的实现 DNS区创建同步的方法的另一流程图; 图 9为本发明实施例五提供的主 DNS服务器的结构示意图;  FIG. 5 is a flowchart of a method for synchronizing DNS zone creation according to Embodiment 3 of the present invention; FIG. 6 is a flowchart of a method for synchronizing DNS zone creation according to Embodiment 4 of the present invention; FIG. 8 is another flowchart of a method for implementing synchronization of a DNS zone according to Embodiment 4 of the present invention; FIG. 9 is a flowchart of a primary DNS provided by Embodiment 5 of the present invention; Schematic diagram of the server;
图 10为本发明实施例六提供的辅 DNS服务器的结构示意图;  10 is a schematic structural diagram of a secondary DNS server according to Embodiment 6 of the present invention;
图 11为本发明实施例六提供的域名系统的结构示意图。 具体实施方式  FIG. 11 is a schematic structural diagram of a domain name system according to Embodiment 6 of the present invention. detailed description
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
实施例一  Embodiment 1
图 1为本发明实施例一提供的实现 DNS区创建同步的方法的流程图, 如 图 1所示, 该方法包括:  FIG. 1 is a flowchart of a method for implementing synchronization of a DNS zone according to Embodiment 1 of the present invention. As shown in FIG. 1, the method includes:
步骤 11、 主 DNS服务器创建 DNS区且设置 DNS区内各 DNS服务器之间的 依赖关系, 各 DNS服务器包括主 DNS服务器和至少二级辅 DNS服务器;  Step 11. The primary DNS server creates a DNS zone and sets a dependency relationship between the DNS servers in the DNS zone. Each DNS server includes a primary DNS server and at least a secondary secondary DNS server.
步骤 12、 主 DNS服务器根据依赖关系, 逐级向辅 DNS服务器发送包括辅 DNS服务器的上级服务器信息的通知消息, 直至各辅 DNS服务器记录各自上 级服务器信息, 并根据通知消息向各自上级服务器获取区文件。  Step 12: The primary DNS server sends a notification message including the upper-level server information of the secondary DNS server to the secondary DNS server according to the dependency relationship, until each secondary DNS server records the information of the upper-level server, and obtains the area from the upper-level server according to the notification message. file.
在步骤 12中,辅 DNS服务器的上级服务器信息具体为该新 DNS区中的主 DNS服务器, 或者该新 DNS区中的另一辅 DNS服务器。 当辅 DNS服务器的上 级服务器信息为主 DNS服务器时, 辅 DNS服务器根据通知消息, 向主 DNS服 务器获取区文件; 当辅 DNS服务器的上级服务器信息为另一辅 DNS服务器时, 辅 DNS服务器根据通知消息, 向另一辅 DNS服务器获取区文件。 值得注意的 是, 该区文件由资源记录(Resource Record; 以下简称: RR)组成, RR是 DNS 的核心数据。 换言之, RR包含 DNS中所有辅 DNS服务器和主 DNS服务器的资 源信息。 In step 12, the superior server information of the secondary DNS server is specifically the primary in the new DNS zone. DNS server, or another secondary DNS server in the new DNS zone. When the upper-level server information of the secondary DNS server is the primary DNS server, the secondary DNS server obtains the zone file from the primary DNS server according to the notification message; when the superior server information of the secondary DNS server is another secondary DNS server, the secondary DNS server according to the notification Message, get the zone file from another secondary DNS server. It is worth noting that the zone file is composed of Resource Record (hereinafter referred to as RR), and RR is the core data of DNS. In other words, the RR contains resource information of all secondary DNS servers and primary DNS servers in the DNS.
在本实施例中,通过主 DNS服务器创建 DNS区且设置所述 DNS区内各 DNS 服务器之间的依赖关系, 并根据依赖关系, 逐级向辅 DNS服务器发送包括辅 DNS服务器的上级服务器信息的通知消息, 直至各辅 DNS服务器记录各自上 级服务器信息, 并根据通知消息向各自上级服务器获取区文件。 改变了现有 技术中对 DNS服务器创建新 DNS区时, DNS管理员需要在辅服务器中对新建 的 DNS区所对应的区文件和辅 DNS服务器的上级服务器信息进行手动更新的 缺陷, 实现了 DNS服务器在创建新区时的自动更新, 并有效的减少了管理员 的劳动量。  In this embodiment, the DNS zone is created by the primary DNS server, and the dependencies between the DNS servers in the DNS zone are set, and the superior server information including the secondary DNS server is sent to the secondary DNS server step by step according to the dependency relationship. The notification message is sent until the secondary DNS servers record their respective upper-level server information, and obtain the zone file from the respective upper-level servers according to the notification message. When the new DNS zone is created for the DNS server in the prior art, the DNS administrator needs to manually update the zone file corresponding to the newly created DNS zone and the superior server information of the secondary DNS server in the secondary server, and implements the DNS. The server automatically updates when creating a new zone, and effectively reduces the amount of labor for the administrator.
实施例二  Embodiment 2
图 2为本发明实施例二提供的实现 DNS区创建同步的方法的流程图, 如 图 2所示, 在上述实施例一的基础上, 该方法的步骤 12具体包括:  FIG. 2 is a flowchart of a method for implementing synchronization of a DNS zone according to Embodiment 2 of the present invention. As shown in FIG. 2, step 12 of the method includes:
步骤 121、 主 DNS服务器根据依赖关系, 向第一辅 DNS服务器发送包括 第一辅 DNS服务器的上级服务器信息的通知消息;  Step 121: The primary DNS server sends a notification message including the information of the upper-level server of the first secondary DNS server to the first secondary DNS server according to the dependency relationship.
步骤 122、 在主 DNS服务器接收到第一辅 DNS服务器成功获取区文件的 第一反馈信息时, 主 DNS服务器向第二辅 DNS服务器发送包括第二辅 DNS服 务器的上级服务器信息的通知消息, 第一辅 DNS服务器为第二辅 DNS服务器 的上级服务器, 直至各辅 DNS服务器记录各自上级服务信息, 并根据通知消 息向各自上级服务器获取区文件。  Step 122: When the primary DNS server receives the first feedback information of the first secondary DNS server successfully acquiring the zone file, the primary DNS server sends a notification message including the upper-level server information of the second secondary DNS server to the second secondary DNS server, where The secondary DNS server is the upper-level server of the second secondary DNS server, until each secondary DNS server records the respective superior service information, and acquires the zone file from the respective upper-level servers according to the notification message.
进一步的, 图 3为本发明实施例二提供的实现 DNS区创建同步的方法的 又一流程图, 在本实施例中, 以主 DNS服务器接收到第一辅 DNS服务器未成 功获取区文件的第二反馈信息时, 则在上述实施例的基础上, 该方法的一种 具体实现方式如图 3所示, 步骤 121之后还包括: Further, FIG. 3 is a method for implementing synchronization of DNS zone creation according to Embodiment 2 of the present invention. In another embodiment, in the embodiment, when the primary DNS server receives the second feedback information that the first secondary DNS server fails to obtain the zone file, the specific implementation of the method is based on the foregoing embodiment. The mode is as shown in FIG. 3, and after step 121, the method further includes:
步骤 123、 在主 DNS服务器接收到第一辅 DNS服务器未成功获取区文件 的第二反馈信息时, 则执行步骤 11。  Step 123: When the primary DNS server receives the second feedback information that the first secondary DNS server does not successfully obtain the zone file, step 11 is performed.
在本实施例中, 以一个新 DNS区中包括主 DNS服务器和七个辅 DNS服务 器为例,详细介绍本发明的技术方案, 图 4为本发明实施例二提供的创建 DNS 区内各 DNS服务器之间的树形依赖关系示意图, 如图 4所示, 该 DNS区中主 DNS服务器与辅 DNS服务器之间的具体关系为: 主 DNS服务器下的第一级服 务器包括第一辅 DNS服务器和第二辅 DNS服务器, 主 DNS服务器下的第二级 服务器包括第二辅 DNS服务器和第三辅 DNS服务器, 主 DNS服务器下的第三 级服务器包括第四辅 DNS服务器、 第五辅 DNS服务器、 第六辅 DNS服务器和 第七 DNS辅服务器; 同时, 还可以获知第一辅 DNS服务器的上一级服务器是 主 DNS服务器, 第二辅 DNS服务器有 2个上一级服务器, 分别是主 DNS服务 器和第一辅 DNS服务器, 第三辅 DNS服务器的上一级服务器是第一辅 DNS服 务器, 第四辅 DNS服务器和第五辅 DNS服务器的上一级服务器是第二辅 DNS 服务器,第六辅 DNS服务器和第七辅 DNS服务器的上一级服务器是第三辅 DNS 服务器。  In this embodiment, the technical solution of the present invention is described in detail in a new DNS zone, including a primary DNS server and seven secondary DNS servers. FIG. 4 is a schematic diagram of creating a DNS server in a DNS zone according to Embodiment 2 of the present invention. A schematic diagram of the tree-dependent relationship between the two, as shown in FIG. 4, the specific relationship between the primary DNS server and the secondary DNS server in the DNS zone is: The first-level server under the primary DNS server includes the first secondary DNS server and the first The second secondary DNS server, the second level server under the primary DNS server includes a second secondary DNS server and a third secondary DNS server, and the third level server under the primary DNS server includes a fourth secondary DNS server and a fifth secondary DNS server, The sixth secondary DNS server and the seventh secondary secondary server; at the same time, it can be known that the upper secondary server of the first secondary DNS server is the primary DNS server, and the second secondary DNS server has two upper-level servers, respectively, the primary DNS server and The first secondary DNS server, the upper secondary server of the third secondary DNS server is the first secondary DNS server, the fourth secondary DNS server, and the fifth secondary The upper-level server of the DNS server is the second secondary DNS server, and the upper-level server of the sixth secondary DNS server and the seventh secondary DNS server is the third secondary DNS server.
主 DNS服务器首先根据上述创建 DNS区内各 DNS服务器之间的树形依赖 关系, 分别向第一级服务器中的第一辅 DNS服务器和第二辅 DNS服务器发送 通知消息, 其中, 向第一辅 DNS服务器发送的第一辅 DNS服务器的上级服务 器信息 (即主 DNS服务器) , 向第二辅 DNS服务器发送的通知消息中包括第 二辅 DNS服务器的上级服务器信息(即主 DNS服务器 ) , 该第一辅 DNS服务 和第二辅 DNS服务器根据通知消息, 分别记录上级服务器信息 (即主 DNS服 务器信息) , 并分别向上级服务器信息对应的主 DNS服务器获取区文件。  The primary DNS server first sends a notification message to the first secondary DNS server and the second secondary DNS server in the first-level server according to the tree-dependency relationship between the DNS servers in the DNS zone, where The upper server information of the first secondary DNS server sent by the DNS server (ie, the primary DNS server), and the notification message sent to the second secondary DNS server includes the upper server information of the second secondary DNS server (ie, the primary DNS server), the first The secondary DNS service and the second secondary DNS server respectively record the upper-level server information (that is, the primary DNS server information) according to the notification message, and acquire the zone file respectively from the primary DNS server corresponding to the upper-level server information.
在本实施例中, 以第一辅 DNS服务器和第二级辅 DNS服务器为例, 详细 介绍第一辅 DNS服务器接收通知消息后的工作流程: 若第一辅 DNS服务器获 取区文件未成功, 则向主 DNS服务器发送第一辅 DNS服务器未成功获取区文 件的第二反馈信息, 主服务器根据接收到的第二反馈信息, 再根据依赖关系, 在一定时间内,重复向第一级辅服务器中的第一辅 DNS服务器发送通知消息, 直至第一辅 DNS服务器成功获取主 DNS服务器的区文件。 若第一辅 DNS服务 器获取区文件成功, 则向主 DNS服务器发送第一辅 DNS服务器成功获取区文 件的第一反馈信息, 主 DNS服务器根据接收到的第一反馈信息, 再根据依赖 关系, 向第二级辅 DNS服务器中的第二辅 DNS服务器和第三辅 DNS服务器发 送通知消息, 当第二辅 DNS服务器接收到通知消息后, 首先判断是否已经存 储了获取的区文件, 如果存储了, 则记录本次通知消息中的上级服务器信息 信息 (即第一辅 DNS服务器信息) , 并向主 DNS服务器发送第一反馈信息; 如果没有存储, 例如, 由于网络故障等原因, 使得第二辅 DNS服务器未成功 从主 DNS服务器获取区文件, 则第二辅 DNS服务器向上级服务器信息对应的 第一辅 DNS服务器获取区文件, 若第二辅 DNS服务器获取到第一辅 DNS服务 器发送的区文件后, 向主 DNS服务器发送第二辅 DNS服务器成功获取区文件 的第一反馈信息, 主 DNS服务器再根据接收到第一反馈信息和依赖关系, 向 第二辅 DNS服务器的下级服务器,即第四辅 DNS服务器和第五辅 DNS服务器, 发送通知消息, 第四辅 DNS服务器和第五辅 DNS服务器获取区文件的工作流 程与第二辅 DNS服务器获取区文件的工作流程相同, 在此不再赘述。 值得一 提的是, 该新 DNS区中的其他辅 DNS服务器的工作流程与上述第二辅 DNS服 务器的工作流程相同, 在此不再赘述。 In this embodiment, the first secondary DNS server and the secondary secondary DNS server are taken as an example. The workflow of the first secondary DNS server after receiving the notification message is as follows: If the first secondary DNS server fails to obtain the zone file, the first secondary DNS server sends the second feedback information of the zone file to the primary DNS server. According to the received second feedback information, according to the dependency relationship, the notification message is repeatedly sent to the first secondary DNS server in the first-level secondary server within a certain period of time until the first secondary DNS server successfully obtains the area of the primary DNS server. file. If the first secondary DNS server obtains the zone file successfully, sending the first feedback information of the first secondary DNS server to obtain the zone file to the primary DNS server, and the primary DNS server according to the received first feedback information, according to the dependency relationship, The second secondary DNS server and the third secondary DNS server in the second-level secondary DNS server send a notification message. When the second secondary DNS server receives the notification message, it first determines whether the acquired zone file has been stored, and if it is stored, Recording the superior server information information (ie, the first secondary DNS server information) in the current notification message, and sending the first feedback information to the primary DNS server; if there is no storage, for example, causing the second secondary DNS due to a network failure or the like If the server does not successfully obtain the zone file from the primary DNS server, the second secondary DNS server obtains the zone file from the first secondary DNS server corresponding to the upper-level server information, and if the second secondary DNS server obtains the zone file sent by the first secondary DNS server, Sending the first feedback information of the second secondary DNS server to obtain the zone file to the primary DNS server, The primary DNS server sends a notification message to the lower secondary server of the second secondary DNS server, that is, the fourth secondary DNS server and the fifth secondary DNS server according to the received first feedback information and the dependency relationship, and the fourth secondary DNS server and the fifth The workflow of obtaining the zone file by the secondary DNS server is the same as that of the second secondary DNS server, and is not described here. It is worth mentioning that the workflow of the other secondary DNS servers in the new DNS zone is the same as that of the second secondary DNS server, and details are not described herein.
另外, 主 DNS服务器还可以根据设置新 DNS区内各 DNS服务器之间的依 赖关系, 设置通知消息发送列表, 该通知消息发送列表中存储了该新 DNS 区 中的所有辅 DNS服务器的信息对应的通知消息。当主 DNS服务器接收到辅 DNS 服务器发送的第一反馈信息时, 该第一反馈信息还可以包括该辅 DNS服务器 信息, 则主 DNS服务器根据该辅 DNS服务器信息, 从通知消息发送列表中删 除该辅 DNS服务器信息对应的通知消息, 以表明成功完成了发送给该辅 DNS 服务器信息对应的通知消息。 值得注意的是, 一个辅 DNS服务器可以有 N个 上级服务器, 其中, N为自然数, 且大于等于 1 , 这样, 该辅 DNS服务器需要 接收 N个通知消息。 例如, 一个辅 DNS服务器有三个上级服务器, 则主 DNS 服务器会发送三次通知消息给该辅 DNS服务器, 每个通知消息中携带了该辅 DNS服务器中的对应的上级服务器信息, 当辅 DNS服务器接收到第一个通知 消息时, 则根据该通知消息, 向第一个上级服务器获取区文件, 若获取区文 件成功, 则将第一反馈信息发送给主 DNS服务器; 当辅 DNS服务器接收到第 二个通知消息时,该辅 DNS服务器这时已获取了区文件, 因此只需要向主 DNS 服务器发送第一反馈信息即可; 当辅 DNS服务器接收到第三个通知消息时, 其原理与接收到第二个通知消息工作流程相同。 换言之, 无论辅 DNS服务器 有几个上级服务器, 只要成功的从一个上级服务器获取区文件成功, 则在接 收到其他上级服务器信息的通知消息时, 只需记录该通知消息中的上级服务 器信息并向主 DNS服务器发送第一反馈信息, 以告知成功获取区文件即可。 另外, 值得一提的是, 辅 DNS服务器每接收到一次通知消息时, 都会相应的 记录该通知消息中的上级月良务器信息。 In addition, the primary DNS server may further set a notification message sending list according to the dependency relationship between the DNS servers in the new DNS zone, where the notification message sending list stores information corresponding to all the secondary DNS servers in the new DNS zone. Notification message. When the primary DNS server receives the first feedback information sent by the secondary DNS server, the first feedback information may further include the secondary DNS server information, and the primary DNS server deletes the notification message sending list according to the secondary DNS server information. A notification message corresponding to the secondary DNS server information indicates that the notification message corresponding to the secondary DNS server information is successfully completed. It should be noted that a secondary DNS server may have N upper-level servers, where N is a natural number and is greater than or equal to 1, so that the secondary DNS server needs to receive N notification messages. For example, if a secondary DNS server has three upper-level servers, the primary DNS server sends three notification messages to the secondary DNS server. Each notification message carries the corresponding superior server information in the secondary DNS server, and the secondary DNS server receives the information. When the first notification message is received, the area file is obtained from the first upper-level server according to the notification message, and if the acquisition area file is successful, the first feedback information is sent to the primary DNS server; when the secondary DNS server receives the second When the notification message is sent, the secondary DNS server has acquired the zone file at this time, so only the first feedback information needs to be sent to the primary DNS server; when the secondary DNS server receives the third notification message, the principle and the received The second notification message has the same workflow. In other words, whether the secondary DNS server has several upper-level servers, as long as the successful acquisition of the zone file from a superior server is successful, when receiving the notification message of the other superior server information, it is only necessary to record the superior server information in the notification message and The primary DNS server sends the first feedback information to inform the successful acquisition of the zone file. In addition, it is worth mentioning that each time the secondary DNS server receives a notification message, it will record the superior server information in the notification message accordingly.
当主 DNS服务器接收到辅 DNS服务器发送的携带有辅 DNS服务器对应的 第二反馈信息时, 则主 DNS服务器保持通知消息发送列表不变, 并在一定时 间后, 向该辅 DNS服务器信息对应的辅 DNS服务器发送通知消息。  When the primary DNS server receives the second feedback information corresponding to the secondary DNS server that is sent by the secondary DNS server, the primary DNS server keeps the notification message sending list unchanged, and after a certain period of time, the auxiliary corresponding to the secondary DNS server information The DNS server sends a notification message.
在本实施例中, 当主 DNS服务器创建新 DNS区时, 每个辅 DNS服务器根 据接收到的通知消息, 自动向辅 DNS服务器的上级服务器获取区文件, 从而 在一定程度上, 有效的减少了主 DNS服务器的负荷, 并降低了管理员的工作 强度。  In this embodiment, when the primary DNS server creates a new DNS zone, each secondary DNS server automatically obtains the zone file from the upper-level server of the secondary DNS server according to the received notification message, thereby effectively reducing the primary to a certain extent. The load on the DNS server reduces the administrator's work intensity.
实施例三  Embodiment 3
图 5为本发明实施例三提供的实现 DNS区创建同步的方法的流程图, 如 图 5所示, 该方法包括: 步骤 21、 辅 DNS服务器接收主 DNS服务器发送的通知消息, 通知消息包 括辅 DNS服务器的上级服务器信息; FIG. 5 is a flowchart of a method for synchronizing DNS zone creation according to Embodiment 3 of the present invention. As shown in FIG. 5, the method includes: Step 21: The secondary DNS server receives the notification message sent by the primary DNS server, where the notification message includes the upper-level server information of the secondary DNS server.
步骤 22、 辅 DNS服务器根据通知消息, 记录上级服务器信息, 并向上级 服务器信息对应的上级服务器获取主 DNS服务器创建的 DNS区的区文件。  Step 22: The secondary DNS server records the upper-level server information according to the notification message, and obtains the zone file of the DNS zone created by the primary DNS server by the upper-level server corresponding to the upper-level server information.
在步骤 21中,辅 DNS服务器的上级服务器信息具体为该新 DNS区中的主 DNS服务器, 或者该新 DNS区中的另一辅 DNS服务器。 当辅 DNS服务器的上 级服务器信息为主 DNS服务器时, 辅 DNS服务器根据通知消息, 记录主 DNS 服务器信息, 并向主 DNS服务器获取区文件; 当辅 DNS服务器的上级服务器 信息为另一辅 DNS服务器时, 辅 DNS服务器根据通知消息, 记录另一辅 DNS 服务器信息, 并向另一辅 DNS服务器获取区文件。  In step 21, the upper-level server information of the secondary DNS server is specifically the primary DNS server in the new DNS zone, or another secondary DNS server in the new DNS zone. When the upper-level server information of the secondary DNS server is the primary DNS server, the secondary DNS server records the primary DNS server information according to the notification message, and obtains the zone file from the primary DNS server; when the secondary server information of the secondary DNS server is another secondary DNS server When the secondary DNS server records another secondary DNS server information according to the notification message, and acquires the zone file from another secondary DNS server.
在本实施例中, 通过辅 DNS服务器根据接收主 DNS服务器发送的通知消 息, 记录上级服务器信息, 并向上级服务器获取主 DNS服务器创建的 DNS区 的区文件。 改变了现有技术中对 DNS服务器创建新 DNS区时, DNS管理员需 要在辅服务器中对新建的 DNS区所对应的区文件和辅 DNS服务器的上级服务 器信息进行手动更新的缺陷, 实现了 DNS服务器在创建新区时的自动更新, 并有效的减少了管理员的劳动量。  In this embodiment, the secondary DNS server records the upper-level server information according to the notification message sent by the primary DNS server, and obtains the area file of the DNS zone created by the primary DNS server from the upper-level server. When the new DNS zone is created for the DNS server in the prior art, the DNS administrator needs to manually update the zone file corresponding to the newly created DNS zone and the superior server information of the secondary DNS server in the secondary server, and implements the DNS. The server automatically updates when creating a new zone, and effectively reduces the amount of labor for the administrator.
实施例四  Embodiment 4
图 6为本发明实施例四提供的实现 DNS区创建同步的方法的流程图, 在 本实施例中, 以辅 DNS服务器在获取区文件后, 并接收辅 DNS服务器的下级 服务器发送的请求消息为例, 详细介绍本发明的技术方案, 如图 6所示, 步 骤 22之后还包括:  FIG. 6 is a flowchart of a method for synchronizing DNS zone creation according to Embodiment 4 of the present invention. In this embodiment, after the secondary DNS server obtains the zone file, the request message sent by the subordinate server of the secondary DNS server is For example, the technical solution of the present invention is introduced in detail. As shown in FIG. 6, after step 22, the method further includes:
步骤 23、辅 DNS服务器接收辅 DNS服务器的下级服务器发送的请求消息; 步骤 24、 辅 DNS服务器根据请求消息, 向下级服务器发送 DNS区的区文 件。  Step 23: The secondary DNS server receives the request message sent by the lower-level server of the secondary DNS server. Step 24: The secondary DNS server sends the area file of the DNS zone to the lower-level server according to the request message.
更进一步的, 图 7为本发明实施例四提供的实现 DNS区创建同步的方法 的又一流程图, 在本实施例中, 以辅 DNS服务器在接收到通知消息后, 向辅 DNS 服务器成功获取区文件成功为例, 详细介绍本发明的技术方案, 如图 7 所示, 步骤 22之后还包括: Further, FIG. 7 is still another flowchart of a method for implementing synchronization of a DNS zone according to Embodiment 4 of the present invention. In this embodiment, after receiving a notification message, the secondary DNS server assists The success of the DNS server is as follows. The technical solution of the present invention is described in detail. As shown in FIG. 7, after step 22, the method further includes:
步骤 25、 辅 DNS服务器向主 DNS服务器发送辅 DNS服务器成功获取区文 件的第一反馈信息, 以使主 DNS服务器向辅 DNS服务器的下级服务器发送包 括辅 DNS服务器信息的通知消息。  Step 25: The secondary DNS server sends the first feedback information of the secondary DNS server to the primary DNS server to obtain the zone file, so that the primary DNS server sends a notification message including the secondary DNS server information to the secondary server of the secondary DNS server.
更进一步的, 图 8为本发明实施例四提供的实现 DNS区创建同步的方法 的另一流程图, 在本实施例中, 以辅 DNS服务器在接收到通知消息后, 向辅 DNS服务器未成功获取区文件成功为例, 详细介绍本发明的技术方案, 如图 8 所示, 步骤 22之后还包括:  Further, FIG. 8 is another flowchart of a method for implementing synchronization of a DNS zone according to Embodiment 4 of the present invention. In this embodiment, after the secondary DNS server receives the notification message, the secondary DNS server is unsuccessful. The method of obtaining the zone file is taken as an example, and the technical solution of the present invention is introduced in detail. As shown in FIG. 8, after step 22, the method further includes:
步骤 26、 辅 DNS服务器向主 DNS服务器发送辅 DNS服务器未成功获取区 文件的第二反馈信息, 则执行步骤 21。  Step 26: The secondary DNS server sends the second feedback information that the secondary DNS server does not successfully obtain the zone file to the primary DNS server, and step 21 is performed.
在本实施例中, 以上述实施例二的图 4中所举的创建 DNS区内各 DNS服 务器之间的树形依赖关系中第二辅 DNS服务器为例, 详细介绍本发明的技术 方案, 第二辅 DNS服务器接收第四辅 DNS服务器和第五辅 DNS服务器发送的 请求消息, 并根据该请求消息, 向第四辅 DNS服务器和第五辅 DNS服务器发 送 DNS区的区文件, 若第四辅 DNS服务器和第五辅 DNS服务器获取区文件成 功, 则第四辅 DNS服务器和第五辅 DNS服务器分别将各自的第一反馈信息发 送给主 DNS服务器;若第四辅 DNS服务器和 /或第五辅 DNS服务器未成功获取 区文件成功, 则分别将各自的第二反馈信息发送给主 DNS服务器, 主 DNS服 务器在重复发送通知消息给第四辅 DNS服务器和 /或第五辅 DNS服务器,直至 第四辅 DNS服务器和第五辅 DNS服务器获取区文件成功。  In this embodiment, the second secondary DNS server in the tree-dependent relationship between the DNS servers in the DNS zone is taken as an example in FIG. 4 of the second embodiment, and the technical solution of the present invention is introduced in detail. The second secondary DNS server receives the request message sent by the fourth secondary DNS server and the fifth secondary DNS server, and sends the area file of the DNS zone to the fourth secondary DNS server and the fifth secondary DNS server according to the request message, if the fourth auxiliary If the DNS server and the fifth secondary DNS server obtain the zone file successfully, the fourth secondary DNS server and the fifth secondary DNS server respectively send the first feedback information to the primary DNS server; if the fourth secondary DNS server and/or the fifth If the secondary DNS server fails to obtain the zone file successfully, the second feedback information is sent to the primary DNS server, and the primary DNS server repeatedly sends the notification message to the fourth secondary DNS server and/or the fifth secondary DNS server until the first The four secondary DNS servers and the fifth secondary DNS server succeeded in obtaining the zone file.
实施例五  Embodiment 5
图 9为本发明实施例五提供的主 DNS服务器的结构示意图,如图 9所示, 该主 DNS服务器包括: 创建 DNS区模块 31和通知消息发送模块 32; 其中, 创建 DNS区模块 31用于创建 DNS区且设置 DNS区内各 DNS服务器之间的依赖 关系, 各 DNS服务器包括主 DNS服务器和至少二级辅 DNS服务器; 通知消息 发送模块 32与创建 DNS区模块 31相连接,用于根据依赖关系,逐级向辅 DNS 服务器发送包括辅 DNS服务器的上级服务器信息的通知消息, 直至各辅 DNS 服务器记录各自上级服务器信息, 并根据通知消息向各自上级服务器获取区 文件。 FIG. 9 is a schematic structural diagram of a primary DNS server according to Embodiment 5 of the present invention. As shown in FIG. 9, the primary DNS server includes: a DNS zone module 31 and a notification message sending module 32. Create a DNS zone and set the dependencies between DNS servers in the DNS zone. Each DNS server includes a primary DNS server and at least a secondary secondary DNS server. The sending module 32 is connected to the created DNS area module 31, and is configured to send, according to the dependency relationship, a notification message including the upper-level server information of the secondary DNS server to the secondary DNS server, until each secondary DNS server records the information of the upper-level server, and according to The notification message acquires the zone file from the respective superior server.
在本实施例中, 主 DNS服务器的创建 DNS区模块 31创建 DNS区且设置 DNS区内各 DNS服务器之间的依赖关系, 各 DNS服务器包括主 DNS服务器和 至少二级辅 DNS服务器, 其中, 每级辅 DNS服务器中可以包括多个辅 DNS服 务器, 通知消息发送模块 32根据依赖关系, 逐级向辅 DNS服务器发送包括辅 DNS服务器的上级服务器信息的通知消息, 直至各辅 DNS服务器记录各自上 级服务器信息, 并根据所述通知消息向各自上级服务器获取区文件。  In this embodiment, the DNS zone module 31 of the primary DNS server creates a DNS zone and sets a dependency relationship between the DNS servers in the DNS zone. Each DNS server includes a primary DNS server and at least a secondary secondary DNS server, where each The secondary secondary DNS server may include multiple secondary DNS servers, and the notification message sending module 32 sends a notification message including the upper-level server information of the secondary DNS server to the secondary DNS server according to the dependency relationship until the secondary DNS servers record their respective upper-level servers. Information, and acquiring a zone file from the respective upper server according to the notification message.
在本实施例中,通过主 DNS服务器创建 DNS区且设置所述 DNS区内各 DNS 服务器之间的依赖关系, 并根据依赖关系, 逐级向辅 DNS服务器发送包括辅 DNS服务器的上级服务器信息的通知消息, 直至各辅 DNS服务器记录各自所 述上级服务器信息, 并根据通知消息向各自上级服务器获取区文件。 改变了 现有技术中对 DNS服务器创建新 DNS区时, DNS管理员需要在辅服务器中对 新建的 DNS区所对应的区文件和辅 DNS服务器的上级服务器信息进行手动更 新的缺陷, 实现了 DNS服务器在创建新区时的自动更新, 并有效的减少了管 理员的劳动量。  In this embodiment, the DNS zone is created by the primary DNS server, and the dependencies between the DNS servers in the DNS zone are set, and the superior server information including the secondary DNS server is sent to the secondary DNS server step by step according to the dependency relationship. The notification message is up until each secondary DNS server records the respective upper-level server information, and acquires the zone file from the respective upper-level servers according to the notification message. When the new DNS zone is created for the DNS server in the prior art, the DNS administrator needs to manually update the zone file corresponding to the newly created DNS zone and the superior server information of the secondary DNS server in the secondary server, and implements the DNS. The server automatically updates when creating a new zone, and effectively reduces the amount of labor for the administrator.
进一步的, 为了保证辅 DNS服务器能够成功获取区文件, 该主 DNS服务 器的通知消息发送模块 32还包括:通知消息发送单元 321和第一反馈信息接 收单元 322; 其中, 通知消息发送单元 321与创建 DNS区模块 31相连接, 用 于根据依赖关系, 向第一辅 DNS服务器发送包括所述第一辅 DNS服务器的上 级服务器信息的通知消息;第一反馈信息接收单元 322用于接收到第一辅 DNS 服务器成功获取区文件的第一反馈信息; 同时, 通知消息发送单元 321 , 与 第一反馈信息接收单元 322相连接, 还用于在第一反馈信息接收单元 322接 收到第一辅 DNS服务器成功获取区文件的第一反馈信息时, 向第二辅 DNS服 务器发送包括第二辅 DNS服务器的上级服务器信息的通知消息, 第一辅 DNS 服务器为第二辅 DNS服务器的上级服务器。 Further, in order to ensure that the secondary DNS server can successfully obtain the zone file, the notification message sending module 32 of the primary DNS server further includes: a notification message sending unit 321 and a first feedback information receiving unit 322; wherein the notification message sending unit 321 and the creation The DNS area module 31 is connected to send a notification message including the upper-level server information of the first secondary DNS server to the first secondary DNS server according to the dependency relationship; the first feedback information receiving unit 322 is configured to receive the first auxiliary The DNS server successfully obtains the first feedback information of the zone file. At the same time, the notification message sending unit 321 is connected to the first feedback information receiving unit 322, and is further configured to receive the first secondary DNS server successfully by the first feedback information receiving unit 322. When obtaining the first feedback information of the zone file, the second secondary DNS service is obtained. The server sends a notification message including the upper-level server information of the second secondary DNS server, and the first secondary DNS server is the upper-level server of the second secondary DNS server.
更进一步的, 该主 DNS服务器的通知消息发送模块 32还包括: 第二反馈 信息接收单元 323 , 用于接收第一辅 DNS服务器未成功获取区文件的第二反 馈信息; 则通知消息发送单元 321 , 还与第二反馈信息接收单元 323相连接, 还用于在第二反馈信息接收单元 323接收到第一辅 DNS服务器未成功获取区 文件的第二反馈信息时, 向第一辅 DNS服务器重复发送包括第一辅 DNS服务 器的上级服务器信息的通知消息。  Further, the notification message sending module 32 of the primary DNS server further includes: a second feedback information receiving unit 323, configured to receive second feedback information that the first secondary DNS server does not successfully acquire the zone file; and then notify the message sending unit 321 And being connected to the second feedback information receiving unit 323, and is further configured to repeat to the first secondary DNS server when the second feedback information receiving unit 323 receives the second feedback information that the first secondary DNS server does not successfully acquire the zone file. A notification message including the upper server information of the first secondary DNS server is sent.
实施例六  Embodiment 6
图 10为本发明实施例六提供的辅 DNS服务器的结构示意图, 如图 10所 示, 该辅 DNS服务器包括: 通知消息接收模块 41和获取区文件模块 42; 其 中, 通知消息接收模块 41用于接收主 DNS服务器发送的通知消息, 通知消息 包括辅 DNS服务器的上级服务器信息;获取区文件模块 42与通知消息接收模 块 41相连接, 用于根据通知消息, 记录上级服务器信息, 并向上级服务器信 息对应的上级服务器获取主 DNS服务器创建的 DNS区的区文件。  10 is a schematic structural diagram of a secondary DNS server according to Embodiment 6 of the present invention. As shown in FIG. 10, the secondary DNS server includes: a notification message receiving module 41 and an acquisition area file module 42. The notification message receiving module 41 is used by Receiving the notification message sent by the primary DNS server, the notification message includes the upper-level server information of the secondary DNS server; the acquisition area file module 42 is connected to the notification message receiving module 41, and is configured to record the upper-level server information according to the notification message, and the upper-level server information The corresponding upper-level server obtains the zone file of the DNS zone created by the primary DNS server.
在本实施例中,该辅 DNS服务器的通知消息接收模块 41接收主 DNS服务 器发送的通知消息, 该通知消息包括辅 DNS服务器的上级服务器信息, 其中, 上级服务器信息具体可以对应主 DNS服务器, 或者另一辅 DNS服务器, 值得 一提的是, 另一辅 DNS服务器为该辅 DNS服务器的上一级服务器; 获取区文 件模块 42根据通知消息,向上级服务器获取主 DNS服务器创建的 DNS区的区 文件, 即向主服务器或者另一辅 DNS服务器获取创建的 DNS区的区文件。  In this embodiment, the notification message receiving module 41 of the secondary DNS server receives the notification message sent by the primary DNS server, where the notification message includes the upper-level server information of the secondary DNS server, where the upper-level server information may specifically correspond to the primary DNS server, or Another secondary DNS server, it is worth mentioning that another secondary DNS server is the upper-level server of the secondary DNS server; the acquisition zone file module 42 obtains the zone of the DNS zone created by the primary DNS server according to the notification message to the upper-level server. File, that is, the zone file of the created DNS zone is obtained from the primary server or another secondary DNS server.
在本实施例中, 通过辅 DNS服务器根据接收主 DNS服务器发送的通知消 息,记录上级服务器信息,并向上级服务器信息对应的上级服务器获取主 DNS 服务器创建的 DNS区的区文件。 改变了现有技术中对 DNS服务器创建新 DNS 区时, DNS管理员需要在辅服务器中对新建的 DNS区所对应的区文件和辅 DNS 服务器的上级服务器信息进行手动更新的缺陷, 实现了 DNS服务器在创建新 区时的自动更新, 并有效的减少了管理员的劳动量。 In this embodiment, the secondary DNS server records the upper-level server information according to the notification message sent by the primary DNS server, and acquires the area file of the DNS zone created by the primary DNS server by the upper-level server corresponding to the upper-level server information. When the new DNS zone is created for the DNS server in the prior art, the DNS administrator needs to manually update the zone file corresponding to the newly created DNS zone and the superior server information of the secondary DNS server in the secondary server, and implements the DNS. The server is creating a new The automatic update of the zone time, and effectively reduce the amount of labor of the administrator.
进一步的, 为了提高第一服务器与服务器之间传递携带有配置信息的通 知消息的安全性和可靠性, 该辅 DNS服务器还可以对接收到的通知消息进行 判断, 以判断该通知消息是否可靠, 若可靠则根据该通知消息, 向上级服务 器获取区文件; 若不可靠, 则等待接收下一次主 DNS服务器发送的通知消息。 例如, 可以在各个辅 DNS服务器上通过手工配置一个可信来源服务器列表, 当辅 DNS服务器接收到通知消息时, 辅 DNS服务器通过查询该可信来源服务 器列表, 判断发送该通知消息的服务器是否包含在该列表中, 如果发送该通 知消息的服务器包含在该列表中, 则根据该通知消息, 向上级服务器发送请 求消息, 以获取区文件; 如果发送该通知消息的服务器不在该列表中, 则不 予响应, 继续等待下一个通知消息。  Further, in order to improve the security and reliability of the notification message carrying the configuration information between the first server and the server, the secondary DNS server may further determine the received notification message to determine whether the notification message is reliable. If reliable, according to the notification message, the upper-level server acquires the zone file; if it is not reliable, it waits to receive the notification message sent by the next primary DNS server. For example, a trusted source server list may be manually configured on each secondary DNS server. When the secondary DNS server receives the notification message, the secondary DNS server queries the trusted source server list to determine whether the server that sends the notification message includes In the list, if the server that sends the notification message is included in the list, according to the notification message, the request message is sent to the upper server to acquire the area file; if the server that sends the notification message is not in the list, In response, continue to wait for the next notification message.
更进一步的, 当辅 DNS服务器的下级服务器发送请求消息获取该辅 DNS服 务器的区文件时, 该辅 DNS服务器还包括: 请求消息接收模块 43和区文件发 送模块 44; 其中, 请求消息接收模块 43用于接收辅 DNS服务器的下级服务器 发送的请求消息; 区文件发送模块 44 , 与请求消息接收模块 43和获取区文件 模块 42相连接, 用于根据请求消息, 向下级服务器发送 DNS区的区文件。  Further, when the sub-server of the secondary DNS server sends a request message to obtain the area file of the secondary DNS server, the secondary DNS server further includes: a request message receiving module 43 and a zone file sending module 44; wherein the request message receiving module 43 a request message sent by the lower-level server for receiving the secondary DNS server; the zone file sending module 44 is connected to the request message receiving module 43 and the acquisition zone file module 42 for transmitting the zone file of the DNS zone to the lower-level server according to the request message. .
更进一步的, 为了保证辅 DNS服务器都能够成功的获取上级服务器的新 建 DNS区的区文件, 该辅 DNS服务器还包括: 第一反馈信息发送模块 45 , 与 获取区文件模块 42相连接,用于向主 DNS服务器发送辅 DNS服务器成功获取 区文件的第一反馈信息, 以使主 DNS服务器向辅 DNS服务器的下级服务器发 送包括辅 DNS服务器信息的通知消息。  Further, in order to ensure that the secondary DNS server can successfully obtain the zone file of the newly created DNS zone of the upper-level server, the secondary DNS server further includes: a first feedback information sending module 45, connected to the acquisition zone file module 42, for The first feedback information of the secondary DNS server successfully acquiring the zone file is sent to the primary DNS server, so that the primary DNS server sends a notification message including the secondary DNS server information to the secondary server of the secondary DNS server.
更进一步的, 为了保证辅 DNS服务器都能够成功的获取上级服务器的新 建 DNS区的区文件, 该辅 DNS服务器还包括: 第二反馈信息发送模块 46 , 与 获取区文件模块 44相连接,用于向主 DNS服务器发送辅 DNS服务器未成功获 取区文件的第二反馈信息; 则通知消息接收模块 41 , 与第二反馈信息发送模 块 46相连接, 用于若第二反馈信息发送模块 46向主 DNS服务器发送辅 DNS 服务器未成功获取区文件的第二反馈信息时, 重新接收包括辅 DNS服务器的 上级服务器信息的通知消息。 Further, in order to ensure that the secondary DNS server can successfully obtain the zone file of the new DNS zone of the upper-level server, the secondary DNS server further includes: a second feedback information sending module 46, connected to the acquisition zone file module 44, for The second feedback information that the secondary DNS server does not successfully obtain the zone file is sent to the primary DNS server; the notification message receiving module 41 is connected to the second feedback information sending module 46, and is configured to send the second feedback information sending module 46 to the primary DNS. Server sends secondary DNS When the server does not successfully obtain the second feedback information of the zone file, the server re-receives the notification message including the upper-level server information of the secondary DNS server.
实施例七  Example 7
图 11为本发明实施例六提供的域名系统的结构示意图, 如图 11所示, 该域名系统包括上述实施例五所述的主 DNS服务器 51和上述实施例六所述的 至少二级辅 DNS服务器 52; 其中, 主 DNS服务器 51用于创建 DNS区且设置 DNS区内各 DNS服务器之间的依赖关系, 并根据依赖关系, 逐级向辅 DNS服 务器 52发送包括辅 DNS服务器 52的上级服务器信息的通知消息, 直至各辅 DNS服务器 52记录各自上级服务器信息, 并根据通知消息向各自上级服务器 获取区文件; 辅 DNS服务器 52接收主 DNS服务器 51发送的通知消息, 该通 知消息包括辅 DNS服务器 52的上级服务器信息; 并根据通知消息, 记录上级 服务器信息, 并向上级服务器信息对应的上级服务器获取所述主 DNS服务器 51创建的 DNS区的区文件。  FIG. 11 is a schematic structural diagram of a domain name system according to Embodiment 6 of the present invention. As shown in FIG. 11, the domain name system includes the primary DNS server 51 according to the fifth embodiment and the at least secondary secondary DNS described in the foregoing sixth embodiment. The server 52; wherein, the primary DNS server 51 is configured to create a DNS zone and set a dependency relationship between the DNS servers in the DNS zone, and send the superior server information including the secondary DNS server 52 to the secondary DNS server 52 step by step according to the dependency relationship. The notification message until the secondary DNS server 52 records the respective upper-level server information, and acquires the zone file from the respective upper-level servers according to the notification message; the secondary DNS server 52 receives the notification message sent by the primary DNS server 51, and the notification message includes the secondary DNS server 52. The upper-level server information is recorded; and the upper-level server information is recorded according to the notification message, and the zone file of the DNS zone created by the primary DNS server 51 is obtained by the upper-level server corresponding to the upper-level server information.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 的存储介质包括: R0M、 RAM, 磁碟或者光盘等各种可以存储程序代码的介质。  A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The steps of the foregoing method embodiments are included; and the foregoing storage medium includes: a medium that can store a program code, such as a ROM, a RAM, a magnetic disk, or an optical disk.
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或 者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本发明各实施例技术方案的精神和范围。  It should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

权利要求 Rights request
1、 一种实现 DNS区创建同步的方法, 其特征在于, 包括:  A method for implementing synchronization of a DNS zone, which is characterized by comprising:
主 DNS服务器创建 DNS区且设置所述 DNS区内各 DNS服务器之间的依赖 关系, 所述各 DNS服务器包括所述主 DNS服务器和至少二级辅 DNS服务器; 所述主 DNS服务器根据所述依赖关系, 逐级向所述辅 DNS服务器发送包 括所述辅 DNS服务器的上级服务器信息的通知消息, 直至各辅 DNS服务器记 录各自所述上级服务器信息 , 并根据所述通知消息向各自上级服务器获取区 文件。  The primary DNS server creates a DNS zone and sets a dependency relationship between the DNS servers in the DNS zone, and each of the DNS servers includes the primary DNS server and at least a secondary secondary DNS server; And sending, to the secondary DNS server, a notification message including the upper-level server information of the secondary DNS server, until each secondary DNS server records the respective upper-level server information, and acquiring the area according to the notification message to the respective upper-level server. file.
2、 根据权利要求 1所述的实现 DNS区创建同步的方法, 其特征在于, 所 述主 DNS服务器根据所述依赖关系, 逐级向所述辅 DNS服务器发送包括所述 辅 DNS服务器的上级服务器信息的通知消息, 包括:  The method for implementing synchronization of a DNS zone according to claim 1, wherein the primary DNS server sends a superior server including the secondary DNS server to the secondary DNS server step by step according to the dependency relationship. Notification messages for information, including:
所述主 DNS服务器根据所述依赖关系, 向第一辅 DNS服务器发送包括所 述第一辅 DNS服务器的上级服务器信息的通知消息;  And sending, by the primary DNS server, a notification message including the upper-level server information of the first secondary DNS server to the first secondary DNS server according to the dependency relationship;
在所述主 DNS服务器接收到所述第一辅 DNS服务器成功获取所述区文件 的第一反馈信息时, 所述主 DNS服务器向第二辅 DNS服务器发送包括所述第 二辅 DNS服务器的上级服务器信息的通知消息, 所述第一辅 DNS服务器为所 述第二辅 DNS服务器的上级服务器。  When the primary DNS server receives the first feedback information that the first secondary DNS server successfully acquires the zone file, the primary DNS server sends a superior of the second secondary DNS server to the second secondary DNS server. A notification message of the server information, where the first secondary DNS server is a superior server of the second secondary DNS server.
3、 根据权利要求 1所述的实现 DNS区创建同步的方法, 其特征在于, 还 包括:  The method for implementing synchronization of a DNS zone according to claim 1, further comprising:
在所述主 DNS服务器接收到所述第一辅 DNS服务器未成功获取所述区文 件的第二反馈信息时, 所述主 DNS服务器向所述第一辅 DNS服务器重复发送 包括所述第一辅 DNS服务器的上级服务器信息的通知消息。  When the primary DNS server receives the second feedback information that the first secondary DNS server does not successfully acquire the zone file, the primary DNS server repeatedly sends the first secondary DNS server to the first secondary DNS server, including the first secondary A notification message for the superior server information of the DNS server.
4、 一种实现 DNS区创建同步的方法, 其特征在于, 包括:  4. A method for implementing synchronization of a DNS zone, which is characterized by comprising:
辅 DNS服务器接收主 DNS服务器发送的通知消息, 所述通知消息包括所 述辅 DNS服务器的上级服务器信息;  The secondary DNS server receives the notification message sent by the primary DNS server, where the notification message includes the upper-level server information of the secondary DNS server;
所述辅 DNS服务器根据所述通知消息, 记录所述上级服务器信息, 并向 所述上级服务器信息对应的上级服务器获取所述主 DNS服务器创建的 DNS区 的区文件。 The secondary DNS server records the superior server information according to the notification message, and The upper-level server corresponding to the upper-level server information acquires the area file of the DNS zone created by the primary DNS server.
5、 根据权利要求 4所述的实现 DNS区创建同步的方法, 其特征在于, 所 述辅 DNS服务器根据所述通知消息, 记录所述上级服务器信息, 并向所述上 级服务器信息对应的上级服务器获取所述主 DNS服务器创建的 DNS区的区文 件之后, 还包括:  The method for implementing the synchronization of the DNS zone according to claim 4, wherein the secondary DNS server records the information of the upper-level server according to the notification message, and sends the information to the upper-level server corresponding to the upper-level server information. After obtaining the zone file of the DNS zone created by the primary DNS server, the method further includes:
所述辅 DNS服务器接收所述辅 DNS服务器的下级服务器发送的请求消息; 所述辅 DNS服务器根据所述请求消息, 向所述下级服务器发送所述 DNS 区的区文件。  And the secondary DNS server receives the request message sent by the lower-level server of the secondary DNS server; and the secondary DNS server sends the area file of the DNS zone to the lower-level server according to the request message.
6、 根据权利要求 4所述的实现 DNS区创建同步的方法, 其特征在于, 还 包括:  The method for implementing synchronization of a DNS zone according to claim 4, further comprising:
所述辅 DNS服务器向所述主 DNS服务器发送所述辅 DNS服务器成功获取 所述区文件的第一反馈信息, 以使所述主 DNS服务器向所述辅 DNS服务器的 下级服务器发送包括所述辅 DNS服务器信息的通知消息。  Sending, by the secondary DNS server, the first feedback information that the secondary DNS server successfully obtains the area file to the primary DNS server, so that the primary DNS server sends the secondary DNS server to a lower-level server of the secondary DNS server, including the auxiliary Notification message for DNS server information.
7、 根据权利要求 4所述的实现 DNS区创建同步的方法, 其特征在于, 还 包括:  The method for implementing the DNS zone creation synchronization according to claim 4, further comprising:
所述辅 DNS服务器向所述主 DNS服务器发送所述辅 DNS服务器未成功获 取所述区文件的第二反馈信息,则所述辅 DNS服务器重复接收包括所述辅 DNS 服务器的上级服务器信息的通知消息。  The secondary DNS server sends, to the primary DNS server, the second feedback information that the secondary DNS server does not successfully obtain the zone file, and the secondary DNS server repeatedly receives the notification of the upper-level server information including the secondary DNS server. Message.
8、 一种主 DNS服务器, 其特征在于, 包括:  8. A primary DNS server, comprising:
创建 DNS区模块, 用于创建 DNS区且设置所述 DNS区内各 DNS服务器之 间的依赖关系, 所述各 DNS服务器包括主 DNS服务器和至少二级辅 DNS服务 器;  Creating a DNS zone module, configured to create a DNS zone and set a dependency relationship between the DNS servers in the DNS zone, where each DNS server includes a primary DNS server and at least a secondary secondary DNS server;
通知消息发送模块, 与所述创建 DNS 区模块相连接, 用于根据所述依赖 关系, 逐级向所述辅 DNS服务器发送包括所述辅 DNS服务器的上级服务器信 息的通知消息, 直至各辅 DNS服务器记录各自所述上级服务器信息, 并根据 所述通知消息向各自上级服务器获取区文件。 a notification message sending module, configured to be connected to the created DNS zone module, configured to send, according to the dependency relationship, a notification message including the upper-level server information of the secondary DNS server to the secondary DNS server, until each secondary DNS The server records the respective upper server information, and according to The notification message acquires a zone file from the respective superior server.
9、 根据权利要求 8所述的主 DNS服务器, 其特征在于, 所述通知消息发 送模块包括:  The primary DNS server according to claim 8, wherein the notification message sending module comprises:
通知消息发送单元, 与所述创建 DNS 区模块相连接, 用于根据所述依赖 关系, 向第一辅 DNS服务器发送包括所述第一辅 DNS服务器的上级服务器信 息的通知消息;  a notification message sending unit, configured to be connected to the created DNS zone module, configured to send, to the first secondary DNS server, a notification message including the upper server information of the first secondary DNS server according to the dependency relationship;
第一反馈信息接收单元, 用于接收到所述第一辅 DNS服务器成功获取所 述区文件的第一反馈信息;  a first feedback information receiving unit, configured to receive the first feedback information that the first secondary DNS server successfully obtains the area file;
所述通知消息发送单元, 与所述第一反馈信息接收单元相连接, 还用于 在所述第一反馈信息接收单元接收到所述第一辅 DNS服务器成功获取所述区 文件的第一反馈信息时, 向第二辅 DNS服务器发送包括所述第二辅 DNS服务 器的上级服务器信息的通知消息, 所述第一辅 DNS服务器为所述第二辅 DNS 服务器的上级服务器。  The notification message sending unit is connected to the first feedback information receiving unit, and is further configured to receive, by the first feedback information receiving unit, the first feedback that the first secondary DNS server successfully acquires the area file. And sending, to the second secondary DNS server, a notification message including the upper-level server information of the second secondary DNS server, where the first secondary DNS server is an upper-level server of the second secondary DNS server.
10、 根据权利要求 9所述的主 DNS服务器, 其特征在于, 所述通知消息 发送模块还包括:  The primary DNS server according to claim 9, wherein the notification message sending module further comprises:
第二反馈信息接收单元, 用于接收所述第一辅 DNS服务器未成功获取所 述区文件的第二反馈信息;  a second feedback information receiving unit, configured to receive second feedback information that the first secondary DNS server does not successfully obtain the zone file;
所述通知消息发送单元, 与所述第二反馈信息接收单元相连接, 还用于 在第二反馈信息接收单元接收到所述第一辅 DNS服务器未成功获取所述区文 件的第二反馈信息时,向所述第一辅 DNS服务器重复发送包括所述第一辅 DNS 服务器的上级服务器信息的通知消息。  The notification message sending unit is connected to the second feedback information receiving unit, and is further configured to receive, by the second feedback information receiving unit, the second feedback information that the first secondary DNS server does not successfully acquire the area file. And transmitting, to the first secondary DNS server, a notification message including the upper server information of the first secondary DNS server.
11、 一种辅 DNS服务器, 其特征在于, 包括:  11. A secondary DNS server, comprising:
通知消息接收模块, 用于接收主 DNS服务器发送的通知消息, 所述通知 消息包括所述辅 DNS服务器的上级服务器信息;  a notification message receiving module, configured to receive a notification message sent by the primary DNS server, where the notification message includes upper server information of the secondary DNS server;
获取区文件模块, 与所述通知消息接收模块相连接, 用于根据所述通知 消息, 记录所述上级服务器信息, 并向所述上级服务器信息对应的上级服务 器获取所述主 DNS服务器创建的 DNS区的区文件。 The acquiring area file module is connected to the notification message receiving module, and configured to record the upper-level server information according to the notification message, and provide the superior service corresponding to the upper-level server information The device obtains the zone file of the DNS zone created by the primary DNS server.
12、 根据权利要求 11所述的辅 DNS服务器, 其特征在于, 还包括: 请求消息接收模块, 用于接收所述辅 DNS服务器的下级服务器发送的请 求消息;  The secondary DNS server according to claim 11, further comprising: a request message receiving module, configured to receive a request message sent by a lower-level server of the secondary DNS server;
区文件发送模块 , 与所述请求消息模块和获取区文件模块相连接, 用于 根据所述请求消息, 向所述下级服务器发送所述 DNS区的区文件。  And a zone file sending module, configured to connect to the request message module and the acquiring zone file module, and configured to send the zone file of the DNS zone to the lower-level server according to the request message.
1 3、 根据权利要求 11所述的辅 DNS服务器, 其特征在于, 还包括: 第一反馈信息发送模块, 与所述获取区文件模块相连接, 用于向所述主 The secondary DNS server according to claim 11, further comprising: a first feedback information sending module, connected to the acquiring area file module, for using the main
DNS服务器发送所述辅 DNS服务器成功获取所述区文件的第一反馈信息, 以 使所述主 DNS服务器向所述辅 DNS服务器的下级服务器发送包括所述辅 DNS 服务器信息的通知消息。 The DNS server sends the first feedback information of the area file to the secondary DNS server, so that the primary DNS server sends a notification message including the secondary DNS server information to a lower-level server of the secondary DNS server.
14、 根据权利要求 11所述的辅 DNS服务器, 其特征在于, 还包括: 第二反馈信息发送模块, 与所述获取区文件模块相连接, 用于向所述主 The secondary DNS server according to claim 11, further comprising: a second feedback information sending module, connected to the acquiring area file module, for using the main
DNS服务器发送所述辅 DNS服务器未成功获取所述区文件的第二反馈信息; 所述通知消息接收模块, 与所述第二反馈信息发送模块相连接, 用于若 所述第二反馈信息发送模块向所述主 DNS服务器发送所述辅 DNS服务器未成 功获取所述区文件的第二反馈信息时 , 重复接收包括所述辅 DNS服务器的上 级服务器信息的通知消息。 The second server sends the second feedback information that is not successfully obtained by the secondary DNS server; the notification message receiving module is connected to the second feedback information sending module, and is configured to send the second feedback information. When the module sends the second feedback information that the secondary DNS server fails to acquire the zone file to the primary DNS server, the module repeatedly receives the notification message including the upper-level server information of the secondary DNS server.
15、 一种域名系统, 其特征在于, 包括如权利要求 8 ~ 1 0任一所述的主 DNS服务器和至少二级如权利要求 1 1 ~ 14任一所述的辅 DNS服务器。  A domain name system, comprising: a primary DNS server according to any one of claims 8 to 10; and at least two secondary DNS servers according to any one of claims 1 to 14.
PCT/CN2010/074573 2010-01-26 2010-06-28 Method, server and domain name system for realizing synchronization of the domain name system zone creation WO2011091646A1 (en)

Applications Claiming Priority (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
CN201010101269.0 2010-01-26

Publications (1)

Publication Number Publication Date
WO2011091646A1 true WO2011091646A1 (en) 2011-08-04

Family

ID=42744550

Family Applications (1)

Application Number Title Priority Date Filing Date
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

Country Status (2)

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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
US9992155B2 (en) 2012-03-29 2018-06-05 Hitachi Vantara Corporation DNS alias synchronization in replication topology
CN116436836A (en) * 2023-06-13 2023-07-14 阿里巴巴(中国)有限公司 Domain name data synchronous detection method, device and equipment

Families Citing this family (10)

* 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
CN103856569B (en) * 2012-11-28 2018-09-11 方正宽带网络服务有限公司 A kind of method and apparatus of synchronous domain name system asset information
CN103338222B (en) * 2013-05-23 2017-06-06 中国科学院计算机网络信息中心 A kind of autosynchronous method of area's data for realizing DNS master and auxiliary server
CN103259865A (en) * 2013-05-23 2013-08-21 中国科学院计算机网络信息中心 Self-adaptive DNS zone file transmission method and system based on network coding
CN103259866B (en) * 2013-05-23 2016-01-27 中国科学院计算机网络信息中心 A kind of method and system of DNS zone file multi-node transmission
CN103685260B (en) * 2013-12-09 2016-08-31 中国科学院计算机网络信息中心 The area file transfer approach of overlay multicast and system
CN106210158B (en) * 2015-05-04 2020-03-27 阿里巴巴集团控股有限公司 Domain name resolution synchronization method and device
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

Citations (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
US20060036676A1 (en) * 2004-08-13 2006-02-16 Cardone Richard J Consistent snapshots of dynamic heterogeneously managed data
CN101232421A (en) * 2008-02-26 2008-07-30 上海可鲁系统软件有限公司 Industry internet networking method and address analysis method
CN101444072A (en) * 2006-05-17 2009-05-27 法国电信公司 Server and method for managing domain names in a network

Patent Citations (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
US20060036676A1 (en) * 2004-08-13 2006-02-16 Cardone Richard J Consistent snapshots of dynamic heterogeneously managed data
CN101444072A (en) * 2006-05-17 2009-05-27 法国电信公司 Server and method for managing domain names in a network
CN101232421A (en) * 2008-02-26 2008-07-30 上海可鲁系统软件有限公司 Industry internet networking method and address analysis method

Cited By (5)

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

Also Published As

Publication number Publication date
CN101841409B (en) 2013-04-24
CN101841409A (en) 2010-09-22

Similar Documents

Publication Publication Date Title
WO2011091646A1 (en) Method, server and domain name system for realizing synchronization of the domain name system zone creation
US11349949B2 (en) Method of using path signatures to facilitate the recovery from network link failures
US7620721B2 (en) Pre-existing content replication
US7617289B2 (en) System and method for using a data replication service to manage a configuration repository
US6898609B2 (en) Database scattering system
EP2706719B1 (en) File synchronization method and device
US7680876B1 (en) Highly available domain name system
US7725766B2 (en) System for synchronizing replicas of a database
WO2022033121A1 (en) Method and system for resource exposure in kubernetes, and device and medium
JP4794143B2 (en) System and method for managing cache objects using notification bonds
US20150215400A1 (en) File Upload Method And System
US20140229582A1 (en) System And Method For Offline Downloading Network Resource Files
WO2014071786A1 (en) Method and system for file transmitting
TW201007489A (en) Peer-to-peer redundant file server system and methods
JP2006350632A (en) Application management system, application management method, server and communication system
WO2017133531A1 (en) Asynchronous service processing method, and server
WO2012174935A1 (en) Method for implementing persistent service and persistent service system
JP2015509232A (en) Method and apparatus for messaging in the cloud
JP2002540491A (en) Web server content replication
CN103259866B (en) A kind of method and system of DNS zone file multi-node transmission
WO2017097181A1 (en) Data pushing method and apparatus
JP6442230B2 (en) Information processing apparatus, synchronization control method, and program
WO2012136091A2 (en) Data migration method and system in peer-to-peer network
JP2007200085A (en) Data duplication system and data duplication method
US10715484B1 (en) Domain management and synchronization system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10844423

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10844423

Country of ref document: EP

Kind code of ref document: A1