tencent cloud

Feedback

CVM DNS Unavailability Experiment

Last updated: 2024-09-26 15:47:38

    Background

    Cloud Virtual Machine (CVM), launched by Tencent Cloud, has been increasingly widely used. When a CVM is used, the IP address of a server can be quickly located through a Domain Name System (DNS) to allow easy access by users. The complexity introduced by cloud computing architecture also brings forth new stability issues. However, the importance of DNS in the Internet world has long been ignored. Due to malicious DNS pollution, hijacking, and lack of high availability and scalability, DNS has become a popular object of attack. To ensure the continuity and security of businesses of users, the CVM DNS chaos engineering experiment emerges.

    Experiment Execution

    Step 1: Experiment Preparation

    Prepare a CVM instance object for the experiment.

    Step 2: Experiment Orchestration

    1. Log in to the Tencent Smart Advisor > Chaotic Fault Generator, go to the Experiment Management page, and click Create a New Experiment.
    2. Click Skip and create a blank experiment.
    3. Fill in the experiment information, and switch the default region to another region as needed. After filling in the basic information, click Next.
    4. Input action information, select Compute -CVM for Object Type, click Add Instance, and select a CVM instance for Experiment Objective.
    5. Click Add Now to add an experiment action, select Network Resources, click DNS unavailable, and click Next.
    6. Configure fault action parameters. Domain name allowlist parameters are supported, indicating a list of domain names available for parsing during a DNS fault. Multiple domain names are separated with English semicolons. Click Confirm.
    7. After the configuration of parameters is completed, click Next.
    8. Click Submit to create an experiment.

    Step 3: Experiment Execution

    1. Verify DNS parsing before a fault. Test domain name parsing through nslookup commands.
    2. Go to the Action Group 1, click Execute in the Fault Card, and inject a fault.
    3. After a successful fault injection, check CVM DNS parsing through nslookup.
    4. Click Execute in the Recovery Action Card to recover DNS.
    5. After a successful recovery, observe CVM DNS parsing again. You will find that DNS has returned to normal.
    
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support