Domain-Sammlung gegen Facebook&Co. => /etc/hosts

Smalltalk
Cae
Beiträge: 6349
Registriert: 17.07.2011 23:36:39
Wohnort: 2130706433

Re: Domain-Sammlung gegen Facebook&Co. => /etc/hosts

Beitrag von Cae » 04.05.2012 11:32:43

savalas hat geschrieben:gibts auch eine Möglichkeit nationale Unterseiten, wie de-de.facebook.com und andere (nl-nl, fr-fr, usw.) in einem Rutsch zu sperren? Ich müßte jede Seite von Hand in die hosts eintragen, damit diese gesperrt ist.
Ein DNS-Server mit Blackliste bzw. Umleitung auf eine leere Dummy-Seite. Über die hosts geht das nicht, das ist nur eine stupide Zuordnung von Hostname/voller FQDN ohne Wildcards zu IP.

Gruß Cae
If universal surveillance were the answer, lots of us would have moved to the former East Germany. If surveillance cameras were the answer, camera-happy London, with something like 500,000 of them at a cost of $700 million, would be the safest city on the planet.

—Bruce Schneier

Benutzeravatar
savalas
Beiträge: 135
Registriert: 18.12.2011 21:42:36
Wohnort: trash:///

Re: Domain-Sammlung gegen Facebook&Co. => /etc/hosts

Beitrag von savalas » 04.05.2012 21:14:17

Cae hat geschrieben: Ein DNS-Server mit Blackliste bzw. Umleitung auf eine leere Dummy-Seite. Über die hosts geht das nicht, das ist nur eine stupide Zuordnung von Hostname/voller FQDN ohne Wildcards zu IP.

Gruß Cae
Hi Cae,

vielen Dank für die Erklärung! Ließe sich das dann mit Bind9 bewerkstelligen (hatte ich weiter oben sogar schon mal gefragt, ist aber wahrscheinlich etwas untergegangen!?)? Wenn ja, dann wie?
Viele Grüße,...savalas

I spent a lot of money on booze, birds and fast cars. The rest I just squandered. (George Best 1946 - 2005)

ctwx
Beiträge: 321
Registriert: 04.04.2010 23:06:55
Lizenz eigener Beiträge: MIT Lizenz

Re: Domain-Sammlung gegen Facebook&Co. => /etc/hosts

Beitrag von ctwx » 17.05.2012 19:59:00

Ich habe es anfangs auch mit /etc/hosts versucht was sowiet ganz gut geklappt hat. Nicht zuletzt konnte ich die hosts-Datei auch an die Windowsrechner die ich hier noch im Netzwerk habe, einfach so verteilen. Hier ist meine Facebook-URL-Filterliste:

Code: Alles auswählen

127.0.0.1       facebook.de
127.0.0.1       facebook.com
127.0.0.1       facebook.net
127.0.0.1       de-de.facebook.com
127.0.0.1       www.facebook.de
127.0.0.1       www.facebook.com
127.0.0.1       www.facebook.net
127.0.0.1       connect.facebook.net
127.0.0.1       api.facebook.com
127.0.0.1       www-13-01-ash2.facebook.com
127.0.0.1       www-13-03-ash2.facebook.com
127.0.0.1       www-14-01-ash2.facebook.com
127.0.0.1       www-16-01-ash2.facebook.com
127.0.0.1       www-10-02-ash3.facebook.com
127.0.0.1       www-12-02-ash3.facebook.com
127.0.0.1       www-14-02-ash3.facebook.com
127.0.0.1       www-11-01-ash4.facebook.com
127.0.0.1       www-14-01-ash4.facebook.com
127.0.0.1       www-10-05-prn1.facebook.com
127.0.0.1       www-10-06-prn1.facebook.com
127.0.0.1       www-11-05-prn1.facebook.com
127.0.0.1       www-12-01-prn1.facebook.com
127.0.0.1       www-13-01-prn1.facebook.com
127.0.0.1       www-13-06-prn1.facebook.com
127.0.0.1       www-14-01-prn1.facebook.com
127.0.0.1       www-14-05-prn1.facebook.com
127.0.0.1       www-14-06-prn1.facebook.com
127.0.0.1       www-15-01-prn1.facebook.com
127.0.0.1       www-15-05-prn1.facebook.com
127.0.0.1       api-read-10-01-prn1.facebook.com
127.0.0.1       api-read-11-01-prn1.facebook.com
127.0.0.1       api-11-01-snc2.facebook.com
127.0.0.1       www-13-04-snc4.facebook.com
127.0.0.1       www-14-02-snc5.facebook.com
127.0.0.1       www-10-01-tst1.facebook.com
Es gibt noch weitaus mehr, aber mit denen geblockt, ist der größte Mist schon mal weg.^^ Wildcards in der /etc/hosts währen wirklich ein Traum. ^^


Gruß
Ctwx

wanne
Moderator
Beiträge: 7462
Registriert: 24.05.2010 12:39:42

Re: Domain-Sammlung gegen Facebook&Co. => /etc/hosts

Beitrag von wanne » 18.05.2012 02:37:13

Ich hbe jetzt nen unbound. Der kann domais.
rot: Moderator wanne spricht, default: User wanne spricht.

Antworten