2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
1
To expand on the answer by rePost-User-7136343, you can use an A record (or AAAA for IPv6) to point a DNS name to an IP address.
1
Answers The data on a CNAME record must be always another DNS name - that's the fundamental point of a CNAME record. If you look at the RFC 1034, the data in a CNAME should be:
CNAME - a domain name.
Even though, if you put an public IP which sometimes works, but that is not the purpose of CNAME. CNAME is designed and implemented to be a DNS alias; it has no conception of having a public IP address in that data field. Please look at the link for futher information: https://serverfault.com/questions/377934/can-i-use-cname-with-ip-address-why-if-works-sometimes
답변함 일 년 전
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
Thanks for expanding the answer in relation to "Change CNAME to point to a hosted server, using public IP address".