Skip navigation links
com.tencentcloudapi.teo.v20220901.models

Class CreateDnsRecordRequest

Returns:
Type DNS record type. valid values are:
  • a: points the domain name to an external ipv4 address, such as 8.8.8.8;
  • aaaa: points the domain name to an external ipv6 address;
  • mx: used for email servers. when there are multiple mx records, the lower the priority value, the higher the priority;
  • cname: points the domain name to another domain name, which then resolves to the final ip address;
  • txt: identifies and describes the domain name, commonly used for domain verification and spf records (anti-spam);
  • ns: if you need to delegate the subdomain to another dns service provider for resolution, you need to add an ns record. the root domain cannot add ns records;
  • caa: specifies the ca that can issue certificates for this site;
  • srv: identifies a server using a service, commonly used in microsoft's directory management.
  • . Different record types, such as srv and caa records, have different requirements for host record names and record value formats. for detailed descriptions and format examples of each record type, please refer to: [introduction to dns record types](https://intl.cloud.tencent.com/document/product/1552/90453?from_cn_redirect=1#2f681022-91ab-4a9e-ac3d-0a6c454d954e).
    Parameters:
    Type - DNS record type. valid values are:
  • a: points the domain name to an external ipv4 address, such as 8.8.8.8;
  • aaaa: points the domain name to an external ipv6 address;
  • mx: used for email servers. when there are multiple mx records, the lower the priority value, the higher the priority;
  • cname: points the domain name to another domain name, which then resolves to the final ip address;
  • txt: identifies and describes the domain name, commonly used for domain verification and spf records (anti-spam);
  • ns: if you need to delegate the subdomain to another dns service provider for resolution, you need to add an ns record. the root domain cannot add ns records;
  • caa: specifies the ca that can issue certificates for this site;
  • srv: identifies a server using a service, commonly used in microsoft's directory management.
  • . Different record types, such as srv and caa records, have different requirements for host record names and record value formats. for detailed descriptions and format examples of each record type, please refer to: [introduction to dns record types](https://intl.cloud.tencent.com/document/product/1552/90453?from_cn_redirect=1#2f681022-91ab-4a9e-ac3d-0a6c454d954e).
    Skip navigation links

    Copyright © 2025. All rights reserved.