3 ms·
For the cloudflare case, I found this interesting: dig www.cloudflare.com ; <<>> DiG 9.10.6 <<>> www.cloudflare.com ;; global options: +cmd ;; Got an
by pm90 8y ago
For the cloudflare case, I found this interesting:
dig www.cloudflare.com
; <<>> DiG 9.10.6 <<>> www.cloudflare.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38923
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;www.cloudflare.com. IN A
;; ANSWER SECTION:
www.cloudflare.com. 16 IN A 104.17.210.9
www.cloudflare.com. 16 IN A 104.17.209.9
;; Query time: 14 msec
;; SERVER: 75.75.75.75#53(75.75.75.75)
;; WHEN: Sat Apr 13 14:46:25 PDT 2019
;; MSG SIZE rcvd: 79
dig cloudflare.com
; <<>> DiG 9.10.6 <<>> cloudflare.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16630
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;cloudflare.com. IN A
;; ANSWER SECTION:
cloudflare.com. 536 IN A 198.41.215.162
cloudflare.com. 536 IN A 198.41.214.162
;; Query time: 73 msec
;; SERVER: 75.75.75.75#53(75.75.75.75)
;; WHEN: Sat Apr 13 14:46:47 PDT 2019
;; MSG SIZE rcvd: 75
Why does cloudflare.com resolve to a different IP address than www.cloudflare.com?
- teddyh 8y ago> Why does cloudflare.com resolve to a different IP address than www.cloudflare.com? Probably because the IP addresses on cloudflare.com leads to a simpler web server which seems to only reply with redirects to www.cloudflare.com, and might not have any actual web pages.
- bluejekyll 8y agoBased on the outage people noticed the other day with www.cloudflare.com, we actually know that www is delegated to other nameservers. Notice that there is an SOA and NS records for www.cloudflare.com if you dig for them. Given this, they can't just CNAME from one zone to the other (if they want to include additionals from the subzone). So my guess is that the resolution of cloudflare.com is relying on rules setup for an HTTP 301, as opposed to the relying on DNS aliasing.
- aasasd 8y agoIn a sort-of-related curio, IBM still keeps around their bunch of “www2.ibm.com” subdomains or something like that—likely because some links around the web are pointing to them. Afaict these addresses were used as ‘poor man's’ load balancing before multi-tier backends became the norm.
- kalleboo 8y agoOne amusing form of poor-man's load balancing was in the original Netscape 1, which had hard-coded rules for certain netscape web servers where it would automatically generate www1/www2/etc subdomains randomly