Created
January 17, 2019 23:45
-
-
Save exiguus/ab05e0dfe22b44a8864369c8176481bf to your computer and use it in GitHub Desktop.
Block Facebook Graph tracking in apps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; | |
; BIND data file for example.local | |
; | |
$TTL 3600 | |
@ IN SOA ns.example.local. root.ns.example.local. ( | |
2014052101 ; Serial | |
7200 ; Refresh | |
120 ; Retry | |
2419200 ; Expire | |
3600) ; Default TTL | |
; | |
@ IN NS example.local. | |
A 127.0.0.1 ; This means that naughydomain.com gets directed to the designated address | |
* IN A 127.0.0.1 ; This wildcard entry means that any permutation of xxx.naughtydomain.com gets directed to the designated address | |
AAAA ::1 ; This means that naughydomain.com gets directed to IPv6 localhost | |
* IN AAAA ::1 ; This wildcard entry means that any permutation of xxx.naughtydomain.com gets directed to IPv6 localhost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
address=/graph.facebook.com/127.0.0.1 | |
address=/graph.instagram.com/127.0.0.1 | |
address=/graph.accountkit.com/127.0.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zone "graph.facebook.com" { type master; file "/etc/bind/db.blockeddomains"; }; | |
zone "graph.instagram.com" { type master; file "/etc/bind/db.blockeddomains"; }; | |
zone "graph.accountkit.com" { type master; file "/etc/bind/db.blockeddomains"; }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment