tencent cloud

Feedback

Configuring DNS Records

Last updated: 2023-12-26 18:20:47
    This document describes how to configure the DNS record on EdgeOne.
    Note
    This feature is only available for sites connected via the NS.

    Prerequisite

    1. Connect your site to EdgeOne via NS.
    2. Modify the DNS server of your domain to the DNS server provided by EdgeOne. For details, see Modifying DNS Server.

    Directions

    Scenario 1. Adding one DNS Record

    1. Log in to the EdgeOne console. Click the target site in the site list to display second-level menus for site management.
    2. In the left sidebar, click Domain Name Service > DNS Records.
    3. On the DNS Record page, click Add record, complete the parameters, and click Save.
    
    
    
    Parameter description:
    Record type and Record value: Different types of records have different purposes.
    Record type
    Example
    Description
    A
    8.8.8.8
    Point a domain name to an IPv4 address, such as 8.8.8.8.
    AAAA
    2400:cb00:2049:1::a29f:f9
    Point a domain name to an IPv6 address.
    CNAME
    cname.edgeone.com
    Point a domain name to another domain name from which the final IP address is resolved.
    MX
    10 mail.edgeone.com
    In the first box, enter the priority of mail servers to receive mails. A smaller value indicates a higher priority. In the second box, enter the mail server, which is ususally provided by the mail register.
    TXT
    ba21a62exxxxxxxxxxcf5f06e audio/video proxy
    Identify and describe a domain name. It is usually used for domain name verification and as SPF records (for anti-spam).
    NS
    ns01.edgeone.com audio/video proxy
    If you need to have another DNS provider to resolve the sub-domain, add the NS record. Note that you cannot add an NS record for a root domain name.
    SRV
    1 5 7001 srvhostname.example.com
    Identify a service used by a server. It is commonly used in Microsoft directory management.
    CAA
    0 issue trustasia.com
    Specify CAs that are allowed to issue certificates for a site.
    Host record: Prefix of the sub-domain. For example, if the site is example.com, and you want to add the domain name www.example.com, you need to enter www.
    TTL: It is the DNS record cache period. A shorter TTL indicates a higher record update frequency. However the DNS resolution speed can be slightly affected.
    TTL options: Automatic, 1 minute, 2 minutes, 5 minutes, 10 minutes, 15 minutes, 30 minutes, 1 hour, 2 hours, 200 minutes, 12 hours, and 1 day. If you select Automatic, the system will configure TTL to 5 seconds.
    How to configure TTL:
    If the record value does not change frequently, select 1 hour or longer to speed up DNS resolution.
    If the record value changes frequently, select a shorter TTL value such as 1 minute, which, however, may slightly slow down DNS resolution.
    Note:
    1. If the domain name you are resolving needs to be accelerated, click Enable Acceleration in the operation column. Only A/AAAA/CNAME records are supported. For common conflicts, see FAQs.
    2. When you enable acceleration for a domain name, it is moved to Acceleration. You can also check it in the DNS records page.
    3. If you want to configure multiple origins, or set a COS bucket as the origin, please see Adding Acceleration Domain Name.

    Scenario 2: Batch Importing DNS Records

    1. Log in to the EdgeOne console. Click the target site in the site list to display second-level menus for site management.
    2. In the left sidebar, click Domain Name Service > DNS Records.
    3. On the DNS records page, click Batch Import.
    
    
    4. In the pop-up window that appears, click Download template.
    
    
    
    5. Enter the record type, host record, record value and TTL as instructed in the template. Save the .csv file.
    
    
    
    6. In the Batch import DNS records pop-up window, click Upload to select the .csv file above, or drag and drop it to the specified area. Click Import.
    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