Cara Aktifkan Restict Youtube Mode ON + Safesearch google
tambahkan config di file /etc/bin/named.conf.options
Source :
response-policy { zone "rpz"; };
};
};
tambahkan config di file /etc/bind/named.conf.local
Source :
buat file /etc/bind/rpdb.zone
Source :
Tes :
nslookup www.youtube.com
hasil :
Non-authoritative answer:
www.youtube.com canonical name = restrict.youtube.com.
Name: restrict.youtube.com
Address: 216.239.38.120
Tes :
nslookup www.google.com
hasil :
Non-authoritative answer:
www.google.com canonical name = forcesafesearch.google.com.
Name: forcesafesearch.google.com
Address: 216.239.38.120
Script : http://pastebin.com/htEUUXdB
Source :
zone "rpz" IN {
type master;
file "/etc/bind/rpdb.zone";
allow-query {none;};
};
type master;
file "/etc/bind/rpdb.zone";
allow-query {none;};
};
buat file /etc/bind/rpdb.zone
Source :
$ORIGIN rpz.
$TTL 1H
@ IN SOA dns1.domain.com. root.domain.com. (
7
1H
15m
30d
2h )
NS LOCALHOST.
// Restrict youtube Mode ON
www.youtube.com IN CNAME restrict.youtube.com.
m.youtube.com IN CNAME restrict.youtube.com.
youtubei.googleapis.com IN CNAME restrict.youtube.com.
youtube.googleapis.com IN CNAME restrict.youtube.com.
www.youtube-nocookie.com IN CNAME restrict.youtube.com.
// SafeSearch Mbah Google
google.com IN CNAME forcesafesearch.google.com.
www.google.com IN CNAME forcesafesearch.google.com.
// Safesearch Mbah Yahoo
www.yahoo.com IN CNAME strict.bing.com.
m.yahoo.com IN CNAME strict.bing.com.
id.search.yahoo.com IN CNAME strict.bing.com.
search.yahoo.com IN CNAME strict.bing.com.
www.id.search.yahoo.com IN CNAME strict.bing.com.
; EOFTes :
nslookup www.youtube.com
hasil :
Non-authoritative answer:
www.youtube.com canonical name = restrict.youtube.com.
Name: restrict.youtube.com
Address: 216.239.38.120
Tes :
nslookup www.google.com
hasil :
Non-authoritative answer:
www.google.com canonical name = forcesafesearch.google.com.
Name: forcesafesearch.google.com
Address: 216.239.38.120
Script : http://pastebin.com/htEUUXdB
0 Response to "Aktifkan Restict Youtube dan Safesearch google di DNS BIND9"
Post a Comment