CN113472910B - DNS authority record health monitoring method and system - Google Patents

DNS authority record health monitoring method and system Download PDF

Info

Publication number
CN113472910B
CN113472910B CN202110629983.5A CN202110629983A CN113472910B CN 113472910 B CN113472910 B CN 113472910B CN 202110629983 A CN202110629983 A CN 202110629983A CN 113472910 B CN113472910 B CN 113472910B
Authority
CN
China
Prior art keywords
monitoring
record
state
resource
model 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
CN202110629983.5A
Other languages
Chinese (zh)
Other versions
CN113472910A (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.)
Guangzhou Root Chain International Network Research Institute Co ltd
Original Assignee
Guangzhou Root Chain International Network Research Institute 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 Guangzhou Root Chain International Network Research Institute Co ltd filed Critical Guangzhou Root Chain International Network Research Institute Co ltd
Priority to CN202110629983.5A priority Critical patent/CN113472910B/en
Publication of CN113472910A publication Critical patent/CN113472910A/en
Application granted granted Critical
Publication of CN113472910B publication Critical patent/CN113472910B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The invention discloses a health monitoring method and a system for DNS authoritative records, wherein the method comprises the following steps: performing monitoring service for the specified resource record based on the record monitoring model data; and modifying the monitoring state in the corresponding record monitoring model data according to the result of the monitoring service so as to determine whether to respond to the response according to the corresponding monitoring state when the corresponding resource record is inquired. The invention can realize accurate monitoring of A and AAAA records and improve the query effectiveness of resource records.

Description

