Abstract


A Record

CNAME Record

  • Symbol is CNAME
  • Powers Host Aliasing which allows a Alias Hostname to be mapped to Canonical Hostname (CNAME)
  • In the above example, all requests go tonotes.yxy.ninja are handled by servers under notes.pages.dev

Create CNAME Record for Root Domain

Based on the DNS Specification, We can’t create CNAME Record for Root Domain. The good new is with Cloudflare’s CNAME Flattening, we are able to create a CNAME Record for Root Domain

The CNAME Record we created in the the Cloudflare side directs traffic hitting the root domain to Cloudflare Network

Then Cloudflare will use Cloudflare Page Rule we configured to obtain the IP Address and send back to the clients. This makes it a valid A Record query on the client-side

MX Record

  • Symbol MX which stands for Mail Exchanger
  • Powers Mail Server Aliasing which allow root Domain Name to be mapped to E-mail Server’s Hostname
  • In this above example, all the emails sent to hello@yxy.ninja is handled by the email servers behind mail.tutanota.de

NS Record

References