Domain name resolution fault processing method and device, equipment and storage medium
The monitoring system obtains status detection information and switches the domain name to other cloud services, which solves the problem of inability to switch when cloud services are abnormal, and achieves the high availability of domain name resolution and user experience guarantees.
Patent Information
- Application Number
- CN202411228464.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2025-01-17
AI Technical Summary
When the cloud service is abnormal, it is impossible to switch and resolve to other available cloud services through the control interface of a single authoritative domain name server, resulting in some users being unable to use the website or services normally, affecting the user experience.
By obtaining the status detection information sent by the monitoring system, identifying the service room and control interface status of the candidate cloud service, controlling the authoritative domain name server to switch domain name resolution to other available cloud services, ensuring that the domain name resolution processing points to normal cloud services, and disabling the faulty cloud service.
Effectively switch the domain name resolution processing to a normal cloud service, ensuring that users related to the failed cloud service continue to use business functions normally, and maintain normal business traffic and user experience.
Smart Images

Figure CN119324926A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a method, apparatus, device and storage medium for handling domain name resolution failures. Background Art
[0002] Currently, when a user enters a target domain name in a browser, the user device will send a domain name query request to a recursive domain name server. If the recursive domain name server does not cache the relevant records of the target domain name, it is necessary to send a domain name query request to an authoritative domain name server so that the authoritative domain name server can return the entry protocol address of the relevant cloud service based on the domain name information it manages. In order to better adapt to the surge in user traffic and business stability requirements, developers can deploy multiple available cloud services for related businesses. The authoritative domain name server can support the processing of target domain name resolution failures as the entry protocol address of any cloud service. In the event of an abnormality in a certain cloud service, the domain name resolution failure processing record can be modified through the control interface of the authoritative domain name server, so that the target domain name can be resolved to the entry protocol address of other available cloud services to avoid affecting the normal use of related users.
[0003] However, the single authoritative domain name server set up in the related technology may have a control interface failure. In the event of an abnormality in a certain cloud service, it is impossible to switch and resolve the entry protocol address of other available cloud services through the control interface of the authoritative domain name server. The only thing left is to wait for the cloud vendor to repair the failed cloud service, resulting in some users being unable to use the website or service normally, affecting the user experience and requiring improvement. Summary of the invention
[0004] The embodiments of the present application provide a method, apparatus, device and storage medium for handling domain name resolution failures, which solve the problem in the related art that when a certain cloud service is abnormal, it is impossible to switch and resolve it to the entry protocol address of other available cloud services through the control interface of the authoritative domain name server, resulting in some users being unable to use the website or service normally, affecting the user experience. The domain name resolution processing can be effectively switched to point to a normal cloud service, so as to achieve the purpose of disabling the faulty cloud service, ensure that the related users of the faulty cloud service can continue to use the business functions normally, maintain normal business traffic, and ensure the user experience.
[0005] In a first aspect, an embodiment of the present application provides a method for handling a domain name resolution failure, the method comprising:
[0006] Acquire status detection information sent by the monitoring system, wherein the status detection information includes business computer room status corresponding to the plurality of candidate cloud services, a first control interface status and a first device status of a first authoritative domain name server, and a second control interface status and a second device status of a second authoritative domain name server;
[0007] When the business computer room status corresponding to the first cloud service among the multiple candidate cloud services is faulty and the first control interface status is faulty, control the second authoritative domain name server to switch to resolving the intermediate domain name to other cloud services among the multiple candidate cloud services when recognizing that the first target cloud service corresponding to the intermediate domain name sent by the first authoritative domain name server is the first cloud service, obtain the first ingress protocol address of the other cloud service, and send the first ingress protocol address to the recursive server;
[0008] When the business computer room status corresponding to the first cloud service among the multiple candidate cloud services is faulty and the second control interface status is faulty, control the first authoritative domain name server to switch to a second target cloud service that determines the domain name to be processed from other cloud services among the multiple candidate cloud services, resolve the domain name to be processed to point to the second target cloud service to obtain an intermediate domain name, and send the intermediate domain name to the second authoritative domain name server, so that the second authoritative domain name server resolves the intermediate domain name to point to the second target cloud service, obtains a second ingress protocol address of the second target cloud service, and sends the second ingress protocol address to the recursive server.
[0009] In a second aspect, an embodiment of the present application further provides a domain name resolution failure processing device, including:
[0010] an acquisition module configured to acquire status detection information sent by the monitoring system, wherein the status detection information includes business computer room status corresponding to a plurality of candidate cloud services, a first control interface status and a first device status of a first authoritative domain name server, and a second control interface status and a second device status of a second authoritative domain name server;
[0011] a first fault processing module configured to, when the business computer room status corresponding to the first cloud service among the multiple candidate cloud services is faulty and the first control interface status is faulty, control the second authoritative domain name server to switch to resolving the intermediate domain name to point to other cloud services among the multiple candidate cloud services, obtain a first ingress protocol address of the other cloud service, and send the first ingress protocol address to the recursive server when recognizing that the first target cloud service corresponding to the intermediate domain name sent by the first authoritative domain name server is the first cloud service;
[0012] The second fault processing module is configured to control the first authoritative domain name server to switch to a second target cloud service that determines a domain name to be processed from other cloud services among the multiple candidate cloud services when the business computer room status corresponding to the first cloud service among the multiple candidate cloud services is faulty and the second control interface status is faulty, resolve the domain name to be processed to point to the second target cloud service to obtain an intermediate domain name, and send the intermediate domain name to the second authoritative domain name server, so that the second authoritative domain name server resolves the intermediate domain name to point to the second target cloud service, obtains a second ingress protocol address of the second target cloud service, and sends the second ingress protocol address to the recursive server.
[0013] In a third aspect, an embodiment of the present application further provides a domain name resolution fault processing device, the device comprising:
[0014] one or more processors;
[0015] a storage device configured to store one or more programs,
[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the domain name resolution failure processing method described in the embodiment of the present application.
[0017] In a fourth aspect, an embodiment of the present application further provides a non-volatile storage medium storing computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are configured to execute the domain name resolution failure handling method described in the embodiment of the present application.
[0018] In an embodiment of the present application, by obtaining status detection information sent by a monitoring system, the status detection information includes the business computer room status corresponding to multiple candidate cloud services, the first control interface status and the first device status of a first authoritative domain name server, and the second control interface status and the second device status of a second authoritative domain name server; when the business computer room status corresponding to a first cloud service among multiple candidate cloud services is faulty and the first control interface status is faulty, the second authoritative domain name server is controlled to switch to resolving the intermediate domain name to point to other cloud services among the multiple candidate cloud services when it is identified that the first target cloud service corresponding to the intermediate domain name sent by the first authoritative domain name server is the first cloud service, and obtains other The first ingress protocol address of the cloud service is determined, and the first ingress protocol address is sent to the recursive server; when the business computer room status corresponding to the first cloud service among the multiple candidate cloud services is faulty and the second control interface status is faulty, the first authoritative domain name server is controlled to switch to a second target cloud service where the domain name to be processed is determined from other cloud services among the multiple candidate cloud services, the domain name to be processed is resolved to point to the second target cloud service to obtain an intermediate domain name, and the intermediate domain name is sent to the second authoritative domain name server, so that the second authoritative domain name server resolves the intermediate domain name to point to the second target cloud service, obtains a second ingress protocol address of the second target cloud service, and sends the second ingress protocol address to the recursive server. In the above scheme, by obtaining the status detection information sent by the monitoring system, the business computer room status corresponding to multiple candidate cloud services and the control interface status and device status corresponding to the two authoritative domain name servers can be effectively determined, which is conducive to timely responding to domain name resolution anomalies; by controlling the second authoritative domain name server to resolve the intermediate domain name to the entry protocol address of the cloud service that is running normally when the business computer room status corresponding to the first cloud service among multiple candidate cloud services is faulty and the first control interface status is faulty, and by controlling the first authoritative domain name server to resolve the domain name to be processed to point to the normal cloud service when the business computer room status corresponding to the first cloud service among multiple candidate cloud services is faulty and the second control interface status is faulty, the domain name resolution processing can be effectively switched to point to the normal cloud service, so as to achieve the purpose of disabling the faulty cloud service, ensure that the relevant users of the faulty cloud service can continue to use the business functions normally, maintain normal business traffic, and ensure the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 A flowchart of a method for handling domain name resolution failure provided in an embodiment of the present application;
[0020] Figure 2A schematic diagram of a method for handling a domain name resolution failure to handle a failure in a business computer room of a first cloud service and a first control interface of a first authoritative domain name server provided by an embodiment of the present application;
[0021] Figure 3 A schematic diagram of a method for handling a domain name resolution failure to handle a failure in a business computer room of a first cloud service and a second control interface of a second authoritative domain name server provided by an embodiment of the present application;
[0022] Figure 4 A flowchart of a domain name resolution failure processing method including a relevant processing process when a device failure occurs in a second authoritative domain name server provided in an embodiment of the present application;
[0023] Figure 5 A schematic diagram of applying a domain name resolution fault handling method to handle a fault when a second control interface of a second authoritative domain name server fails, provided by an embodiment of the present application;
[0024] Figure 6 A flowchart of a method for handling a domain name resolution failure including a domain name resolution recovery process related to a first cloud service and a second control interface corresponding to a second authoritative domain name server returning to normal provided in an embodiment of the present application;
[0025] Figure 7 A flowchart of a method for handling a domain name resolution failure including a domain name resolution recovery process related to a first cloud service and a first control interface corresponding to a first authoritative domain name server returning to normal provided in an embodiment of the present application;
[0026] Figure 8 A flowchart of a method for handling a domain name resolution failure including a domain name resolution recovery process related to when a second authoritative domain name server returns to normal provided by an embodiment of the present application;
[0027] Fig. 9 A structural block diagram of a domain name resolution fault processing device provided in an embodiment of the present application;
[0028] Fig.10 A schematic diagram of the structure of a domain name resolution fault handling device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] The embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the embodiments of the present application, rather than to limit the embodiments of the present application. It should also be noted that, for ease of description, only parts related to the embodiments of the present application are shown in the accompanying drawings, rather than all structures.
[0030] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0031] The domain name resolution fault handling method provided in the embodiment of the present application can be applied to the switching server in the domain name resolution system, and the domain name resolution system is provided with a first authoritative domain name server and a second authoritative domain name server, and the first authoritative domain name server can be used to receive the domain name query request sent by the recursive server, and determine the target cloud service of the domain name to be processed in the domain name query request from multiple candidate cloud services, and resolve the domain name to be processed to point to the target cloud service to obtain the intermediate domain name, and send the intermediate domain name to the second authoritative domain name server, and the second authoritative domain name server can be used to resolve the received intermediate domain name to point to the target cloud service, and obtain the entry protocol address of the target cloud service, and send the entry protocol address to the recursive server, so that the recursive server feeds back the entry protocol address to the client. The present application aims to provide a domain name resolution fault handling method, device, equipment and storage medium, which solves the problem in the related art that when a cloud service is abnormal, it is impossible to switch and resolve to the entry protocol address of other available cloud services through the control interface of the set single authoritative domain name server, resulting in some users being unable to use the website or service normally, affecting the user experience.
[0032] Figure 1 The flowchart of a domain name resolution fault processing method provided in an embodiment of the present application. The domain name resolution fault processing method can be implemented by switching the server as the execution subject. Figure 1 As shown, the specific steps include:
[0033] Step S101, obtaining status detection information sent by the monitoring system, the status detection information including the business computer room status corresponding to multiple candidate cloud services, the first control interface status and the first device status of the first authoritative domain name server, and the second control interface status and the second device status of the second authoritative domain name server.
[0034] Among them, the monitoring system can collect network status indicators of the business computer room corresponding to each candidate cloud service, such as packet loss rate, round-trip delay, etc., and compare the network status indicators with the set threshold to determine whether the business computer room is in a faulty state, and feedback the business computer room status to the switching server to notify the switching server whether the candidate cloud service related to the switching server is in normal operation. The monitoring system can also determine whether the authoritative domain name server has a control anomaly at the application layer by testing the control interface of the authoritative domain name server, and feedback the control interface status to the switching server to notify the switching server whether the authoritative domain name server related to the switching server has a control interface anomaly, so that the switching server cannot control the authoritative domain name server to perform related adjustment operations for domain name resolution. The monitoring system can also monitor the response time and query success rate of the authoritative domain name server to determine whether the authoritative domain name server has a device anomaly, and feedback its device status to the switching server to notify the switching server whether the authoritative domain name server related to the switching server cannot provide domain name resolution services normally.
[0035] Step S102: When the business computer room status corresponding to the first cloud service among multiple candidate cloud services is faulty and the first control interface status is faulty, control the second authoritative domain name server to switch to resolving the intermediate domain name to other cloud services among the multiple candidate cloud services when it is identified that the first target cloud service corresponding to the intermediate domain name sent by the first authoritative domain name server is the first cloud service, obtain the first ingress protocol address of the other cloud services, and send the first ingress protocol address to the recursive server.
[0036] Among them, each candidate cloud service can provide business services to the users assigned to it. The business computer room status corresponding to the first cloud service is faulty, which can be regarded as the first cloud service being unable to continue to provide normal business services, for example, the website is inaccessible, the application cannot provide services, data storage and access are blocked, etc., thereby affecting the user experience of the users assigned to the first cloud service. The first control interface status is faulty, which can be regarded as the switching server being unable to control the first authoritative domain name server to adjust the domain name resolution, and unable to transfer the affected users to other candidate cloud services. Compared with the single authoritative domain name server in the related art, the embodiment of the present application can control the second authoritative domain name server to adjust the domain name resolution, for example, to adjust the resolution record through the API interface. Since the device status of the first authoritative domain name server is normal, the first authoritative domain name server normally resolves the domain name to be processed to its target cloud service according to the preset allocation rules to obtain the intermediate domain name, wherein the target cloud service includes the first cloud service. Since it is impossible to control the first authoritative domain name server to adjust the domain name resolution, the second authoritative domain name server can be controlled to adjust the domain name resolution, and the intermediate domain name corresponding to the first cloud service can be resolved to point to other cloud services to obtain the first entry protocol address of other cloud services, thereby realizing the transfer of affected users. In one embodiment, Figure 2 A schematic diagram of applying a domain name resolution fault handling method to handle a fault when a business computer room of a first cloud service fails and a first control interface of a first authoritative domain name server fails is provided in an embodiment of the present application, such as Figure 2As shown, the first authoritative domain name server can receive the domain name "all.nginx.test.com" obtained by resolving the domain name "*.test.com" through the CNAME (Canonical Name, alias) record of the previous domain name server. The first authoritative domain name server can select the domain name "all.nginx.test.com" to be resolved to the first cloud service or the second cloud service according to the preset allocation rule, that is, the first authoritative domain name server can resolve the domain name "all.nginx.test.com" through the CNAME record to obtain the domain name "all.nginx.aly.*" pointing to the first cloud service or the domain name "all.nginx.txy.*" pointing to the second cloud service, and send the resolved domain name "all.nginx.aly.*" or domain name "all.nginx.txy.*" to the second authoritative domain name server for further resolution. The second authoritative domain name server can perform A (Address, address) record resolution on the domain name "all.nginx.aly.*" to obtain the entry IP (Internet Protocol, Internet Protocol) address, and perform A (Address, address) record resolution on the domain name "all.nginx.txy.*" to obtain the entry IP address of the second cloud service. If the business computer room of the first cloud service fails and the first control interface of the first authoritative domain name server fails, the entry IP address of the second cloud service can be obtained by controlling the second authoritative domain name server to switch to perform A (Address, address) record resolution on the domain name "all.nginx.aly.*".
[0037] Step S103: When the business computer room status corresponding to the first cloud service among multiple candidate cloud services is faulty and the second control interface status is faulty, control the first authoritative domain name server to switch to the second target cloud service that determines the domain name to be processed from other cloud services among the multiple candidate cloud services, resolve the domain name to be processed to point to the second target cloud service to obtain an intermediate domain name, and send the intermediate domain name to the second authoritative domain name server, so that the second authoritative domain name server resolves the intermediate domain name to point to the second target cloud service, obtains a second ingress protocol address of the second target cloud service, and sends the second ingress protocol address to the recursive server.
[0038] Among them, the state of the second control interface is faulty, which can be regarded as the switching server being unable to control the second authoritative domain name server to adjust the domain name resolution, and unable to transfer the affected users to other candidate cloud services. Compared with the single authoritative domain name server in the related art, the embodiment of the present application can control the first authoritative domain name server to adjust the domain name resolution, for example, adjust the resolution record through the API interface. Since the device status of the second authoritative domain name server is normal, the second authoritative domain name server normally resolves the intermediate domain name to its corresponding target cloud service, obtains the entry protocol address of the target cloud service, and sends the entry protocol address to the recursive server, and the target cloud service includes the first cloud service. Since it is impossible to control the second authoritative domain name server to adjust the domain name resolution, the domain name to be processed can be adjusted by controlling the first authoritative domain name server to resolve the domain name to point to other cloud services to obtain the intermediate domain name, thereby realizing the transfer of affected users. In one embodiment, the specific implementation process of switching to resolve the intermediate domain name to other cloud services among multiple candidate cloud services and obtaining the first entry protocol address of other cloud services includes:
[0039] Querying allocation weight values corresponding to other cloud services among the plurality of candidate cloud services;
[0040] Filter out the second cloud service with the smallest allocation weight value from other cloud services;
[0041] Switch to resolving the intermediate domain name to point to the second cloud service, and obtain the first entry protocol address of the second cloud service.
[0042] The allocation weight value may be used to characterize the relative proportion of each candidate cloud service allocated as the target cloud service. The larger the allocation weight value, the greater the possibility that the candidate cloud service is configured as the target cloud service. For example, the candidate cloud services include cloud service A, cloud service B, and cloud service C, where the allocation weight value of cloud service A is 50, the allocation weight value of cloud service B is 30, and the allocation weight value of cloud service C is 20. This is equivalent to configuring cloud service A to provide services to 50% of users, configuring cloud service B to provide services to 30% of users, and configuring cloud service C to provide services to 20% of users. Therefore, after the first cloud service fails, the second cloud service with the smallest allocation weight value can be selected from other cloud services to share the user traffic of the first cloud service, which is conducive to better balancing the user traffic distribution between different candidate cloud services.
[0043] In one embodiment, Figure 3 A schematic diagram of applying a domain name resolution fault handling method to handle a fault when a business computer room of a first cloud service fails and a second control interface of a second authoritative domain name server fails is provided in an embodiment of the present application, such as Figure 3 As shown, combined Figure 2 According to the relevant description, if the business computer room of the first cloud service fails and the second control interface of the second authoritative domain name server fails, the first authoritative domain name server can be controlled to switch to only resolve the domain name "all.nginx.test.com" through the CNAME record to obtain the domain name "all.nginx.txy.*" pointing to the second cloud service, which is equivalent to stopping the resolution of the domain name "all.nginx.test.com" through the CNAME record to obtain the domain name "all.nginx.aly.*" pointing to the first cloud service.
[0044] In the above, by acquiring the status detection information sent by the monitoring system, the status detection information includes the business computer room status corresponding to the multiple candidate cloud services, the first control interface status and the first device status of the first authoritative domain name server, and the second control interface status and the second device status of the second authoritative domain name server; when the business computer room status corresponding to the first cloud service among the multiple candidate cloud services is faulty and the first control interface status is faulty, the second authoritative domain name server is controlled to switch to resolving the intermediate domain name to point to other cloud services among the multiple candidate cloud services when it is identified that the first target cloud service corresponding to the intermediate domain name sent by the first authoritative domain name server is the first cloud service, and obtain the other cloud services. The first ingress protocol address of the service is determined, and the first ingress protocol address is sent to the recursive server; when the business computer room status corresponding to the first cloud service among the multiple candidate cloud services is faulty and the second control interface status is faulty, the first authoritative domain name server is controlled to switch to a second target cloud service where the domain name to be processed is determined from other cloud services among the multiple candidate cloud services, the domain name to be processed is resolved to point to the second target cloud service to obtain an intermediate domain name, and the intermediate domain name is sent to the second authoritative domain name server, so that the second authoritative domain name server resolves the intermediate domain name to point to the second target cloud service, obtains a second ingress protocol address of the second target cloud service, and sends the second ingress protocol address to the recursive server. In the above scheme, by obtaining the status detection information sent by the monitoring system, the business computer room status corresponding to multiple candidate cloud services and the control interface status and device status corresponding to the two authoritative domain name servers can be effectively determined, which is conducive to timely responding to domain name resolution anomalies; by controlling the second authoritative domain name server to resolve the intermediate domain name to the entry protocol address of the cloud service that is running normally when the business computer room status corresponding to the first cloud service among multiple candidate cloud services is faulty and the first control interface status is faulty, and by controlling the first authoritative domain name server to resolve the domain name to be processed to point to the normal cloud service when the business computer room status corresponding to the first cloud service among multiple candidate cloud services is faulty and the second control interface status is faulty, the domain name resolution processing can be effectively switched to point to the normal cloud service, so as to achieve the purpose of disabling the faulty cloud service, ensure that the relevant users of the faulty cloud service can continue to use the business functions normally, maintain normal business traffic, and ensure the user experience.
[0045] Figure 4 A flowchart of a domain name resolution failure processing method including a related processing process when a device failure occurs in a second authoritative domain name server is provided in an embodiment of the present application. Figure 4 As shown, the specific steps include:
[0046] Step S201, obtaining status detection information sent by the monitoring system, the status detection information including the business computer room status corresponding to multiple candidate cloud services, the first control interface status and the first device status of the first authoritative domain name server, and the second control interface status and the second device status of the second authoritative domain name server.
[0047] Step S202: When the business computer room status corresponding to the first cloud service among multiple candidate cloud services is faulty and the first control interface status is faulty, control the second authoritative domain name server to switch to resolving the intermediate domain name to other cloud services among the multiple candidate cloud services when it is identified that the first target cloud service corresponding to the intermediate domain name sent by the first authoritative domain name server is the first cloud service, obtain the first ingress protocol address of the other cloud services, and send the first ingress protocol address to the recursive server.
[0048] Step S203: When the business computer room status corresponding to the first cloud service among multiple candidate cloud services is faulty and the second control interface status is faulty, control the first authoritative domain name server to switch to the second target cloud service that determines the domain name to be processed from other cloud services among the multiple candidate cloud services, resolve the domain name to be processed to point to the second target cloud service to obtain an intermediate domain name, and send the intermediate domain name to the second authoritative domain name server, so that the second authoritative domain name server resolves the intermediate domain name to point to the second target cloud service, obtains a second ingress protocol address of the second target cloud service, and sends the second ingress protocol address to the recursive server.
[0049] Step S204: When the second device is in a faulty state, control the first authoritative domain name server to stop resolving the domain name to be processed into an intermediate domain name, and switch to resolving the domain name to be processed to point to its corresponding target cloud service, obtain the third entry protocol address of the target cloud service, and send the third entry protocol address to the recursive server.
[0050] The second device status is faulty, which can be regarded as the second authoritative domain name server being unable to continue to provide domain name resolution services, so the first authoritative domain name server can be controlled to stop resolving the pending domain name to the intermediate domain name, and the second authoritative domain name server does not need to continue to perform the resolution of the intermediate domain name, but directly resolves the pending domain name to the required entry protocol address through the first authoritative domain name server. In one embodiment, Figure 5 A schematic diagram of applying a domain name resolution fault handling method to handle a fault when a second control interface of a second authoritative domain name server fails is provided in an embodiment of the present application, such as Figure 5 As shown, combined Figure 2According to the relevant description, if the second control interface of the second authoritative domain name server fails, the first authoritative domain name server can be controlled to stop resolving the domain name "all.nginx.test.com" to the domain name "all.nginx.aly.*" or the domain name "all.nginx.txy.*" through the CNAME record, and instead switch to resolving the domain name "all.nginx.test.com" through the A record to obtain the entry IP address of the first cloud service or the entry IP address of the second cloud service.
[0051] In one embodiment, after the second authoritative domain name server fails, the intermediate domain name that the first authoritative domain name server has sent to the second authoritative domain name server cannot continue to be resolved normally to obtain its corresponding entry protocol address. Therefore, in addition to controlling the first authoritative domain name server to stop resolving the pending domain name to the intermediate domain name, it is also possible to try to restore the resolution of the pending domain name that has been resolved to the intermediate domain name to ensure the normal experience of the relevant users. Before controlling the first authoritative domain name server to stop resolving the pending domain name to the intermediate domain name, the following specific implementation process is also included:
[0052] Obtain the abnormal resolution record corresponding to the second authoritative domain name server;
[0053] The first authoritative domain name server is controlled to resolve the domain name to be processed in the abnormal resolution record to point to the corresponding target cloud service, obtain the fifth entry protocol address of the corresponding target cloud service, and send the fifth entry protocol address to the recursive server.
[0054] The abnormal resolution record may be a domain name resolution record that the second authoritative domain name server cannot complete the resolution of, which is synchronously recorded by the switching server. The abnormal resolution record may record the domain name to be processed and other user-related information. By controlling the first authoritative domain name server to continue to resolve the domain name to be processed in the abnormal resolution record, the corresponding entry protocol address is obtained, so as to achieve the purpose of restoring the damaged resolution record and minimize the impact of the resolution failure caused by the failure of the second authoritative domain name server.
[0055] In the above, when a device failure occurs in the second authoritative domain name server, the first authoritative domain name server is promptly controlled to switch to directly resolve the domain name to be processed to obtain the entry protocol address of its corresponding target cloud service, thereby ensuring the normal operation of the domain name resolution service and avoiding a complete paralysis of the service, which affects the user experience.
[0056] Figure 6 A flowchart of a domain name resolution fault handling method provided by an embodiment of the present application, including a domain name resolution recovery process related to a first cloud service and a second control interface corresponding to a second authoritative domain name server when the second control interface returns to normal. Figure 6As shown, the specific steps include:
[0057] Step S301: Acquire status detection information sent by the monitoring system, where the status detection information includes business computer room status corresponding to a plurality of candidate cloud services, a first control interface status and a first device status of a first authoritative domain name server, and a second control interface status and a second device status of a second authoritative domain name server;
[0058] Step S302: When the business computer room status corresponding to the first cloud service among the multiple candidate cloud services is faulty and the first control interface status is faulty, control the second authoritative domain name server to switch to resolving the intermediate domain name to other cloud services among the multiple candidate cloud services when recognizing that the first target cloud service corresponding to the intermediate domain name sent by the first authoritative domain name server is the first cloud service, obtain the first ingress protocol address of the other cloud service, and send the first ingress protocol address to the recursive server;
[0059] Step S303: When the business computer room status corresponding to the first cloud service among multiple candidate cloud services is faulty and the second control interface status is faulty, back up the first domain name resolution record of the first authoritative domain name server, control the first authoritative domain name server to switch to the second target cloud service that determines the domain name to be processed from other cloud services among the multiple candidate cloud services, resolve the domain name to be processed to point to the second target cloud service to obtain an intermediate domain name, and send the intermediate domain name to the second authoritative domain name server, so that the second authoritative domain name server resolves the intermediate domain name to point to the second target cloud service, obtains a second ingress protocol address of the second target cloud service, and sends the second ingress protocol address to the recursive server.
[0060] The first domain name resolution record may be a mapping relationship between the to-be-processed domain names and the intermediate domain names corresponding to different candidate cloud services, for example, a CNAME record.
[0061] Step S304: When the status of the business computer room corresponding to the first cloud service among multiple candidate cloud services is restored to normal, and the status of the second control interface is restored to normal, the first authoritative domain name server is controlled to recover to the first target cloud service of the domain name to be processed determined from multiple candidate cloud services according to the first domain name resolution record, the domain name to be processed is resolved to point to the first target cloud service to obtain an intermediate domain name, and the intermediate domain name is sent to the second authoritative domain name server.
[0062] As described above, when the status of the business computer room corresponding to the first cloud service is restored to normal, and the status of the second control interface corresponding to the second authoritative domain name server is restored to normal, the domain name resolution of the first authoritative domain name server can be restored through the backed up first domain name resolution record, so that the first authoritative domain name server can re-add the resolution pointing to the first cloud service to the domain name to be processed to obtain the intermediate domain name, so that the restored first cloud service continues to provide relevant business functions.
[0063] Figure 7 A flowchart of a domain name resolution fault processing method provided by an embodiment of the present application includes a domain name resolution recovery process related to a first cloud service and a first control interface corresponding to a first authoritative domain name server when the first control interface returns to normal. Figure 7 As shown, the specific steps include:
[0064] Step S401: Acquire status detection information sent by the monitoring system, where the status detection information includes business computer room status corresponding to a plurality of candidate cloud services, a first control interface status and a first device status of a first authoritative domain name server, and a second control interface status and a second device status of a second authoritative domain name server;
[0065] Step S402: when the business computer room status corresponding to the first cloud service among the multiple candidate cloud services is faulty and the first control interface status is faulty, back up the second domain name resolution record of the second authoritative domain name server, control the second authoritative domain name server to switch to resolving the intermediate domain name to other cloud services among the multiple candidate cloud services when it is identified that the first target cloud service corresponding to the intermediate domain name sent by the first authoritative domain name server is the first cloud service, obtain the first entry protocol address of the other cloud service, and send the first entry protocol address to the recursive server;
[0066] The second domain name resolution record may be a mapping relationship between an intermediate domain name and an entry IP address corresponding to different candidate cloud services, for example, an A record, an AAAA record, and the like.
[0067] Step S403: When the status of the business computer room corresponding to the first cloud service among multiple candidate cloud services is restored to normal and the status of the first control interface is restored to normal, the second authoritative domain name server is controlled according to the second domain name resolution record to restore to resolving the intermediate domain name to point to the first cloud service when the first target cloud service corresponding to the intermediate domain name is identified as the first cloud service, and the fourth ingress protocol address of the first cloud service is obtained, and the fourth ingress protocol address is sent to the recursive server.
[0068] Step S404: When the business computer room status corresponding to the first cloud service among the multiple candidate cloud services is faulty and the second control interface status is faulty, back up the first domain name resolution record of the first authoritative domain name server, control the first authoritative domain name server to switch to the second target cloud service that determines the domain name to be processed from other cloud services among the multiple candidate cloud services, resolve the domain name to be processed to point to the second target cloud service to obtain an intermediate domain name, and send the intermediate domain name to the second authoritative domain name server, so that the second authoritative domain name server resolves the intermediate domain name to point to the second target cloud service, obtains a second ingress protocol address of the second target cloud service, and sends the second ingress protocol address to the recursive server.
[0069] As described above, when the status of the business computer room corresponding to the first cloud service is restored to normal, and the status of the first control interface corresponding to the first authoritative domain name server is restored to normal, the domain name resolution of the second authoritative domain name server can be restored through the backed up second domain name resolution record, so that the second authoritative domain name server can re-resolve the intermediate domain name corresponding to the first cloud service into the entry protocol address of the first cloud service, so that the restored first cloud service continues to provide relevant business functions.
[0070] Figure 8 A flowchart of a domain name resolution failure processing method including a domain name resolution recovery process related to when a second authoritative domain name server returns to normal is provided in an embodiment of the present application. Figure 8 As shown, the specific steps include:
[0071] Step S501, obtain status detection information sent by the monitoring system, the status detection information including the business computer room status corresponding to multiple candidate cloud services, the first control interface status and the first device status of the first authoritative domain name server, and the second control interface status and the second device status of the second authoritative domain name server.
[0072] Step S502: When the business computer room status corresponding to the first cloud service among multiple candidate cloud services is faulty and the first control interface status is faulty, control the second authoritative domain name server to switch to resolving the intermediate domain name to other cloud services among the multiple candidate cloud services when it is identified that the first target cloud service corresponding to the intermediate domain name sent by the first authoritative domain name server is the first cloud service, obtain the first ingress protocol address of the other cloud services, and send the first ingress protocol address to the recursive server.
[0073] Step S503: When the business computer room status corresponding to the first cloud service among multiple candidate cloud services is faulty and the second control interface status is faulty, control the first authoritative domain name server to switch to the second target cloud service that determines the domain name to be processed from other cloud services among the multiple candidate cloud services, resolve the domain name to be processed to point to the second target cloud service to obtain an intermediate domain name, and send the intermediate domain name to the second authoritative domain name server, so that the second authoritative domain name server resolves the intermediate domain name to point to the second target cloud service, obtains a second ingress protocol address of the second target cloud service, and sends the second ingress protocol address to the recursive server.
[0074] Step S504: When the second device is in a faulty state, control the first authoritative domain name server to stop resolving the domain name to be processed into an intermediate domain name, and switch to resolving the domain name to be processed to point to its corresponding target cloud service, obtain the third entry protocol address of the target cloud service, and send the third entry protocol address to the recursive server.
[0075] Step S505: When the second device status is restored to normal, control the first authoritative domain name server to resume resolving the domain name to be processed to point to its corresponding target cloud service to obtain an intermediate domain name, and send the intermediate domain name to the second authoritative domain name server.
[0076] As mentioned above, when the second authoritative domain name server returns to normal, the first authoritative domain name server can be controlled to re-resolve the domain name to be processed to its corresponding target cloud service to obtain the intermediate domain name, so that the second authoritative domain name server can continue to process the intermediate domain name to obtain the entry protocol address of its corresponding target cloud service, and restore the domain name resolution architecture of the dual authoritative domain name servers.
[0077] Fig. 9 This is a structural block diagram of a domain name resolution fault processing device provided in an embodiment of the present application. The device is configured to execute the domain name resolution fault processing method provided in the above embodiment and has the corresponding functional modules and beneficial effects of the execution method. Fig. 9 As shown, the device specifically includes:
[0078] The acquisition module 101 is configured to acquire status detection information sent by the monitoring system, where the status detection information includes business computer room status corresponding to the plurality of candidate cloud services, a first control interface status and a first device status of a first authoritative domain name server, and a second control interface status and a second device status of a second authoritative domain name server;
[0079] The first fault processing module 102 is configured to, when the business computer room status corresponding to the first cloud service among the multiple candidate cloud services is faulty and the first control interface status is faulty, control the second authoritative domain name server to switch to resolving the intermediate domain name to other cloud services among the multiple candidate cloud services, obtain the first ingress protocol address of the other cloud services, and send the first ingress protocol address to the recursive server when recognizing that the first target cloud service corresponding to the intermediate domain name sent by the first authoritative domain name server is the first cloud service;
[0080] The second fault handling module 103 is configured to, when the business computer room status corresponding to the first cloud service among the multiple candidate cloud services is faulty and the second control interface status is faulty, control the first authoritative domain name server to switch to a second target cloud service that determines the domain name to be processed from other cloud services among the multiple candidate cloud services, resolve the domain name to be processed to point to the second target cloud service to obtain an intermediate domain name, and send the intermediate domain name to the second authoritative domain name server, so that the second authoritative domain name server resolves the intermediate domain name to point to the second target cloud service, obtains a second ingress protocol address of the second target cloud service, and sends the second ingress protocol address to the recursive server.
[0081] In the above scheme, by obtaining the status detection information sent by the monitoring system, the business computer room status corresponding to multiple candidate cloud services and the control interface status and device status corresponding to the two authoritative domain name servers can be effectively determined, which is conducive to timely responding to domain name resolution anomalies; by controlling the second authoritative domain name server to resolve the intermediate domain name to the entry protocol address of the cloud service that is running normally when the business computer room status corresponding to the first cloud service among multiple candidate cloud services is faulty and the first control interface status is faulty, and by controlling the first authoritative domain name server to resolve the domain name to be processed to point to the normal cloud service when the business computer room status corresponding to the first cloud service among multiple candidate cloud services is faulty and the second control interface status is faulty, the domain name resolution processing can be effectively switched to point to the normal cloud service, so as to achieve the purpose of disabling the faulty cloud service, ensure that the relevant users of the faulty cloud service can continue to use the business functions normally, maintain normal business traffic, and ensure the user experience.
[0082] In a possible embodiment, a third fault processing module is further included, configured to:
[0083] When the second device is in a faulty state, the first authoritative domain name server is controlled to stop resolving the domain name to be processed into an intermediate domain name, and switch to resolving the domain name to be processed to point to its corresponding target cloud service, obtain the third entry protocol address of the target cloud service, and send the third entry protocol address to the recursive server.
[0084] In a possible embodiment, it further includes a first record backup module configured to:
[0085] Back up the first domain name resolution record of the first authoritative domain name server;
[0086] The first recovery module is configured as follows:
[0087] When the status of the business computer room corresponding to the first cloud service among multiple candidate cloud services is restored to normal, and the status of the second control interface is restored to normal, the first authoritative domain name server is controlled to recover to the first target cloud service of the domain name to be processed determined from multiple candidate cloud services according to the first domain name resolution record, the domain name to be processed is resolved to point to the first target cloud service to obtain an intermediate domain name, and the intermediate domain name is sent to the second authoritative domain name server.
[0088] In a possible embodiment, it further includes a second record backup module configured to:
[0089] Back up the second domain name resolution record of the second authoritative domain name server;
[0090] The second recovery module is configured as follows:
[0091] When the status of the business computer room corresponding to the first cloud service among multiple candidate cloud services is restored to normal, and the status of the first control interface is restored to normal, the second authoritative domain name server is controlled according to the second domain name resolution record to restore to resolving the intermediate domain name to the first cloud service when the first target cloud service corresponding to the intermediate domain name is identified as the first cloud service, and the fourth ingress protocol address of the first cloud service is obtained, and the fourth ingress protocol address is sent to the recursive server.
[0092] In a possible embodiment, it further includes an abnormality analysis and recovery module configured as follows:
[0093] Obtain the abnormal resolution record corresponding to the second authoritative domain name server;
[0094] The first authoritative domain name server is controlled to resolve the domain name to be processed in the abnormal resolution record to point to the corresponding target cloud service, obtain the fifth entry protocol address of the corresponding target cloud service, and send the fifth entry protocol address to the recursive server.
[0095] In a possible embodiment, a third recovery module is further included, configured to:
[0096] When the second device status is restored to normal, the first authoritative domain name server is controlled to resume resolving the domain name to be processed to point to its corresponding target cloud service to obtain an intermediate domain name, and send the intermediate domain name to the second authoritative domain name server.
[0097] In a possible embodiment, the first fault processing module 102 is further configured to:
[0098] Querying allocation weight values corresponding to other cloud services among the plurality of candidate cloud services;
[0099] Filter out the second cloud service with the smallest allocation weight value from other cloud services;
[0100] Switch to resolving the intermediate domain name to point to the second cloud service, and obtain the first entry protocol address of the second cloud service.
[0101] Fig.10 A schematic diagram of a domain name resolution fault processing device provided in an embodiment of the present application is shown in FIG. Fig.10 As shown, the device includes a processor 201, a memory 202, an input device 203 and an output device 204; the number of processors 201 in the device can be one or more. Fig.10 A processor 201 is taken as an example; the processor 201, memory 202, input device 203 and output device 204 in the device can be connected by a bus or other means. Fig.10 The example of connecting through a bus is taken. The memory 202, as a computer-readable storage medium, can be configured to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the domain name resolution fault handling method in the embodiment of the present application. The processor 201 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 202, that is, implements the above-mentioned domain name resolution fault handling method. The input device 203 can be configured to receive input digital or character information, and generate key signal input related to user settings and function control of the device. The output device 204 may include a display device such as a display screen.
[0102] The domain name resolution fault processing device provided above can be used to execute the domain name resolution fault processing method provided in any of the above embodiments, and has corresponding functions and beneficial effects.
[0103] An embodiment of the present application also provides a non-volatile storage medium containing computer executable instructions, which, when executed by a computer processor, is configured to execute a domain name resolution fault handling method described in the above embodiment, which includes: obtaining status detection information sent by a monitoring system, the status detection information including business computer room status corresponding to multiple candidate cloud services, a first control interface status and a first device status of a first authoritative domain name server, and a second control interface status and a second device status of a second authoritative domain name server; when the business computer room status corresponding to a first cloud service among multiple candidate cloud services is faulty and the first control interface status is faulty, controlling the second authoritative domain name server to identify that the first target cloud service corresponding to the intermediate domain name sent by the first authoritative domain name server is the first cloud service Under the present invention, switch to resolving the intermediate domain name to other cloud services among multiple candidate cloud services, obtain the first entry protocol address of the other cloud services, and send the first entry protocol address to the recursive server; when the business computer room status corresponding to the first cloud service among the multiple candidate cloud services is faulty and the second control interface status is faulty, control the first authoritative domain name server to switch to the second target cloud service determined from the other cloud services among the multiple candidate cloud services for the domain name to be processed, resolve the domain name to be processed to point to the second target cloud service to obtain the intermediate domain name, and send the intermediate domain name to the second authoritative domain name server, so that the second authoritative domain name server resolves the intermediate domain name to point to the second target cloud service, obtains the second entry protocol address of the second target cloud service, and sends the second entry protocol address to the recursive server.
[0104] Storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as CD-ROM, floppy disk or tape device; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media, optical storage; registers or other similar types of memory elements, etc. Storage media may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the first computer system in which the program is executed, or may be located in a different second computer system, which is connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations (e.g., in different computer systems connected via a network). The storage medium may store program instructions (e.g., embodied as a computer program) that can be executed by one or more processors.
[0105] Of course, the storage medium containing computer executable instructions provided in the embodiment of the present application is not limited to the above domain name resolution fault handling method, and the computer executable instructions can also execute related operations in the domain name resolution fault handling method provided in any embodiment of the present application.
[0106] It should be noted that the numbering of each step in this scheme is only used to describe the overall design framework of this scheme, and does not represent the necessary order relationship between the steps. On the basis that the overall implementation process conforms to the overall design framework of this scheme, it belongs to the protection scope of this scheme, and the order of precedence in the form of text when describing is not an exclusive limitation on the specific implementation process of this scheme. It should be understood by those skilled in the art that the embodiments of the present application can be provided as methods, systems, or computer program products. In a typical configuration, a computing device includes one or more processors (CPU), an input / output interface, a network interface, and a memory. The memory may include non-permanent memory in a computer-readable medium, a random access memory (RAM) and / or a non-volatile memory in the form of a read-only memory (ROM) or a flash memory (fl ash RAM). The memory is an example of a computer-readable medium.
[0107] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0108] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for handling domain name resolution failure, characterized in that: The method comprises: Acquire status detection information sent by the monitoring system, wherein the status detection information includes business computer room status corresponding to the plurality of candidate cloud services, a first control interface status and a first device status of a first authoritative domain name server, and a second control interface status and a second device status of a second authoritative domain name server; When the business computer room status corresponding to the first cloud service among the multiple candidate cloud services is faulty and the first control interface status is faulty, control the second authoritative domain name server to switch to resolving the intermediate domain name to other cloud services among the multiple candidate cloud services when recognizing that the first target cloud service corresponding to the intermediate domain name sent by the first authoritative domain name server is the first cloud service, obtain the first ingress protocol address of the other cloud service, and send the first ingress protocol address to the recursive server; When the business computer room status corresponding to the first cloud service among the multiple candidate cloud services is faulty and the second control interface status is faulty, control the first authoritative domain name server to switch to a second target cloud service that determines the domain name to be processed from other cloud services among the multiple candidate cloud services, resolve the domain name to be processed to point to the second target cloud service to obtain an intermediate domain name, and send the intermediate domain name to the second authoritative domain name server, so that the second authoritative domain name server resolves the intermediate domain name to point to the second target cloud service, obtains a second ingress protocol address of the second target cloud service, and sends the second ingress protocol address to the recursive server.
2. The method for handling domain name resolution failure according to claim 1, characterized in that: Also includes: When the second device is in a faulty state, the first authoritative domain name server is controlled to stop resolving the domain name to be processed into an intermediate domain name, and switch to resolving the domain name to be processed to point to its corresponding target cloud service, obtain the third ingress protocol address of the target cloud service, and send the third ingress protocol address to the recursive server.
3. The method for handling domain name resolution failure according to claim 1, characterized in that: Before controlling the first authoritative domain name server to switch to a second target cloud service whose domain name to be processed is determined from other cloud services among the multiple candidate cloud services, the method further includes: Backing up the first domain name resolution record of the first authoritative domain name server; Correspondingly, after sending the intermediate domain name to the second authoritative domain name server, the method further includes: When the status of the business computer room corresponding to the first cloud service among the multiple candidate cloud services is restored to normal, and the status of the second control interface is restored to normal, the first authoritative domain name server is controlled to restore to the first target cloud service of the domain name to be processed determined from the multiple candidate cloud services according to the first domain name resolution record, the domain name to be processed is resolved to point to the first target cloud service to obtain an intermediate domain name, and the intermediate domain name is sent to the second authoritative domain name server.
4. The method for handling domain name resolution failure according to claim 1, characterized in that: Before controlling the second authoritative domain name server to switch to resolving the intermediate domain name to other cloud services among the multiple candidate cloud services when recognizing that the first target cloud service corresponding to the intermediate domain name sent by the first authoritative domain name server is the first cloud service, the method further includes: Back up the second domain name resolution record of the second authoritative domain name server; Correspondingly, after sending the first ingress protocol address to the recursive server, the method further includes: When the status of the business computer room corresponding to the first cloud service among the multiple candidate cloud services is restored to normal and the status of the first control interface is restored to normal, the second authoritative domain name server is controlled according to the second domain name resolution record to restore to resolving the intermediate domain name to point to the first cloud service when the first target cloud service corresponding to the intermediate domain name is identified as the first cloud service, to obtain the fourth ingress protocol address of the first cloud service, and to send the fourth ingress protocol address to the recursive server.
5. The method for handling domain name resolution failure according to claim 2, characterized in that: Before controlling the first authoritative domain name server to stop resolving the domain name to be processed into an intermediate domain name, the method further includes: Obtaining the abnormal resolution record corresponding to the second authoritative domain name server; Control the first authoritative domain name server to resolve the domain name to be processed in the abnormal resolution record to point to the corresponding target cloud service, obtain the fifth ingress protocol address of the corresponding target cloud service, and send the fifth ingress protocol address to the recursive server.
6. The method for handling domain name resolution failure according to claim 2, characterized in that: After sending the third ingress protocol address to the recursive server, the method further includes: When the status of the second device is restored to normal, the first authoritative domain name server is controlled to resume resolving the domain name to be processed to point to its corresponding target cloud service to obtain an intermediate domain name, and send the intermediate domain name to the second authoritative domain name server.
7. The method for handling domain name resolution failure according to claim 1, characterized in that: The switching to resolving the intermediate domain name to point to other cloud services among the multiple candidate cloud services to obtain the first entry protocol address of the other cloud service includes: Querying allocation weight values corresponding to other cloud services among the multiple candidate cloud services; Filter out a second cloud service having a smallest allocation weight value from the other cloud services; Switch to resolving the intermediate domain name to point to the second cloud service, and obtain the first entry protocol address of the second cloud service.
8. A domain name resolution fault processing device, characterized in that: include: an acquisition module configured to acquire status detection information sent by the monitoring system, wherein the status detection information includes business computer room status corresponding to a plurality of candidate cloud services, a first control interface status and a first device status of a first authoritative domain name server, and a second control interface status and a second device status of a second authoritative domain name server; a first fault processing module configured to, when the business computer room status corresponding to the first cloud service among the multiple candidate cloud services is faulty and the first control interface status is faulty, control the second authoritative domain name server to switch to resolving the intermediate domain name to point to other cloud services among the multiple candidate cloud services, obtain a first ingress protocol address of the other cloud service, and send the first ingress protocol address to the recursive server when recognizing that the first target cloud service corresponding to the intermediate domain name sent by the first authoritative domain name server is the first cloud service; The second fault processing module is configured to control the first authoritative domain name server to switch to a second target cloud service that determines a domain name to be processed from other cloud services among the multiple candidate cloud services when the business computer room status corresponding to the first cloud service among the multiple candidate cloud services is faulty and the second control interface status is faulty, resolve the domain name to be processed to point to the second target cloud service to obtain an intermediate domain name, and send the intermediate domain name to the second authoritative domain name server, so that the second authoritative domain name server resolves the intermediate domain name to point to the second target cloud service, obtains a second ingress protocol address of the second target cloud service, and sends the second ingress protocol address to the recursive server.
9. A domain name resolution fault processing device, the device comprising: one or more processors; A storage device configured to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the domain name resolution failure processing method described in any one of claims 1 to 7.
10. A non-volatile storage medium storing computer executable instructions, wherein the computer executable instructions are configured to execute the domain name resolution failure processing method according to any one of claims 1 to 7 when executed by a computer processor.