假设域A.COM
的{{1}} CNAME指向www
,而B.COM
也有B.COM
CNAME指向www
},C.COM
有多个A记录/ IP。
是否有人可以窥探C.COM
并查看它只是指向A.COM
?或者在没有完全访问DNS区域管理器的情况下获取该信息是不可能的(意味着他们所看到的是B.COM
解决的最终IP)?
答案 0 :(得分:0)
不,CNAME不会隐藏任何内容。您可以运行dig WWW.A.COM
,它会显示CNAME指针。也就是说,浏览您网站的临时用户永远不会看到或知道您的网站指向C.COM
。
示例:
$ dig ak.nextag.com
; <<>> DiG 9.8.3-P1 <<>> ak.nextag.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9813
;; flags: qr rd ra; QUERY: 1, ANSWER: 11, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;ak.nextag.com. IN A
;; ANSWER SECTION:
ak.nextag.com. 879 IN CNAME img.nextag.com.
img.nextag.com. 86379 IN CNAME img05.static-nextag.com.
img05.static-nextag.com. 7179 IN CNAME d2lhs8hfggtuez.cloudfront.net.
d2lhs8hfggtuez.cloudfront.net. 39 IN A 54.230.143.195
d2lhs8hfggtuez.cloudfront.net. 39 IN A 54.230.143.200
d2lhs8hfggtuez.cloudfront.net. 39 IN A 54.230.143.186
d2lhs8hfggtuez.cloudfront.net. 39 IN A 54.230.143.218
d2lhs8hfggtuez.cloudfront.net. 39 IN A 54.230.143.251
d2lhs8hfggtuez.cloudfront.net. 39 IN A 54.230.143.132
d2lhs8hfggtuez.cloudfront.net. 39 IN A 54.230.143.42
d2lhs8hfggtuez.cloudfront.net. 39 IN A 54.230.143.7
;; Query time: 106 msec
;; SERVER: 10.100.51.31#53(10.100.51.31)
;; WHEN: Sat Jul 8 01:18:44 2017
;; MSG SIZE rcvd: 254