$ curl -D- '
https://www.taobao.com/' \
-H 'Connection: keep-alive' \
-H 'Cache-Control: max-age=0' \
-H 'Upgrade-Insecure-Requests: 1' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36' \
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9' \
-H 'Sec-Fetch-Site: cross-site' \
-H 'Sec-Fetch-Mode: navigate' \
-H 'Sec-Fetch-Dest: document' \
-H 'Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,th;q=0.6' \
--compressed
HTTP/1.1 302 Found
Server: Tengine
Date: Sun, 24 May 2020 10:53:50 GMT
Content-Type: text/html
Content-Length: 258
Connection: keep-alive
Location:
https://www.taobao.com/<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
<head><title>302 Found</title></head>
<body bgcolor="white">
<h1>302 Found</h1>
<p>The requested resource resides temporarily under a different URI.</p>
<hr/>Powered by Tengine</body>
</html>
dig 223.5.5.5 119.19.19.19 的结果一样。
$ dig
www.taobao.com; <<>> DiG 9.10.6 <<>>
www.taobao.com;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7920
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;
www.taobao.com. IN A
;; ANSWER SECTION:
www.taobao.com. 536 IN CNAME
www.taobao.com.danuoyi.tbcache.com.
www.taobao.com.danuoyi.tbcache.com. 18 IN A 111.63.56.218
www.taobao.com.danuoyi.tbcache.com. 18 IN A 111.63.56.217
;; Query time: 74 msec
;; SERVER: 119.29.29.29#53(119.29.29.29)
;; WHEN: Sun May 24 18:54:15 CST 2020
;; MSG SIZE rcvd: 120