Penguin
Note: You are viewing an old revision of this page. View the current version.

Canonical Name.

In DNS, this is effectively an alias for a hostname. It is often used for well known services, so that www.yourdomain.tla and mail.yourdomain.tla are aliases for your machine's real name.

For example

$ host www.xtra.co.nz www.xtra.co.nz CNAME xtra.co.nz xtra.co.nz A 202.27.184.102

$ host mail.xtra.co.nz mail.xtra.co.nz CNAME mta.xtra.co.nz mta.xtra.co.nz A 203.96.92.132

Some record types in DNS are not allowed to be CNAMEs. Similar to DNAME?. See the NamedNotes page for more details.


CategoryDns