Skip to content

Instantly share code, notes, and snippets.

@anselmh
Last active July 26, 2016 09:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anselmh/f3a9fbf819b60cf799f68fb9119e030c to your computer and use it in GitHub Desktop.
Save anselmh/f3a9fbf819b60cf799f68fb9119e030c to your computer and use it in GitHub Desktop.
block newrelic tracker from sending data
##
# Enter this into your /etc/hosts file to re-route traffic to newrelic hostnames to null
##
0.0.0.0 beacon-1.newrelic.com
0.0.0.0 beacon-2.newrelic.com
0.0.0.0 beacon-3.newrelic.com
0.0.0.0 beacon-4.newrelic.com
0.0.0.0 beacon-5.newrelic.com
0.0.0.0 beacon-6.newrelic.com
0.0.0.0 js-agent.newrelic.com
# At least one of the URLs where data from their script goes to, meaning this is the most important rule:
0.0.0.0 bam.nr-data.net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment