Seite 2 von 2

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

Verfasst: 04.05.2012 11:32:43
von Cae
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

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

Verfasst: 04.05.2012 21:14:17
von savalas
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?

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

Verfasst: 17.05.2012 19:59:00
von ctwx
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

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

Verfasst: 18.05.2012 02:37:13
von wanne
Ich hbe jetzt nen unbound. Der kann domais.