Last active
August 29, 2015 14:25
-
-
Save madssj/e8cea31b9775a9309fd3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The new mirror selector doesn't work without the traling slash. | |
➜ ~ curl -iH 'Host: httpredir.debian.org' 5.153.231.35/debian/ | |
HTTP/1.1 302 Found | |
Date: Wed, 22 Jul 2015 14:22:21 GMT | |
Location: http://mirror.easyspeedy.com/debian/ | |
Content-Type: text/plain | |
X-Clacks-Overhead: GNU Terry Pratchett | |
Vary: Accept-Encoding | |
Transfer-Encoding: chunked | |
➜ ~ curl -iH 'Host: httpredir.debian.org' 176.9.184.93/debian/ | |
HTTP/1.1 302 Found | |
Date: Wed, 22 Jul 2015 14:22:36 GMT | |
Location: http://mirrors.rackhosting.com/debian/ | |
Content-Type: text/plain | |
Link: <http://mirror.easyspeedy.com/debian/>; rel=duplicate; pri=1; depth=0, <http://mirrors.rackhosting.com/debian/>; rel=duplicate; pri=1; depth=0 | |
Vary: Accept-Encoding | |
Transfer-Encoding: chunked | |
➜ ~ curl -iH 'Host: httpredir.debian.org' 128.31.0.66/debian/ | |
HTTP/1.1 302 Found | |
Date: Wed, 22 Jul 2015 14:22:49 GMT | |
Server: Apache | |
Location: http://mirror.easyspeedy.com/debian/ | |
Content-Type: text/plain | |
X-Clacks-Overhead: GNU Terry Pratchett | |
Transfer-Encoding: chunked | |
➜ ~ curl http://httpredir.debian.org/debian | |
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> | |
<html><head> | |
<title>404 Not Found</title> | |
</head><body> | |
<h1>Not Found</h1> | |
<p>The requested URL /debian was not found on this server.</p> | |
<hr> | |
<address>Apache/2.2.22 (Debian) Server at httpredir.debian.org Port 80</address> | |
</body></html> | |
➜ ~ dig httpredir.debian.org | |
; <<>> DiG 9.8.3-P1 <<>> httpredir.debian.org | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15012 | |
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0 | |
;; QUESTION SECTION: | |
;httpredir.debian.org. IN A | |
;; ANSWER SECTION: | |
httpredir.debian.org. 167 IN A 176.9.184.93 | |
httpredir.debian.org. 167 IN A 5.153.231.35 | |
httpredir.debian.org. 167 IN A 128.31.0.66 | |
;; Query time: 14 msec | |
;; SERVER: 10.0.1.1#53(10.0.1.1) | |
;; WHEN: Wed Jul 22 16:23:22 2015 | |
;; MSG SIZE rcvd: 86 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment