Differences between the A and CNAME records

The A and CNAME(canonical * (성경이) 정본에 속하는 name) records are the two common ways to map an host name (name hereafter) to one or more IP address. Before going ahead, it’s important that you really understand the differences between these two records. I’ll keep it simple.

The A record points a name to a specific IP. For example, if you want the nameblog.dnsimple.com to point to the server 185.31.17.133 you will configure

blog.dnsimple.com. A 185.31.17.133

The CNAME record points a name to another name, instead of an IP. The CNAME source represents an alias for the target name and inherits its entire resolution chain. Let’s take our blogas example.

blog.dnsimple.com.      CNAME	aetrion.github.io.
aetrion.github.io.      CNAME	github.map.fastly.net.
github.map.fastly.net	A	    185.31.17.133

We use GitHub Pages and we set blog.dnsimple.com as a CNAME of aetrion.github.io, which in turns is itself a CNAME of github.map.fastly.net, which is an A record pointing to185.31.17.133. In short terms, this means that blog.dnsimple.com resolves to 185.31.17.133.

To summarize, an A record points a name to an IPCNAME record can point a name to anotherCNAME or an A record.

출처; https://support.dnsimple.com/articles/differences-a-cname-records/


Posted by buykiwi

블로그 이미지
친절상담 무료견적 정확시공
buykiwi

카테고리

분류 전체보기 (65)
CAD (2)
프로그래밍 (19)
네트워크/보안 (4)
인터넷/웹사이트 (13)
데이타베이스 (0)
운영체제(OS) (6)
마이크로 컨트롤러 (12)
모바일 (0)
게임 (0)
그래픽스/3D (4)
멀티미디어 (0)
사무자동화/PC/IT (3)
기타 (1)

태그목록

Yesterday
Today
Total

달력

 « |  » 2024.9
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

글 보관함