Hacker News new | comments | show | ask | jobs | submit login

Imperfect hosts list, there may be more

127.0.0.1 www.facebook.com

127.0.0.1 facebook.com

127.0.0.1 connect.facebook.net

127.0.0.1 facebook.net

127.0.0.1 fbcdn.net

127.0.0.1 www.fbcdn.net

It sure seems to speed up using the web.




Thanks. I tried to get a list of domains from their nameservers but they seem to have blocked the usual ways to do this:

  $ dig @ns1.facebook.com facebook.com axfr

  ; <<>> DiG 9.3.6-APPLE-P2 <<>> @ns1.facebook.com facebook.com axfr
  ; (1 server found)
  ;; global options:  printcmd
  ; Transfer failed.
and...

  $ host -l -t any facebook.com
  ; Transfer failed.
  Host facebook.com not found: 5(REFUSED)
  ; Transfer failed.


This would just do a zone transfer of facebook.com (plus delegations of sub-domains) not all zones on their nameserver. It is also normally deemed a security vulnerability to allow zone transfers to unauthorized clients, which is basically any client that isn't a secondary nameserver.


Here is some more:

0.0.0.0 badge.facebook.com

0.0.0.0 blog.facebook.com

0.0.0.0 en-gb.facebook.com

0.0.0.0 developers.facebook.com

0.0.0.0 touch.facebook.com

0.0.0.0 de-de.facebook.com

0.0.0.0 stories.facebook.com

0.0.0.0 it-it.facebook.com

0.0.0.0 hu-hu.facebook.com

0.0.0.0 peace.facebook.com

0.0.0.0 et-ee.facebook.com

0.0.0.0 az-az.facebook.com

0.0.0.0 0.facebook.com

0.0.0.0 apps.facebook.com

I always use 0.0.0.0 (which is really wrong) instead of 127.0.0.1 (which really exists, there is my local apache), this works on Linux and Windows systems.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: