In NS connection mode, you can transfer the DNS resolution permission to EdgeOne by modifying name servers (NSs).
DNS Record
EdgeOne DNS supports the smart DNS for various record types. It can intelligently return the optimal split zone based on end users' geographical locations and ISPs.
1. Log in to the EdgeOne console and click Domain Name Service in the left sidebar. 2. On the page that appears, select a site and click DNS records.
3. On the page that appears, select a record, click Edit to edit the parameters, and click Save.
Parameter description:
Record type and Record value: Different types of records have different purposes.
|
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 | It is used for email servers. The record value and priority parameters are provided by email service providers. If there are multiple MX records, a lower number represents a higher priority. |
TXT | ba21a62exxxxxxxxxxcf5f06e | 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 | 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: It is equivalent to the prefix of a subdomain name. For example, if the current site is edgeone.com
, then common host record types are as listed below:
|
A | ✓ | ✓ | × | ✓ | × | ✓ | ✓ | ✓ |
AAAA | ✓ | ✓ | × | ✓ | × | ✓ | ✓ | ✓ |
CNAME | × | × | × | × | × | × | × | × |
MX | ✓ | ✓ | × | ✓ | × | ✓ | ✓ | ✓ |
NS | × | × | × | × | ✓ | × | × | × |
TXT | ✓ | ✓ | × | ✓ | × | ✓ | ✓ | ✓ |
SRV | ✓ | ✓ | × | ✓ | × | ✓ | ✓ | ✓ |
CAA | ✓ | ✓ | × | ✓ | × | ✓ | ✓ | ✓ |
Proxy mode: Select Only DNS or Proxied based on the record type.
|
A/AAAA/CNAME | Only DNS or Proxied |
MX/TXT/NS/SRV/CAA | Only DNS |
Note:
When multiple DNS records contain the same host record (the same subdomain name prefix), if the proxy is enabled for only one record, other records will be invalid.
When multiple DNS records contain the same host record (the same subdomain name prefix), proxy can be enabled for multiple A/AAAA records at the same time, but for only one CNAME record.
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, 5 hours, 12 hours, and 1 day. If you select Automatic, the system will configure TTL to 300 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
In proxy acceleration, the TTL is Automatic by default and cannot be modified.
In actual conditions, LDNS cache configuration may not follow the TTL setting. It takes longer for the record update to take effect than the TTL.
DNS Configuration
Advanced configuration items such as DNSSEC, custom NS, and CNAME acceleration are supported.
DNSSEC
DNS Security Extension (DNSSEC) uses a digital signature to authenticate the DNS data source for the security and integrity of DNS resolution results. It is commonly used to prevent DNS spoofing and DNS cache poisoning.
1. Log in to the EdgeOne console and click Domain Name Service in the left sidebar. 2. On the page that appears, select the target site and click DNS configuration.
3. On the DNS configuration page, click in the DNSSEC module and confirm the operation. Then DNSSEC is enabled and DS information is generated. 4. Add a DS record at your domain name registrar according to the above information. For detailed directions with certain registrars, see the following documents:
Custom NS
The custom NS feature allows you to create a NS dedicated to your own site to replace the default assigned NS. After creation, EdgeOne will automatically assign an IP address to it.
Note
Custom NS has the following limits:
Only a subdomain name (ns.example.com) of the current site (example.com) can be used as a custom NS.
2-5 custom NSs are required.
If you enable custom NS for the first time, you need to add two custom NSs, and the custom names must be different from existing DNS records.
2. On the DNS configuration page, click in the custom NS module, enter a custom NS domain name, and click Add. 3. After adding a custom NS, you need to add its glue records at your domain name registrar for the custom NS to take effect.
CNAME acceleration
Once enabled, CNAME acceleration can effectively accelerate DNS resolution. If multi-level CNAME records are set in EdgeOne DNS for a domain name, the system will directly provide the final IP DNS resolution result to reduce the number of resolutions. This feature is enabled by default.
2. On the DNS configuration page, you can toggle CNAME acceleration on or off.
Note
To directly get the final IP DNS resolution result, all multi-level CNAME records must be in EdgeOne DNS.
Was this page helpful?