DNS authority record health monitoring method and system
Technical Field
The invention relates to the technical field of computer network communication, in particular to a method and a system for monitoring health of DNS authoritative records.
Background
The DNS (Domain Name System) provides an important service on the internet, and essentially bridges the world of people's names and the underlying world of binary protocol addresses. The domain name and IP address mapping method is used as a distributed database for mapping the domain name and the IP address to each other, so that people can access the Internet more conveniently without remembering the IP address number string which can be directly read by a machine, and the process of finally obtaining the IP address corresponding to the domain name through the domain name is called domain name resolution.
The DNS server is used as a carrier for providing domain name resolution, and stores a large number of DNS Resource records (RR for short), where a Record and AAAA Record are used to specify an IP address Record corresponding to a domain name. However, the existing DNS monitoring service mainly monitors performance data such as DNS availability and response time, but cannot implement health monitoring on DNS resource records. Therefore, when the server of the IP corresponding to the domain name fails or the address changes, the user can only obtain the failed IP address through DNS query, which further affects the normal network service of the user.
Disclosure of Invention
The invention aims to provide a health monitoring method and system for DNS authoritative records, and solves the technical problems that the DNS resource records cannot be subjected to health monitoring and the domain name resolution experience is poor in the prior art.
In order to solve the technical problem, the invention provides a DNS authoritative record health monitoring method, which comprises the following steps:
monitoring service is carried out aiming at the specified resource record based on the record monitoring model data;
and modifying the monitoring state in the corresponding record monitoring model data according to the result of the monitoring service so as to determine whether to respond to the response according to the corresponding monitoring state when the corresponding resource record is inquired.
As a further improvement of the DNS authoritative record health monitoring method of the present invention, the monitoring service includes at least one of whether a server corresponding to the ping resource record has a fault, whether a server corresponding to the http access resource record has a fault, whether a server TCP port corresponding to the monitoring resource record is opened, and whether a server UDP port corresponding to the monitoring resource record is opened.
As a further improvement of the DNS authoritative record health monitoring method of the present invention, the record monitoring model data includes resource records and corresponding monitoring states, monitoring types, automatic stop flags, and automatic recovery flags.
As a further improvement of the DNS authoritative record health monitoring method of the present invention, the implemented monitoring service is determined according to the corresponding monitoring type configured in the record monitoring model data, and the monitoring service is executed within a specified time period.
As a further improvement of the DNS authority record health monitoring method of the present invention, when the monitoring result is normal, the corresponding automatic recovery flag is determined, if automatic enabling is supported, the monitoring state is updated to the enabled state, otherwise, the updating operation is skipped; and when the monitoring result is abnormal, judging the corresponding automatic stop mark, if the automatic stop is supported, updating the monitoring state to be a stop state, and otherwise, skipping the updating operation.
In order to solve the above technical problem, the present invention provides a DNS authority record health monitoring system, including:
the monitoring unit is used for monitoring service aiming at the specified resource record based on the record monitoring model data;
and the updating unit is used for modifying the monitoring state in the corresponding record monitoring model data according to the result of the monitoring service so as to determine whether to respond to the response according to the corresponding monitoring state when the corresponding resource record is inquired.
As a further improvement of the DNS authoritative record health monitoring system of the present invention, the monitoring service includes at least one of whether a server corresponding to the ping resource record has a fault, whether a server corresponding to the http access resource record has a fault, whether a server TCP port corresponding to the monitoring resource record is opened, and whether a server UDP port corresponding to the monitoring resource record is opened.
As a further improvement of the DNS authoritative record health monitoring system of the present invention, the record monitoring model data includes resource records and corresponding monitoring states, monitoring types, automatic stop flags, and automatic recovery flags.
As a further improvement of the DNS authoritative record health monitoring system of the present invention, the monitoring unit determines the implemented monitoring service according to the corresponding monitoring type configured in the record monitoring model data, and executes the monitoring service within a specified time period.
As a further improvement of the DNS authority record health monitoring system of the present invention, in the updating unit, when the monitoring result is normal, the corresponding automatic recovery flag is determined, if the automatic start is supported, the monitoring state is updated to the start state, otherwise, the updating operation is skipped; and when the monitoring result is abnormal, judging the corresponding automatic stop mark, if the automatic stop is supported, updating the monitoring state to be a stop state, and otherwise, skipping the updating operation.
Compared with the prior art, the invention provides a technical scheme for monitoring the recording states of the domain name A and the AAAA, which monitors the specified A or AAAA record, triggers to generate alarm information when monitoring and finding a fault, and can set the functions of automatic stop when the corresponding record fault occurs and automatic recovery when the fault is recovered. The invention can realize accurate monitoring of A and AAAA records and improve the query effectiveness of resource records.
Other features and advantages of the present invention will become more apparent from the detailed description of the embodiments of the present invention when taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in 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 flowchart of a DNS authority record health monitoring method according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a data structure of a record monitoring model according to an embodiment of the present invention.
Fig. 3 is a schematic diagram illustrating a process of updating data of a record monitoring model according to an embodiment of the present invention.
FIG. 4 is a diagram illustrating a DNS authoritative record health monitoring system in accordance with an embodiment of the present invention.
Detailed Description
The present invention will be described in detail below with reference to embodiments shown in the drawings. These embodiments are not intended to limit the present invention, and variations in structure, method, or function that may be affected by one of ordinary skill in the art based on these embodiments are within the scope of the present invention.
It should be noted that the same reference numbers or symbols may be used in different embodiments, but these do not represent an absolute relationship in structure or function. Further, the terms "first" and "second" in the embodiments do not denote absolute structural or functional relationships, but rather are used for descriptive convenience.
As shown in fig. 1, a flow chart of a DNS authority record health monitoring method in an embodiment of the present invention is shown. The DNS authority record health monitoring method specifically comprises the following steps:
and S1, monitoring service is carried out on the appointed resource record based on the record monitoring model data. In the embodiment of the present invention, in order to perform health monitoring on the a/AAAA record specified in the authoritative system and trigger generation of alarm information when the resource record is found to be abnormal, a record monitoring model data is added for storing the monitored resource record, the monitoring state and the configured monitoring type, the automatic stop flag, the automatic recovery flag, and the like. As shown in fig. 2, the record monitoring model data includes a monitored a/AAAA resource record (record), a monitoring status (status), a monitoring type (mtype), an auto stop flag (auto _ stop), and an auto recovery flag (auto _ recovery). In further embodiments, a monitoring flag may be set, configured to determine whether periodic monitoring of the corresponding resource record is required. For the monitoring state, whether the response of the corresponding resource record is enabled or not is marked, namely, when the corresponding domain name is queried in the enabled state, the corresponding resource record can be returned to the querying party, and if the server corresponding to the resource record is abnormal in the disabled state, the server corresponding to the resource record can return the related response similar to the response without information or error prompt. Corresponding Boolean values (Boolean) can be used for respectively representing an activated state and a deactivated state, and authority of domain name inquiry is determined by monitoring the states, wherein the authority is based on normal and abnormal conditions of resource records. The monitoring type is used for marking the monitoring service which needs to be executed specifically, such as whether a server corresponding to the ping resource record has a fault (for example, ping-c 5.180.97.33.108 green 'time =' | wc-l), whether a server corresponding to the http access resource record has a fault (for example, curl-I http://180.97.33.108, return 2 × is regarded as no fault, otherwise, a fault is regarded as present), whether a server TCP port corresponding to the monitoring resource record is open (for example, nc-vz 10.253.1.106 8083), a server UDP port corresponding to the monitoring resource record (for example, nc-vuz 10.253.1.106 5300), and the like, recording the specific type by using a character String (String), and viewing the specific configuration by the recording monitoring service program through pre-configuration to realize the corresponding monitoring service. The number of the monitoring services configurable in the monitoring type can be one or more, and when a plurality of monitoring services are listed in parallel, the plurality of monitoring services are executed correspondingly. The automatic stop flag and the automatic recovery flag are also configured in advance through a record monitoring setting program, and are used for updating relevant monitoring states in the record monitoring model data according to actual requirements when monitoring service is executed. The automatic stop mark records are used for determining whether to stop analyzing the corresponding resource records when monitoring the fault of the corresponding resource records, and the automatic stop mark records comprise two states of supporting automatic stop and not supporting automatic stop, so that Boolean type can be used, true represents that the corresponding resource records are automatically stopped, and when the monitoring service determines that the corresponding resource records are abnormal, a user cannot inquire the analysis result of the domain name in the corresponding resource records from an authority system; false indicates that the result that the user does not automatically stop resolving to the corresponding domain name record from the authoritative system, namely what the original state of the corresponding monitoring state is, and no matter what the result determined by the monitoring service is, no update is made. Similarly, the automatic recovery flag also records whether to automatically recover by adopting a Boolean type, that is, whether to enable the authority state of the corresponding resource record when the monitoring service determines that the corresponding resource record recovers from the failure. The True represents that the corresponding resource record is started, when the monitoring service determines that the corresponding resource record is recovered to be normal, the corresponding monitoring state is updated to be started, and a user can inquire the resolution result of the domain name in the corresponding resource record from the authoritative system; false indicates that the domain name is not automatically enabled, that is, even if the server corresponding to the resource record fails to recover, the monitoring state is not updated, so that the flexibility for the maintenance of the manager can be provided, and accordingly, the user may still not be able to resolve the resolution result of the corresponding domain name from the authority system. In a specific embodiment, the existing resource record content may be embedded into the record monitoring model data, or the record monitoring model data may be embedded into the resource record, for example, in an additional area of the resource record, or the resource record and the record monitoring model data are two pieces of data stored in parallel and relatively independent.
For a normal DNS resolution process, for example, when querying an a/AAAA record of a corresponding domain name from an authoritative system, the authoritative system first determines whether a resource record of the corresponding domain name exists locally, if not, an error is returned, and if so, a corresponding resource record response is returned, but at this time, if the corresponding resource record is expired or a server to which the resource record points has a corresponding fault, an abnormal resource record is still returned to the corresponding querying user, and at this time, a bad domain name resolution experience is brought to the querying user. As described above, in the present embodiment, a new record monitoring model data is used to maintain the monitoring state of the corresponding resource record, and meanwhile, the record monitoring service program implements a monitoring service for a specified time period based on the configuration of the record monitoring model data, for example, the resource record requiring the monitoring service implements a periodic monitoring service according to the monitoring type in the corresponding record monitoring model data. Taking whether the server corresponding to the configured ping resource record has a fault as an example, the server corresponding to the ping resource record can be repeatedly and continuously ping within a specified time period, if the server corresponding to the configured ping resource record is successful, the monitoring result is determined to be normal, and if the server corresponding to the configured ping resource record is failed, the monitoring result is determined to be abnormal.
And S2, modifying the monitoring state in the corresponding record monitoring model data according to the result of the monitoring service so as to determine whether to respond to the response according to the corresponding monitoring state when the corresponding resource record is inquired. After the corresponding monitoring result is obtained in step S1, the corresponding monitoring state in the recorded monitoring model data needs to be modified, and as described above, the monitoring state directly determines whether the corresponding resource record is available. Further, according to the actual monitoring service effect, not all monitoring results are necessarily required to update the corresponding monitoring states, so that the maintenance of the monitoring states becomes disordered, and at the moment, a set of complete algorithms are involved in the implementation mode of the invention to ensure the corresponding strategy for recording the data update of the monitoring model.
Specifically, as shown in fig. 3, when the periodic monitoring service is executed to obtain a corresponding monitoring result, the monitoring result is determined first, and if the result is a successful result, it indicates that the corresponding resource record is normal, for example, a normal server can be accessed through the corresponding a/AAAA record, and the corresponding monitoring state in the record monitoring model data can be updated to the enabled state, so as to ensure that a corresponding response can be returned when the corresponding domain name is queried. However, two situations need to be analyzed according to the actual situation, one is that the monitoring state itself is in the enabled state, the reason may be that the result of the previous cycle monitoring is a normal result, or the monitoring state is not updated under the previous configuration, and here, since the monitoring state does not need to be updated, the corresponding operation ending process is directly skipped at this time. The other is that when the monitoring state is in the disabled state, the corresponding automatic recovery flag needs to be further determined, and the automatic recovery flag is configured in advance and is used for determining whether the monitoring state is authorized to be updated to the enabled state when the monitoring state is updated. And if the automatic starting is not supported, keeping the corresponding monitoring state as a stopping state, and ending the operation. If the automatic starting is supported, the monitoring state is updated to be the starting state, so that the corresponding resource record can be normally responded when being inquired.
If the monitoring result is a failure result, it indicates that the server corresponding to the resource record is abnormal, for example, the corresponding server has a failure or the TCP port or UDP port of the monitoring server is not opened, and if such resource record is returned to the querying party, the querying party cannot normally use the corresponding resource record, and at this time, the corresponding monitoring state needs to be updated to the disabled state, so that no response is made when the corresponding query is received. Similarly, two situations need to be analyzed according to the actual situation, one is that the monitoring state itself is in the disabled state, because similar to the above situation, the result of the previous cycle monitoring is an abnormal result, or the monitoring state is not updated under the previous configuration, here, since the monitoring state does not need to be updated, the corresponding operation ending process is directly skipped at this time. The other is that when the monitoring state is in the enabled state, the corresponding automatic stop flag needs to be further determined, and the automatic stop flag is configured in advance and is used for determining whether the monitoring state is authorized to be updated to the disabled state when the monitoring state is updated. And if the automatic deactivation is not supported, keeping the corresponding monitoring state as an activation state, and ending the operation. If automatic deactivation is supported, the monitoring state is updated to the deactivated state at this time, and the operation is ended.
It should be noted that, in this embodiment, the determination of the monitoring state is performed before the determination of the corresponding automatic recovery flag or automatic stop flag, and the determination of whether the monitoring state in the recorded monitoring model data is consistent with the monitoring result is performed, if so, the corresponding operation is skipped, and if not, the relevant determination step of updating the monitoring state is performed, so that the corresponding processing flow is reduced. In further embodiments, the original monitoring state may also be determined before the monitoring state is updated, after the corresponding automatic recovery flag or automatic stop flag is determined, or the original monitoring state may be directly updated without determining the original monitoring state, and the sequence of steps is not limited to the above-mentioned embodiments.
Preferably, when the monitoring state is updated, particularly when the monitoring state is updated from being started to being stopped, alarm information is sent out, and corresponding alarm records are stored, wherein the alarm records comprise automatic stop records in case of faults and/or automatic recovery records in case of recovery and the like. Furthermore, all the resource record indexes in the disabled state and/or the resource record indexes in the enabled state can be displayed in a list form, so that an administrator of the authority system can visually observe the corresponding resource record states and perform corresponding maintenance operation according to needs.
As shown in fig. 4, a schematic diagram of a DNS authoritative record health monitoring system in one embodiment of the invention. The DNS authoritative record health monitoring system comprises a monitoring unit U1 and an updating unit U2. The monitoring unit U1 mainly monitors resource records of the specified domain name periodically through a record monitoring service program, and the updating unit U2 mainly updates the corresponding monitoring state in the record monitoring model data in real time through a record monitoring setting program.
And the monitoring unit U1 is used for performing monitoring service aiming at the specified resource record based on the record monitoring model data. In order to obtain the state of the server corresponding to the specified resource record, the monitoring unit U1 needs to perform a monitoring service on the specified resource record. The monitoring service comprises at least one of whether a server corresponding to the ping resource record has a fault, whether a server corresponding to the http access resource record has a fault, whether a server TCP port corresponding to the monitoring resource record is opened, and whether a server UDP port corresponding to the monitoring resource record is opened. The specific monitoring type may be configured according to actual requirements, for example, if it is required to know whether a corresponding server TCP port is opened, the monitoring type may be configured as a related option. Configuration parameters of the monitoring type can be set in the recorded monitoring model data in advance, and actual service matching can be realized by calling related parameters in the recorded monitoring model data before the monitoring service is executed.
As described above, in order to realize authoritative record health monitoring and reasonably influence the monitoring result on the corresponding domain name resolution process, the designed record monitoring model data plays a very important role. The recorded monitoring model data comprises the resource records and monitoring states, monitoring types, automatic stop marks and automatic recovery marks corresponding to the resource records. The record monitoring model data comprises three parts of contents, wherein one part is the resource record and is used for positioning a corresponding domain name and domain name resolution content, the second part is the state of the corresponding resource record and determines the response authority of the domain name resolution, the third part is related configuration information, the monitoring type is used for configuring specific monitoring service, the automatic stop mark and the automatic recovery mark are used for setting the updating authority of the monitoring state, the third part of contents can be modified through pre-configuration, a manager can configure according to actual needs, and in more implementation modes, the third part of contents can be automatically configured based on the analysis result of big data. In further embodiments, a monitoring flag may be further included to mark whether the corresponding resource record is included in the corresponding periodic monitoring range. Specifically, the monitoring unit U1 determines the implemented monitoring service according to the corresponding monitoring type configured in the recorded monitoring model data, and executes the monitoring service within a specified time period. For example, by recording that the monitoring service program actively initiates corresponding monitoring periodically, the network performance result of the corresponding server is obtained, and the like. Furthermore, the corresponding monitoring mark configuration parameters can be inquired, and the periodic monitoring is carried out aiming at the resource records needing to be monitored periodically, so that the monitoring burden is greatly reduced, and the monitoring of the resource records without value is avoided.
And the updating unit U2 is used for modifying the monitoring state in the corresponding record monitoring model data according to the result of the monitoring service so as to determine whether to respond to the response according to the corresponding monitoring state when the corresponding resource record is inquired. After the monitoring unit U1 obtains the resource record monitoring result within the specified range, the corresponding monitoring state needs to be updated, thereby ensuring that a reasonable response feedback can be made based on the corresponding monitoring state in the domain name resolution process. Specifically, referring to fig. 3, the updating unit U2 first determines the monitoring result, and if the result is a successful result, it indicates that the corresponding resource record is normal, for example, a normal server can be accessed through the corresponding a/AAAA record, and the updating unit U2 may update the corresponding monitoring state in the record monitoring model data to an enabled state, so as to ensure that a corresponding response can be returned when the corresponding domain name is queried. However, two situations need to be analyzed according to the actual situation, one is that the monitoring state itself is in the enabled state, which may be that the result of the previous cycle monitoring is a normal result, or the monitoring state is not updated under the previous configuration, and here, since the monitoring state does not need to be updated, the updating unit U2 directly skips the corresponding operation ending process. The other is that when the monitoring state is in the disabled state, the updating unit U2 needs to further determine a corresponding automatic recovery flag, where the automatic recovery flag is configured in advance and is used to determine whether there is a right to update the monitoring state to the enabled state when the monitoring state is updated. If automatic enabling is not supported, the corresponding monitoring state is kept as the disabling state, and the updating unit U2 ends the operation. If the automatic starting is supported, the updating unit U2 updates the monitoring state to be the starting state at the moment, so that the corresponding resource record can be normally responded when being inquired.
If the monitoring result is a failure result, it indicates that the server corresponding to the resource record is abnormal, for example, the corresponding server has a failure or the TCP port or UDP port of the monitoring server is not opened, and if such a resource record is returned to the querying party, the querying party cannot normally use the corresponding resource record, and at this time, the updating unit U2 needs to update the corresponding monitoring state to the disabled state, so that the received corresponding query does not respond. Similarly, two situations need to be analyzed according to the actual situation, one is that the monitoring state itself is in the disabled state, because similar to the above situation, the result of the previous cycle monitoring is an abnormal result, or the monitoring state is not updated in the previous configuration, here, since the monitoring state does not need to be updated, the updating unit U2 directly skips the corresponding operation ending process. The other is that when the monitoring state is in the enabled state, the updating unit U2 needs to further determine a corresponding automatic stop flag, which is also configured in advance, and is used to determine whether there is a right to update the monitoring state to the disabled state when the monitoring state is updated. And if the automatic deactivation is not supported, keeping the corresponding monitoring state as the activation state, and finishing the operation by the updating unit U2. If automatic deactivation is supported, the updating unit U2 updates the monitoring state to the deactivated state at this time, and ends the operation.
It should be noted that, the embodiments of the DNS authority record health monitoring system may also refer to the embodiments of the DNS authority record health monitoring method.
In connection with the technical solutions disclosed in the present Application, the present invention may be directly embodied as hardware, a software module executed by a control unit, or a combination of the two, that is, one or more steps and/or one or more combinations of steps, and may correspond to each software module of a computer program flow, or may correspond to each hardware module, for example, an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other Programmable logic device, a discrete Gate or crystal logic device, a discrete hardware component, or any suitable combination thereof. For convenience of description, the above-mentioned apparatuses are described as being divided into various modules by functions, and of course, the functions of the modules may be implemented in one or more software and/or hardware when implementing the present application.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can also be implemented by software plus necessary general hardware platform. Based on this understanding, the technical solutions of the present application may also be embodied in the form of software products, which essentially or partially contribute to the prior art. The software may be executed by a micro-control unit, and may include one or more micro-control units of any type, depending on the desired configuration, including but not limited to a microcontroller, a DSP (Digital Signal Processor), or any combination thereof. The software is stored in a memory, such as a volatile memory (e.g., random access memory, etc.), a non-volatile memory (e.g., read-only memory, flash memory, etc.), or any combination thereof.
In summary, the present invention provides a technical solution for monitoring the recording status of a domain name a and an AAAA, which monitors a specified a or AAAA record, triggers generation of an alarm message when a failure is detected, and can set a function of automatic stop when a corresponding record fails and automatic recovery when the failure recovers. The invention can realize accurate monitoring of A and AAAA records and improve the query effectiveness of resource records.
It should be understood that although the specification describes embodiments, not every embodiment includes only a single embodiment, and such description is for clarity purposes only, and it will be appreciated by those skilled in the art that the specification as a whole can be combined as appropriate to form additional embodiments as will be apparent to those skilled in the art.
The above-listed detailed description is only a specific description of a possible embodiment of the present invention, and they are not intended to limit the scope of the present invention, and equivalent embodiments or modifications made without departing from the technical spirit of the present invention should be included in the scope of the present invention.

Claims (8)

1. A DNS authoritative record health monitoring method is characterized by comprising the following steps:
performing monitoring service for the specified resource record based on the record monitoring model data;
modifying the monitoring state in the corresponding record monitoring model data according to the result of the monitoring service so as to determine whether to respond to the response according to the corresponding monitoring state when the corresponding resource record is inquired;
the recorded monitoring model data comprises resource records and corresponding monitoring states, monitoring types, automatic stop marks and automatic recovery marks.
2. The DNS authoritative record health monitoring method according to claim 1, wherein the monitoring service includes at least one of whether a server corresponding to the ping resource record has a fault, whether a server corresponding to the http access resource record has a fault, whether a server TCP port corresponding to the monitoring resource record is opened, and whether a server UDP port corresponding to the monitoring resource record is opened.
3. The DNS authoritative record health monitoring method according to claim 1, wherein the implemented monitoring service is determined according to the corresponding monitoring type configured in the record monitoring model data, and the monitoring service is executed within a specified time period.
4. The DNS authority record health monitoring method according to claim 1, wherein when the monitoring result is normal, the corresponding automatic recovery flag is judged, if automatic enabling is supported, the monitoring state is updated to be the enabling state, otherwise, the updating operation is skipped; and when the monitoring result is abnormal, judging the corresponding automatic stop mark, if the automatic stop is supported, updating the monitoring state to be a stop state, and otherwise, skipping the updating operation.
5. A DNS authority record health monitoring system, comprising:
the monitoring unit is used for carrying out monitoring service aiming at the specified resource record based on the record monitoring model data;
the updating unit is used for modifying the monitoring state in the corresponding record monitoring model data according to the result of the monitoring service so as to determine whether to respond to the response according to the corresponding monitoring state when the corresponding resource record is inquired;
the recorded monitoring model data comprises resource records and corresponding monitoring states, monitoring types, automatic stop marks and automatic recovery marks.
6. The DNS authoritative record health monitoring system according to claim 5, wherein the monitoring service includes at least one of whether a server corresponding to the ping resource record has a fault, whether a server corresponding to the http access resource record has a fault, whether a server TCP port corresponding to the monitoring resource record is opened, and whether a server UDP port corresponding to the monitoring resource record is opened.
7. The DNS authoritative record health monitoring system of claim 5, wherein the monitoring unit determines the implemented monitoring service according to the corresponding monitoring type configured in the record monitoring model data, and executes the monitoring service within a specified time period.
8. The DNS authority record health monitoring system according to claim 5, wherein in the updating unit, when the monitoring result is normal, the corresponding automatic recovery flag is judged, if automatic enabling is supported, the monitoring state is updated to be an enabled state, otherwise, the updating operation is skipped; and when the monitoring result is abnormal, judging the corresponding automatic stop mark, if the automatic stop is supported, updating the monitoring state to be a stop state, and otherwise, skipping the updating operation.
CN202110629983.5A 2021-06-07 2021-06-07 DNS authority record health monitoring method and system Active CN113472910B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110629983.5A CN113472910B (en) 2021-06-07 2021-06-07 DNS authority record health monitoring method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110629983.5A CN113472910B (en) 2021-06-07 2021-06-07 DNS authority record health monitoring method and system

Publications (2)

Publication Number Publication Date
CN113472910A CN113472910A (en) 2021-10-01
CN113472910B true CN113472910B (en) 2023-04-07

Family

ID=77872334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110629983.5A Active CN113472910B (en) 2021-06-07 2021-06-07 DNS authority record health monitoring method and system

Country Status (1)

Country Link
CN (1) CN113472910B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115065663A (en) * 2022-06-20 2022-09-16 广州根链国际网络研究院有限公司 Method for guaranteeing important domain name resolution of back-end recursive server by DNS management system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8200842B1 (en) * 2006-10-25 2012-06-12 Cellco Partnership Automatic traffic control using dynamic DNS update
US10182033B1 (en) * 2016-09-19 2019-01-15 Amazon Technologies, Inc. Integration of service scaling and service discovery systems

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340327B (en) * 2008-08-21 2011-11-30 腾讯科技(深圳)有限公司 Method and system for implementing load balance of network server
US10263958B2 (en) * 2010-03-18 2019-04-16 Nominum, Inc. Internet mediation
CN103780714B (en) * 2012-10-25 2016-12-21 中国移动通信集团北京有限公司 The detection method of a kind of dns server and device
CN104104610A (en) * 2013-04-09 2014-10-15 江苏天联信息科技发展有限公司 Flow scheduling method and apparatus based on domain name system, and domain name system
US10044629B1 (en) * 2014-09-22 2018-08-07 Amazon Technologies, Inc. Dynamic TTL based on endpoint health checking
US9942235B2 (en) * 2015-12-16 2018-04-10 Verizon Patent And Licensing Inc. Network access security for internet of things (IoT) devices
JP7064132B2 (en) * 2018-04-24 2022-05-10 日本電信電話株式会社 Fault monitoring system and fault monitoring method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8200842B1 (en) * 2006-10-25 2012-06-12 Cellco Partnership Automatic traffic control using dynamic DNS update
US10182033B1 (en) * 2016-09-19 2019-01-15 Amazon Technologies, Inc. Integration of service scaling and service discovery systems

Also Published As

Publication number Publication date
CN113472910A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
JP4647234B2 (en) Method and apparatus for discovering network devices
US7730180B1 (en) Resolving multiple master node conflict in a DDB
US7398434B2 (en) Computer generated documentation including diagram of computer system
EP1750394B1 (en) Autonomous policy discovery
EP1267518A2 (en) Multiple device management method and system
US20020198881A1 (en) Method and system for recovering DHCP data
CN109660405B (en) Disaster recovery method, device, equipment and storage medium for call center
CN113472910B (en) DNS authority record health monitoring method and system
US20110283138A1 (en) Change Tracking and Management in Distributed Applications
US20060041658A1 (en) Methods, systems and computer program products for network element information management
JP2003233512A (en) Client monitoring system with maintenance function, monitoring server, program, and client monitoring/ maintaining method
Osterweil et al. Deploying and monitoring dns security (dnssec)
CN113810474B (en) Request distribution method and terminal
JPH11122244A (en) Managing device for large scaled network
US20030237081A1 (en) Updating an application using database replication
CN109992531A (en) Date storage method and device
US6873619B1 (en) Methods, systems and computer program products for finding network segment paths
US20040167976A1 (en) Methods and apparatus for automated software generic information retrieval
Larson et al. Observed dns resolution misbehavior
KR100264896B1 (en) Apparatus and method for detecting cluster node failure of the heterogeneous cluster system
CN1238993C (en) Apparatus and method for automatic acquisition of effective internet protocol configuration in local network
KR20040101026A (en) Network system
CN111294412A (en) Processing method and device for exception of content distribution network node server
JP4092947B2 (en) Name service multiplexing method, name service multiplexing system, and name service management program
CN116112468B (en) SSL certificate detection method, SSL certificate detection device, SSL certificate detection computer equipment, SSL certificate storage medium and SSL certificate product

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