CN109842497B - Configuration updating method and device of DNS (Domain name Server), terminal equipment and configuration updating system - Google Patents

Configuration updating method and device of DNS (Domain name Server), terminal equipment and configuration updating system Download PDF

Info

Publication number
CN109842497B
CN109842497B CN201711187726.0A CN201711187726A CN109842497B CN 109842497 B CN109842497 B CN 109842497B CN 201711187726 A CN201711187726 A CN 201711187726A CN 109842497 B CN109842497 B CN 109842497B
Authority
CN
China
Prior art keywords
dns server
deployment
server
updating
configuration data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711187726.0A
Other languages
Chinese (zh)
Other versions
CN109842497A (en
Inventor
周雯程
洪金艺
苗辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guizhou Baishancloud Technology Co Ltd
Original Assignee
Guizhou Baishancloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guizhou Baishancloud Technology Co Ltd filed Critical Guizhou Baishancloud Technology Co Ltd
Priority to CN201711187726.0A priority Critical patent/CN109842497B/en
Publication of CN109842497A publication Critical patent/CN109842497A/en
Application granted granted Critical
Publication of CN109842497B publication Critical patent/CN109842497B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a configuration updating method, terminal equipment and a configuration updating system of a DNS (domain name system) server, wherein the method comprises the following steps: receiving basic configuration data of a monitoring node server of the whole network; monitoring an updating request for updating the configuration of the DNS server administered by the central server; responding to the updating request, and issuing basic configuration data and a deployment notification corresponding to each network area to a DNS server of each network area; the deployment notification is used for notifying the DNS server to perform deployment updating operation according to the basic configuration data received by the DNS server; the deployment update operation includes the DNS server converting the base configuration data into a reference configuration file recognizable by the DNS server. By adopting the embodiment of the invention, the pressure of the central server can be reduced, and the efficiency of configuration updating can be improved.

Description

Configuration updating method and device of DNS (Domain name Server), terminal equipment and configuration updating system
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for updating configuration of a DNS server, a terminal device, and a configuration updating system.
Background
A Content Delivery Network (CDN) is a one-layer intelligent virtual Network based on the existing internet, which is formed by placing node servers at various locations of the Network, so that a CDN system can redirect a user's request to a service node closest to the user in real time according to Network traffic, connection of each node, load conditions, and comprehensive information such as a distance to the user and response time. When providing network acceleration service, a CDN service provider often needs to change and timely process a policy of providing service according to factors such as a special requirement of a user, a state of a server, or own cost. For example: 1. when the bandwidth of an exit of a server at a certain node is too high, the phenomena of time delay, packet loss and the like occur when a user accesses the node, so that the service quality is reduced, and the bandwidth of the node with the too high bandwidth is reduced because the ip of a backup node needs to be searched to carry the bandwidth of the node with the too high bandwidth; 2. when a user in a certain area accesses, the user can provide the specified node for service, so that the purposes of reducing cost and improving service quality are achieved.
How to improve the efficiency of updating the configuration file becomes a key problem for providing high-quality service under the condition that the scheduling strategy needs to be changed in time.
In the prior art, an adjustment scheme for a scheduling policy is implemented, in which a central server monitors the status of a server providing a service in real time, calculates the status to generate a corresponding scheduling policy, converts the scheduling policy to be adjusted into a bind configuration file, and sends the bind configuration file to each DNS server. And the update configuration cannot be issued in time, so that the service quality is reduced, and the user experience is not high. The prior art has the following defects:
1. the central server needs to perform a large amount of calculation, converts the original monitoring data into configuration files which can be identified by the bind, and then issues the configuration files to each DNS server, so that the configuration files need to contain modification strategies which are in line with the needs of all DNS servers, the configuration files are too large, the issuing time is too long, and the load of the central server is increased.
2. Due to the fact that the time for sending is too long, the operation failure rate of the configuration file which needs to be changed frequently is greatly improved, and user experience is affected.
3. When a DNS server is newly deployed, the DNS server needs to download a complete configuration file to the central server, and when a plurality of DNS servers request simultaneously, the central server is under excessive pressure, so that the download time of the configuration file is too long.
4. In the prior art, if the central server is in a configuration issuing state, the configuration file updated subsequently cannot be issued, so that the configuration file cannot be changed urgently in case of an emergency.
Disclosure of Invention
The configuration updating method and device of the DNS, the terminal equipment and the configuration updating system provided by the embodiment of the invention can reduce the pressure of the central server and improve the efficiency of configuration updating.
In a first aspect, an embodiment of the present invention provides a method for updating a configuration of a DNS server, where the method is executed by a central server, and specifically includes:
receiving basic configuration data of a monitoring node server of the whole network;
monitoring an updating request for updating the configuration of the DNS server administered by the central server;
responding to the updating request, and issuing basic configuration data and a deployment notification corresponding to each network area to a DNS server of each network area; the deployment notification is used for notifying the DNS server to perform deployment updating operation according to the basic configuration data received by the DNS server; the deployment update operation includes the DNS server converting the base configuration data into a reference configuration file that the DNS server can identify containing a set of secondary domain name resolutions.
In a first possible implementation manner of the first aspect, the method for updating a configuration of a DNS server further includes:
sending basic configuration data and test deployment notification corresponding to a network area to which the DNS server belongs to at least N DNS servers in the whole network; the test deployment notification is used for notifying the DNS server to perform deployment updating operation according to the basic configuration data received by the DNS server, and returning the information of successful test deployment operation to the central server after successful deployment.
In a second possible implementation manner of the first aspect, the method for updating a configuration further includes:
distributing the basic configuration data to a task issuing queue of a corresponding network area; the basic configuration data has the attribute of issuing priority;
and responding to the updating request, and extracting the basic configuration data with the highest issuing priority from each task queue as the basic configuration data to be issued.
In a third possible implementation manner of the first aspect, the deploying and updating operation further includes updating, by the DNS server, data in the local configuration file that is different from the reference configuration file to corresponding data in the reference configuration file.
In a second aspect, an embodiment of the present invention provides an apparatus for updating configuration of a DNS server, where the apparatus is arranged in a central server, and specifically includes:
the data receiving module is used for receiving basic configuration data of the monitoring node servers in the whole network;
the updating request monitoring module is used for monitoring an updating request for updating the configuration of the DNS server administered by the central server;
the deployment issuing module is used for responding to the updating request and issuing basic configuration data and a deployment notice corresponding to each network area to the DNS server of each network area; the deployment notification is used for notifying the DNS server to perform deployment updating operation according to the basic configuration data received by the DNS server; the deployment update operation includes the DNS server converting the base configuration data into a reference configuration file that the DNS server can identify containing a set of secondary domain name resolutions.
In a first possible implementation of the second aspect, the apparatus further comprises:
the test deployment issuing module is used for issuing basic configuration data and test deployment notification corresponding to a network area to which the DNS server belongs to at least N DNS servers in the whole network; the test deployment notification is used for notifying the DNS server to perform deployment updating operation according to the basic configuration data received by the DNS server, and returning the information of successful test deployment operation to the central server after successful deployment.
In a second possible implementation manner of the second aspect, the apparatus for updating the configuration includes:
the task issuing unit is used for distributing the basic configuration data to an issued task queue of a corresponding network area; the basic configuration data has the attribute of issuing priority;
and the data extraction unit is used for responding to the updating request and extracting the basic configuration data with the highest issuing priority from each task queue as the basic configuration data to be issued.
In a third possible implementation manner of the second aspect, the deploying and updating operation further includes updating, by the DNS server, data in the local configuration file that is different from the reference configuration file to corresponding data in the reference configuration file.
In a third aspect, an embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processing, where the processor implements the method for updating the configuration of the DNS server described in any one of the above when executing the computer program.
In a fourth aspect, an embodiment of the present invention provides a configuration updating system, including a central server and a DNS server; the central server executes the configuration updating method of the DNS server; the DNS server executes deployment updating operation in the configuration updating method of the DNS server.
The embodiment of the invention has the following beneficial effects:
in the method and the device for updating configuration of a DNS server, the terminal device, and the system for updating configuration provided in the embodiments of the present invention, a central server can directly obtain original access data for monitoring node servers in a whole network from a resource platform, and since the original access data includes basic configuration data for providing domain name resolution service for a DNS server selected by a node server in each network region, the central server does not need to perform a large amount of calculation, and the load of the central server is reduced, on the other hand, when an update request for updating configuration of a DNS server governed by the central server is monitored, the basic configuration data and a deployment notification corresponding to the network region are issued to the DNS server in each network region, and since only the basic configuration data required by the DNS server in each network region is provided, the amount of issued data is greatly reduced, the issuing speed is increased; and the operation of converting the basic configuration data into the reference configuration file which can be identified by the DNS server and contains the secondary domain name resolution group is executed by the DNS server instead of the central server, so that the load of the central server is reduced on one hand, and on the other hand, the issuing speed can be further improved because the size of the basic configuration data is reduced by multiple times compared with the file size of the converted reference configuration file.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow diagram illustrating one embodiment of a method for configuration update of a DNS server provided by the present invention;
FIG. 2 is a schematic block diagram illustrating an embodiment of a configuration update system according to the present invention;
FIG. 3 is a schematic diagram of a flow chart of a central server executing configuration update delivery according to the present invention;
FIG. 4 is a flowchart illustrating a DNS server performing a deployment update operation;
fig. 5 is a schematic structural diagram of an apparatus for updating configuration of a DNS server according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment of the present invention:
referring to fig. 1 and fig. 2, fig. 1 is a schematic flowchart of an embodiment of a method for configuration update of a DNS server provided in the present invention, and fig. 2 is a schematic structural diagram of an embodiment of a configuration update system provided in the present invention. The configuration updating system in the embodiment of the invention comprises a central server and a plurality of DNS servers administered by the central server, wherein each DNS server provides domain name resolution service for a network region; the configuration updating system runs hex distributed software and is divided into a center part and an edge part, a center server runs a hex center, and a DNS server runs a hex edge. For a network user in a network area, such as a mobile device user, a PC end user, etc., accessing a DNS server in the network area, the DNS server converts a name provided by the network user into a network address, such as an IP address, and returns the network address to the network user, and the network user accesses a corresponding node server according to the returned network address. The local configuration file stored in the DNS server for converting the name provided by the network user into the network address is issued and configured by the central server. Therefore, based on the update request of the configuration update of the DNS server, an embodiment of the present invention provides a method for updating the configuration of the DNS server, which is executed by a central server, and specifically includes the following steps:
and S10, receiving basic configuration data of the monitoring node server of the whole network.
In the embodiment of the invention, a resource platform monitors node servers of the whole network, the resource platform can automatically generate original access data according to the monitoring process, and can also add manual configuration, so that the original access data is a set of basic configuration data of each region, and one basic configuration data records a scheme that one or more DNS servers selected by the node servers in one network region provide domain name resolution service and a scheme that users in the network region can selectively access the node servers according to the identity attributes of the users. Because the original access data is the planned basic configuration data, the central server is not required to calculate and generate the basic configuration data for configuring the DNS server, and the load of the central server is reduced.
The basic configuration data provided in the embodiment of the present invention includes, but is not limited to, the contents in the following table, and may be sent to a DNS server of a large area corresponding to the basic configuration data in a file format, for example, the following table is taken as an example, the large area a may include, but is not limited to, an area a, an area b, and an area c, and the large area and the area are network areas; the basic configuration data records data of node servers contained in the cache1 and the cache2, when the identity attribute of the user is operator 1 and is area a, the node servers accessible by the user are the cache 1; the cache1 and the cache2 both comprise a plurality of node servers. Therefore, when a user accesses a DNS server of a large area, the DNS server determines a node server which can be accessed by the user according to the identity attribute of the user and returns the information to the user so that the user can log in the corresponding node server.
Figure BDA0001480419070000071
S20, monitoring the update request for updating the configuration of the DNS server managed by the central server.
In the embodiments of the present invention, in general, the following occurs: firstly, when the bandwidth of an exit of a certain node server is too high, the phenomena of time delay, packet loss and the like occur when a user accesses the node, so that the service quality is reduced, and the bandwidth of the node with the too high bandwidth is reduced because the ip of a backup node needs to be searched to carry the bandwidth of the node with the too high bandwidth; secondly, a certain area needs to be assigned with a specific node for service, and when a user in the area accesses the area, the user can provide the assigned node for service, so that the purposes of reducing cost and improving service quality are achieved; and the central server updates the configuration of the DNS server managed by the central server, namely the central server receives an updating request.
S30, responding to the update request, and issuing basic configuration data and deployment notification corresponding to each network area to the DNS server of each network area; the deployment notification is used for notifying the DNS server to perform deployment updating operation according to the basic configuration data received by the DNS server; the deployment update operation includes the DNS server converting the base configuration data into a reference configuration file that the DNS server can identify containing a set of secondary domain name resolutions.
In the embodiment of the invention, the basic configuration data required by the DNS server is only issued to the DNS server in each network area, so that the issued data volume is greatly reduced, and the issuing speed is increased; and the operation of converting the base configuration data into a reference configuration file that is recognizable by the DNS server and contains a set of secondary domain name resolutions is performed by the DNS server, com is a secondary domain name, on the one hand, to reduce the load on the central server, and, on the other hand, to include a plurality of secondary domain name resolution groups, e.g. cdn.com, by classifying customers (by service type, country, etc.), the same type of customers are classified into the same CDN acceleration secondary domain name, which is CNAME to the assigned acceleration secondary domain name, i.e., one resolution group corresponds to the same class of customer domain names, while the file size of one resolution group is almost equal to the file size of one underlying configuration data, therefore, the basic configuration data is reduced by multiple times compared with the file size of the converted reference configuration file, and the issuing speed can be further improved.
In the embodiment of the invention, the format of the reference configuration file is a bind format configuration file and can be identified by bind software built in a DNS.
In summary, the present invention provides a method for updating configuration of DNS servers, where a central server can directly obtain original access data of monitoring node servers in a whole network from a resource platform, and because the original access data comprises the basic configuration data of the domain name resolution service provided by the DNS server selected by the node server in each network region, a central server is not required to perform a large amount of calculation, the load of the central server is reduced, on the other hand, when an update request for a configuration update to a DNS server administered by the central server is monitored, issuing basic configuration data and deployment notification corresponding to each network area to a DNS server of the network area, because the data is only configured to the DNS server of each network region, the data volume of the distribution is greatly reduced, and the distribution speed is improved; and the operation of converting the basic configuration data into the reference configuration file which can be identified by the DNS server and contains the secondary domain name resolution group is executed by the DNS server instead of the central server, so that the load of the central server is reduced on one hand, and on the other hand, the issuing speed can be further improved because the size of the basic configuration data is reduced by multiple times compared with the file size of the converted reference configuration file.
Second embodiment of the invention:
on the basis of the first embodiment, the issuing of the basic configuration data and the deployment notification corresponding to each network area to the DNS server of each network area specifically includes:
and after receiving the information of successful test deployment operation, issuing basic configuration data and a deployment notification corresponding to each network area to a DNS (domain name server) of each network area. When the update request is responded, the DNS server is tested and deployed successfully, and then the deployment operation of the whole network is executed, so that the condition that the DNS server of the whole network is paralyzed due to the fact that the update is directly issued by the whole network when the basic configuration data to be issued have errors is avoided. And after the test deployment operation is successful, the deployment operation of the whole network is executed after the basic configuration data to be issued is proved to have no problem.
Preferably, the test deployment operation is executed by the central server, and specifically includes:
sending basic configuration data and test deployment notification corresponding to a network area to which the DNS server belongs to at least N DNS servers in the whole network; the test deployment notification is used for notifying the DNS server to perform deployment updating operation according to the basic configuration data received by the DNS server, and returning the information of successful test deployment operation to the central server after successful deployment.
Preferably, N is equal to or greater than 3. In the embodiment of the invention, the whole network deployment is executed after the N DNS servers all return the information of successful test deployment operation. The embodiment of the invention can effectively improve the success rate of the deployment and update operation of the DNS server.
In the embodiment of the present invention, the selection of the N DNS servers may be that N servers closest to the central server are selected from all DNS servers governed by the central server, so as to improve the efficiency of the test deployment operation; the method can also be used for selecting N DNS servers with the largest DNS server load from all DNS servers governed by the central server, and if the N servers with the largest load are successfully deployed and updated and can complete the pressure test, the success rate of deployment and update of other DNS servers with smaller load is higher; or the N DNS servers with the largest load quantity are selected from the DNS servers which have not been subjected to the test deployment operation within a period of time set by history, so that the success rate of the DNS servers for performing the deployment updating operation can be further ensured.
Third embodiment of the invention:
on the basis of the first embodiment or the second embodiment, the method for providing configuration update according to the embodiment of the present invention further includes:
distributing basic configuration data in the original access data to a task issuing queue of a corresponding network area; the basic configuration data has the attribute of issuing priority;
and responding to the updating request, and extracting the basic configuration data with the highest issuing priority from each task queue as the basic configuration data to be issued.
Specifically, each piece of basic configuration data is used as a task, and has a version number, and the task with the highest version number has the highest issuing priority. When a plurality of tasks exist in a task queue of the same network area, the task being issued is not interrupted, only the basic configuration data with the highest version number, namely the priority, is issued to the DNS server of the network area, and other tasks (namely the basic configuration data) are discarded.
Fig. 3 is a schematic diagram of a flow for executing configuration update distribution by the central server according to the present invention. Taking the original access data acquired by the central server from the resource platform as an example, the configuration issuing process of the central server is described as follows:
step A1: the central server acquires original access data from the resource platform;
step A2: the central server performs file inspection on basic configuration data in the original access data;
step A3: the central server distributes the basic configuration data to a task issuing queue of a corresponding network area;
step A4: when an updating request is received, judging whether the task queue executes a task which issues basic configuration data or the task queue is empty; if yes, go to step A9; if not, executing the step A5;
step A5: taking out the basic configuration data with the highest issued priority level from the task queue;
step A6: compressing the extracted basic configuration data;
step A7: sending the compressed basic configuration data to a DNS server of a corresponding network area;
step A8: sending a deployment notification to the DNS server which has issued the basic configuration data and returning to the step A4;
step A9: the central server quits working.
On the basis of the above embodiment, preferably, the deployment updating operation further includes that the DNS server updates data in the local configuration file that is different from the reference configuration file to corresponding data in the reference configuration file.
Referring to fig. 4, a schematic flowchart of the DNS server executing the deployment update operation provided by the present invention is shown. When the DNS server receives a deployment notification or a test deployment notification from the central server, the process of the deployment update operation of the DNS server is described by taking the received basic configuration data as an example, specifically as follows:
step B1: the DNS server receives a deployment notification or a test deployment notification from the central server and inquires whether basic configuration data are received; if yes, go to step B3; if not, go to step B2.
Step B2: and the DNS server requests the central server to download the basic configuration data, and checks the basic configuration data until the checking is successful. The specific verification process comprises: and checking the validity of the IP of the central server, and eliminating the server IP with faults and the file sent by the server with incomplete regional information.
Step B3: the DNS server decompresses the compressed packets of the base configuration data.
Step B4: and the DNS server generates a reference configuration file which can be identified by the bind according to the decompressed basic configuration data.
Step B5: the DNS server performs a syntax check on the reference profile.
Step B6: after the grammar check is passed, the DNS server carries out differential updating on the local configuration file; the differential updating refers to updating data which is different from the reference configuration file in a local configuration file into corresponding data in the reference configuration file. Since only the changed files are updated, the speed of reloading the local configuration files by the subsequent bind is increased.
Step B7: the DNS controls bind software to reload the local configuration file; this enables the modified local profile to be successfully re-run in the DNS server.
Step B8: the DNS server executes dig check and returns the information of successful deployment to the central server after the check is successful.
And in the embodiment of the invention, as long as one step of the flow fails to be executed, the flow quits and returns the information of failed deployment to the central server.
Please refer to fig. 5, which is a schematic structural diagram of a device for updating configuration of a DNS server according to the present invention; a fourth embodiment of the present invention provides a device for updating configuration of a DNS server, which is disposed in a central server, and specifically includes:
the original data receiving module 10 is used for receiving original access data of the monitoring node servers of the whole network; the original access data comprises basic configuration data of a DNS server selected by a node server in each network region for providing domain name resolution service;
an update request monitoring module 20, configured to monitor an update request for performing configuration update on a DNS server governed by the central server;
a deployment issuing module 30, configured to respond to the update request, and issue the basic configuration data and the deployment notification corresponding to each network area to the DNS server of each network area; the deployment notification is used for notifying the DNS server to perform deployment updating operation according to the basic configuration data received by the DNS server; the deployment update operation includes the DNS server converting the base configuration data into a reference configuration file that the DNS server can identify containing a set of secondary domain name resolutions.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the deployment delivery module 30 is specifically configured to:
and after receiving the information of successful test deployment operation, issuing basic configuration data and a deployment notification corresponding to each network area to a DNS (domain name server) of each network area.
In a third possible implementation of the second aspect, the apparatus further comprises:
a test deployment issuing module 40, configured to issue, to at least N DNS servers in the whole network, basic configuration data and a test deployment notification corresponding to a network area to which the DNS server belongs; the test deployment notification is used for notifying the DNS server to perform deployment updating operation according to the basic configuration data received by the DNS server, and returning the information of successful test deployment operation to the central server after successful deployment.
A fifth embodiment of the present invention provides a terminal device for implementing configuration update of a DNS server, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processing, such as a program for configuration update of a DNS server. The processor, when executing the computer program, implements the steps in any of the above-described embodiments of the method for configuration update of a DNS server, such as step S10 shown in fig. 1. Alternatively, the processor, when executing the computer program, implements the functions of the above-mentioned device examples, such as the raw data acquisition module 10 shown in fig. 5.
Illustratively, the computer program may be partitioned into one or more modules that are stored in the memory and executed by the processor to implement the invention. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which are used for describing the execution process of the computer program in the terminal device implementing the configuration update of the DNS server.
The terminal device is the central server in the above embodiment. The terminal device may include, but is not limited to, a processor, a memory, and a display. It will be understood by those skilled in the art that the schematic diagram is merely an example of a terminal device implementing the configuration update of the DNS server and does not constitute a limitation of a terminal device implementing the configuration update of the DNS server, and may include more or fewer components than those shown, or combine some components, or different components, for example, a terminal device implementing the configuration update of the DNS server may also include an input-output device, a network access device, a bus, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general processor may be a microprocessor or the processor may be any conventional processor, etc., and the processor is a control center of the terminal device for implementing the configuration update of the DNS server, and various interfaces and lines are used to connect various parts of the terminal device for implementing the configuration update of the DNS server.
The memory can be used for storing the computer program and/or the module, and the processor can realize various functions of the terminal equipment for updating the configuration of the DNS server by running or executing the computer program and/or the module stored in the memory and calling the data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, a text conversion function, etc.), and the like; the storage data area may store data (such as audio data, text message data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein, the module of the terminal device for realizing configuration update of the DNS server can be stored in a computer readable storage medium if being realized in the form of a software functional unit and sold or used as an independent product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (10)

1. A method for configuration update of a DNS server is characterized in that a central server executes the method specifically comprising the following steps:
receiving basic configuration data of a monitoring node server of the whole network; the basic configuration data comprises a scheme that one or more DNS servers of the node servers in a network region provide domain name resolution service and a scheme that records the node servers which users in the network region can selectively access according to identity attributes of the users;
monitoring an updating request for updating the configuration of the DNS server administered by the central server;
responding to the updating request, and issuing basic configuration data and a deployment notification corresponding to each network area to a DNS server of each network area; the deployment notification is used for notifying the DNS server to perform deployment updating operation according to the basic configuration data received by the DNS server; the deployment update operation includes the DNS server converting the base configuration data into a configuration file recognizable by the DNS server.
2. The method of configuration update of DNS server of claim 1, further comprising, before responding to the update request:
sending basic configuration data and test deployment notification corresponding to a network area to which the DNS server belongs to at least N DNS servers in the whole network; the test deployment notification is used for notifying the DNS server to perform deployment updating operation according to the basic configuration data received by the DNS server, and returning the information of successful test deployment operation to the central server after successful deployment.
3. The method of configuration update of DNS server of claim 1, wherein said method of configuration update further comprises:
distributing the basic configuration data to a task issuing queue of a corresponding network area; the basic configuration data has the attribute of issuing priority;
and responding to the updating request, and extracting the basic configuration data with the highest issuing priority from each task queue as the basic configuration data to be issued.
4. The method of configuration update of DNS server of claim 1, wherein the deployment update operation further comprises the DNS server updating data in a local configuration file that differs from a reference configuration file to corresponding data in the reference configuration file.
5. A device for updating configuration of a DNS server is characterized in that the device is arranged in a central server and specifically comprises:
the data receiving module is used for receiving basic configuration data of the monitoring node server of the whole network; the basic configuration data comprises a scheme that one or more DNS servers of the node servers in a network region provide domain name resolution service and a scheme that records the node servers which users in the network region can selectively access according to identity attributes of the users;
the updating request monitoring module is used for monitoring an updating request for updating the configuration of the DNS server administered by the central server;
the deployment issuing module is used for responding to the updating request and issuing basic configuration data and a deployment notice corresponding to each network area to the DNS server of each network area; the deployment notification is used for notifying the DNS server to perform deployment updating operation according to the basic configuration data received by the DNS server; the deployment update operation includes the DNS server converting the base configuration data into a reference configuration file that the DNS server can identify containing a set of secondary domain name resolutions.
6. The apparatus for configuration update of DNS server of claim 5, wherein said apparatus further comprises:
the test deployment issuing module is used for issuing basic configuration data and test deployment notification corresponding to a network area to which the DNS server belongs to at least N DNS servers in the whole network; the test deployment notification is used for notifying the DNS server to perform deployment updating operation according to the basic configuration data received by the DNS server, and returning the information of successful test deployment operation to the central server after successful deployment.
7. The apparatus for configuration update of DNS server of claim 5, wherein said apparatus for configuration update comprises:
the task issuing unit is used for distributing the basic configuration data to an issued task queue of a corresponding network area; the basic configuration data has the attribute of issuing priority;
and the data extraction unit is used for responding to the updating request and extracting the basic configuration data with the highest issuing priority from each task queue as the basic configuration data to be issued.
8. The apparatus for configuration update of DNS server of claim 7, wherein the deploy update operation further comprises the DNS server updating data in a local configuration file that differs from a reference configuration file to corresponding data in the reference configuration file.
9. A terminal device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the method of configuration update of a DNS server according to any one of claims 1 to 5 when executing the computer program.
10. A system for configuration update of a DNS server is characterized by comprising a central server and the DNS server; the central server executing the method of configuration update of a DNS server according to any one of claims 1 to 5; the DNS server executes deployment updating operation in the configuration updating method of the DNS server.
CN201711187726.0A 2017-11-24 2017-11-24 Configuration updating method and device of DNS (Domain name Server), terminal equipment and configuration updating system Active CN109842497B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711187726.0A CN109842497B (en) 2017-11-24 2017-11-24 Configuration updating method and device of DNS (Domain name Server), terminal equipment and configuration updating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711187726.0A CN109842497B (en) 2017-11-24 2017-11-24 Configuration updating method and device of DNS (Domain name Server), terminal equipment and configuration updating system

Publications (2)

Publication Number Publication Date
CN109842497A CN109842497A (en) 2019-06-04
CN109842497B true CN109842497B (en) 2020-04-17

Family

ID=66876265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711187726.0A Active CN109842497B (en) 2017-11-24 2017-11-24 Configuration updating method and device of DNS (Domain name Server), terminal equipment and configuration updating system

Country Status (1)

Country Link
CN (1) CN109842497B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110545207B (en) * 2019-09-12 2021-06-22 四川长虹电器股份有限公司 Synchronous automatic intelligent DNS system and configuration method
CN111901389B (en) * 2020-07-03 2023-07-04 北京达佳互联信息技术有限公司 Data updating method, device, server and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7680956B2 (en) * 2006-10-24 2010-03-16 Cisco Technology, Inc. Communicating additional information in a DNS update response by requesting deletion of a specific record
CN101980194A (en) * 2010-10-27 2011-02-23 北京世纪互联宽带数据中心有限公司 Method for managing domain names
CN103701817B (en) * 2013-12-27 2017-01-18 乐视网信息技术(北京)股份有限公司 Method and device for generating configuration file
CN104320488A (en) * 2014-11-11 2015-01-28 携程计算机技术(上海)有限公司 Proxy server system and proxy service method

Also Published As

Publication number Publication date
CN109842497A (en) 2019-06-04

Similar Documents

Publication Publication Date Title
CN108028853B (en) System, method, and medium for customizable event-triggered computation at edge locations
CN108052675B (en) Log management method, system and computer readable storage medium
CN106850746B (en) The method and device of smooth service upgrading
CN109660400B (en) Flow control configuration method and system
CN105099988A (en) Method used for supporting gray releasing, access method, devices and system
CN111580854A (en) Front-end and back-end separation method based on application program interface gateway and related equipment
CN101557427A (en) Method for providing diffluent information and realizing the diffluence of clients, system and server thereof
CN102945175A (en) Terminal software online upgrading system and method based on cloud computing environment
CN109151025B (en) Load balancing method and device based on URL, computer storage medium and equipment
CN109618003B (en) Server planning method, server and storage medium
CN110719273A (en) Method for determining back source node, server and computer readable storage medium
CN109842497B (en) Configuration updating method and device of DNS (Domain name Server), terminal equipment and configuration updating system
CN109150608A (en) Interface service upgrade method and system for voice dialogue platform
CN110661717A (en) Current limiting method and device and electronic equipment
CN114244717A (en) Configuration method and device of virtual network card resources, computer equipment and medium
CN109391982B (en) Information packet generation method, arrangement management method, network element and storage medium
CN109343880B (en) RN packet updating method and device and readable storage medium
CN112286930A (en) Method, device, storage medium and electronic equipment for resource sharing of redis business side
CN107734475B (en) Short message sending method based on short message link and service platform
CN109840094B (en) Database deployment method and device and storage equipment
CN107426314B (en) Data downloading method and device
CN106357549B (en) Method, apparatus, system and the load balancer that high concurrent shunts in clustered deploy(ment)
CN108521338B (en) Service processing method of service platform and service platform
CN110995890B (en) Domain name request scheduling method and device
CN112350856A (en) Distributed service sign-off method and equipment

Legal Events

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