确实拿到了 301
- C:Usersiks>dig youtu.be @116.228.111.118 [中国 上海 电信]
-
- ; <<>> DiG 9.16.23 <<>> youtu.be @116.228.111.118 [中国 上海 电信]
- ;; global options: +cmd
- ;; Got answer:
- ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59840
- ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
-
- ;; OPT PSEUDOSECTION:
- ; EDNS: version: 0, flags:; udp: 1232
- ;; QUESTION SECTION:
- ;youtu.be. IN A
-
- ;; ANSWER SECTION:
- youtu.be. 3459 IN A 172.217.27.46 [中国 香港 google.com]
-
- ;; Query time: 0 msec
- ;; SERVER: 116.228.111.118#53(116.228.111.118)
- ;; WHEN: Wed May 04 23:58:16 ;; MSG SIZE rcvd: 53
-
-
- C:Usersiks>curl 172.217.27.46 -H "Host:youtu.be" -v
- * Trying 172.217.27.46:80…
- * Connected to 172.217.27.46 (172.217.27.46) port 80 (#0)
- > GET / HTTP/1.1
- > Host:youtu.be
- > User-Agent: curl/7.79.1
- > Accept: */*
- >
- * Mark bundle as not supporting multiuse
- < HTTP/1.1 301 Moved Permanently
- < Content-Type: application/binary
- < X-Content-Type-Options: nosniff
- < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
- < Pragma: no-cache
- < Expires: Mon, 01 Jan 1990 00:00:00 GMT
- < Date: Wed, 04 May 2022 15:58:24 GMT
- < Location: https://youtu.be/
- < Server: ESF
- < Content-Length: 0
- < X-XSS-Protection: 0
- < X-Frame-Options: SAMEORIGIN
- <
- * Connection #0 to host 172.217.27.46 left intact
复制代码
|