1

Possible Duplicate:
How to get all IP addresses of a domain?

Need this data to create a special rule, and I need to know if they change frequently or not. Somebody told me that they have a dedicated IP range on Akamai.

Thanks.

user116482
  • 21
  • 1
  • 2
  • 4
    If you intend to block or allow connections to/from Facebook, you should know that you'll also be blocking/allowing thousands of other sites that use Akamai. – Kyle Smith Apr 04 '12 at 20:24

2 Answers2

6

There is no reasonable way you're going to be able to block facebook (or any other large website for that matter) purely at the IP level. You're going to be constantly adding and removing IPs, likely on a daily basis.

This is the job for a proxy, where you can properly block sites at the URL level and not have to worry about what IP addresses are behind them.

EEAA
  • 109,363
  • 18
  • 175
  • 245
  • FWIW, we use Akamai and we get "new Edge server notifications" nearly weekly. – Kyle Smith Apr 04 '12 at 20:35
  • @KyleSmith - good to know. I'm sure it's safe to say that facebook itself also has a fair amount of flux in their public IP addressing as well. – EEAA Apr 04 '12 at 20:40
  • Actually, there is a reasonable way: IP blocks. Large companies like Facebook often contract out dedicated IP blocks and operate their own networks. You can use http://whois.arin.net to search for 'facebook' and find out their directly assigned IP space and what they sublease from others as a customer. – Jonathan Vanasco Apr 25 '17 at 16:14
6

If you want to block facebook do it at the DNS level or use a web proxy to filter the content.

user9517
  • 115,471
  • 20
  • 215
  • 297