Skip to content

Instantly share code, notes, and snippets.

@szepeviktor
Last active February 29, 2024 02:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save szepeviktor/d08fb9da0a899d26797bd30a460d0bd8 to your computer and use it in GitHub Desktop.
Save szepeviktor/d08fb9da0a899d26797bd30a460d0bd8 to your computer and use it in GitHub Desktop.
Facebook Data Center locations

To get the locations from the PTR record in AS32934, e.g. in 31.13.96.0/19 fwdproxy-cln-013.fbsv.net.

DNS PTR record City
prn Prineville, OR, USA
pnb Papillion, NE, USA
ldc Los Lunas, NM, USA
ftw Fort Worth, TX, USA
frc Forest City, NC, USA
atn Altoona, IA, USA
cln Clonee, Ireland
lla Luleå, Sweden
odn Odense, Denmark
eag Eagle Mountain, UT, USA
nao New Albany, OH, USA
rva Sandston, Henrico County, VA, USA
ash Ashburn, VA, USA (Digital Realty)
vll Huntsville, AL, USA
nha Huntsville, AL, USA (Starbelt)
? Singapore
snc Santa Clara, CA, USA
ncg Stanton Springs, Newton County, GA, USA
shv Shiv, an L4 load balancer
cco ?
zaz ?

Source: https://www.usenix.org/conference/srecon19asia/presentation/xiao

@szepeviktor
Copy link
Author

szepeviktor commented Sep 20, 2021

wget -qO- https://sustainability.fb.com/map/|sed -n -e 's#.*var markers = \(\[.*\]\)\s.*#\1#p' >facebook-dcs.json
jq -r '.[] | select(.type == "datacenter") | (.title + " | " + .lat + " " + .lng)' facebook-dcs.json
DC lat lng
Jeffersonville, IN 38.375278 -85.668327
Temple, TX 31.132714 -97.363981
Kansas City 39.326489 -94.601347
Kuna, ID 43.4593878 -116.2657698
Mesa - AZ 33.35488386 -111.6357585
Gallatin - TN 36.407560 -86.392240
DeKalb - Illinois 41.8910937 -88.9067601
Singapore 1.328669 103.74717
Huntsville - Alabama 34.840817 -86.631483
Eagle Mountain - Utah 40.32277 -111.99621
Stanton Springs - Georgia 33.6007968 -83.6940463
Henrico - Virginia 37.49576 -77.24442
New Albany - Ohio 40.09351 -82.80873
Sarpy County - Nebraska 41.124923 -96.140505
Odense - Denmark 55.372232 10.487709
Los Lunas - New Mexico 34.828031 -106.780983
Clonee - Ireland 53.417664 -6.431697
Fort Worth - Texas 32.90594 -97.33518
Luleå - Sweden 65.619657 22.117237
Forest City - North Carolina 35.315818 -81.827739
Prineville - Oregon 44.295709 -120.885998
Altoona - Iowa 41.6675 -93.5065

@szepeviktor
Copy link
Author

szepeviktor commented Apr 24, 2022

Coordinates of Google locations: view-source:https://peering.google.com/static/js/site/modules/pages/infrastructure.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment