Explaining CNAME DNS Record terminology
The aim of this page📝 is to explain CNAME records based on the particular example of mapping pavol.kutaj.com
to pkutaj.github.io
. I just needed to know the terminology, the point being that it is the target pkutaj.github.io
that is the CNAME pavol.kutaj.com
and not the other way around. I know it's just basic stuff…
1 min readJul 24, 2023
- CNAME stands for Canonical Name.
- It is a type of DNS record that maps one domain name to another.
- It is used to create an alias from one domain name to another domain name.
- For example,
pavol.kutaj.com
might have a CNAME record that points topkutaj.github.io
. - When a user accesses
pavol.kutaj.com
, they are referred to the root domainpkutaj.github.io
. - The domain name that the CNAME record points to is called the canonical name or the target.
- The domain name that has the CNAME record is called the alias.
EXAMPLE
Here is a particular record:
pavol.kutaj.com. 3600 IN CNAME pkutaj.github.io.
This record indicates that the domain pavol.kutaj.com
is an alias for the domain pkutaj.github.io
. The 3600
is the time-to-live (TTL) value in seconds, which specifies how long the record may be cached by resolvers. The IN
stands for Internet, and the CNAME
specifies the type of record.