Sometimes, when it’s late at night in the office, we notice odd things in the DNS that don’t belong. Sometimes they’re worthy of a blog mention. Tonight we highlight a myspace.com DNS misconfiguration.
$ host -vv myspace.com
;; ->>HEADER< <- opcode: QUERY, status: NOERROR, id: 24145
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;myspace.com. IN A
;; ANSWER SECTION:
myspace.com. 68350 IN A 184.108.40.206
myspace.com. 68350 IN A 220.127.116.11
myspace.com. 68350 IN A 18.104.22.168
myspace.com. 68350 IN A 22.214.171.124
myspace.com. 68350 IN A 127.0.0.1
Received 109 bytes from 126.96.36.199#53 in 9 ms
For those of you who don’t know, 127.0.0.1 is another way of saying localhost which is another way of saying your computer. So while that may literally take me to My Space (as in, my personal computer), it is certainly not going to get me to the website myspace.com. Whoops.