Fortinet black logo

Handbook

How to create a DNS record

How to create a DNS record

  1. Configure the Zone for the SOA record.
    1. Primary Server Name: Name for the primary server. You will need this name when creating the NS record of your domain. If you use '@', this means the server name is exactly the same as the domain name. Make sure to add a '.' at the end of the name if you would like to name it with a different domain name, such as in 'example.com.'. If there is no '.' at the end, our server will append the domain name automatically as the server name.
    2. Responsible Mail: Use '.' to replace the '@' for the email address. If there is no ‘.’ at the end of the mail, the DNS server will automatically append the domain name. For example, an input of 'dns_admin' would be automatically interpreted as 'dns_admin@sub.example.com'. Be sure to add a '.' at the end of the email address if a different domain name is used (e.g. 'dns_admin.example.com.').
  2. Configure NS record
    1. Without '.' at the end of the Hostname: Requires an IP for the sub-domain. DNS will append the domain name automatically.
    2. With '.' at the end of the Hostname: No IP needed. Usually only used for redirecting to another domain.
  3. Configure CNAME record
    CNAME Alias cannot conflict with any other record in the same domain. Otherwise, the DNS service will fail.
    1. Without '.' at the end of the Target: This means CNAME is within the same domain and the DNS server will append the domain automatically. TTL=-1 indicates use of the same TTL as the Zone configuration.
      If there is a valid A record for 'ms.sub.example.com'
    2. Without '.' at the end of the Target: CNAME will redirect to an A record in another domain.
      If there is a valid A record for 'mail.sub1.zw120.com' exists, then request from resolver '10.106.156.24'.

How to create a DNS record

  1. Configure the Zone for the SOA record.
    1. Primary Server Name: Name for the primary server. You will need this name when creating the NS record of your domain. If you use '@', this means the server name is exactly the same as the domain name. Make sure to add a '.' at the end of the name if you would like to name it with a different domain name, such as in 'example.com.'. If there is no '.' at the end, our server will append the domain name automatically as the server name.
    2. Responsible Mail: Use '.' to replace the '@' for the email address. If there is no ‘.’ at the end of the mail, the DNS server will automatically append the domain name. For example, an input of 'dns_admin' would be automatically interpreted as 'dns_admin@sub.example.com'. Be sure to add a '.' at the end of the email address if a different domain name is used (e.g. 'dns_admin.example.com.').
  2. Configure NS record
    1. Without '.' at the end of the Hostname: Requires an IP for the sub-domain. DNS will append the domain name automatically.
    2. With '.' at the end of the Hostname: No IP needed. Usually only used for redirecting to another domain.
  3. Configure CNAME record
    CNAME Alias cannot conflict with any other record in the same domain. Otherwise, the DNS service will fail.
    1. Without '.' at the end of the Target: This means CNAME is within the same domain and the DNS server will append the domain automatically. TTL=-1 indicates use of the same TTL as the Zone configuration.
      If there is a valid A record for 'ms.sub.example.com'
    2. Without '.' at the end of the Target: CNAME will redirect to an A record in another domain.
      If there is a valid A record for 'mail.sub1.zw120.com' exists, then request from resolver '10.106.156.24'.