[Internet](EN) Difference between CNAME and A record

Brief explanation about difference between CNAME and A record

Prior Knowledge

  • DNS(Domain Name Server)
  • Domain, IP Address
  • Let’s assume there is domain which name is test.me


CNAME = Acronym of Canonical Name. It gives another name to specific domain name. You can easily think that it is another name of domain name


 blog.test.me -> test.me // Another domain name of test.me
 www.test.me -> test.me  // Another domain name of test.me

A record

A record means domain name has One IP Address. Specific domain(include sub or root) has its own ip address. Like below sub domain can have different ip address.


dev.test.me -> 123.456.789.123 // dev.test.me ip address
test.me -> 987.654.321.123     // test.me ip address

Wiki Example

Below are examples from Wikipedia. Each has different value depends on TYPE

bar.example.com CNAME foo.example.com
foo.example.com A

[Docker] 도커(Docker) 이미지 이름과 태그 목록 가져오기

> 도커(Docker) 이미지 이름과 태그 목록을 awk과 tail 명령어를 이용해 가져오는 방법을 알아보자## 환경- Linux 기반 시스템- Bash shell(/bin/bash)- Docker- awk, tail 명령어## 도커(Docker...… Continue reading