Import a cloaking example file

This commit is contained in:
Frank Denis 2018-02-04 01:57:18 +01:00
parent 033931a13a
commit 1e066e69b3
3 changed files with 34 additions and 22 deletions

View file

@ -0,0 +1,11 @@
www.google.com forcesafesearch.google.com
www.google.fr forcesafesearch.google.com
www.bing.com strict.bing.com
www.youtube.com restrict.youtube.com
m.youtube.com restrict.youtube.com
youtubei.googleapis.com restrict.youtube.com
youtube.googleapis.com restrict.youtube.com
www.youtube-nocookie.com restrict.youtube.com

View file

@ -134,12 +134,13 @@ block_ipv6 = false
# Cloaking rules #
###############################
## Cloaking returns a predefined IP address for a specific name
## It can also resolve a different name, and return the address found for that other name
## Cloaking returns a predefined address for a specific name.
## In addition to acting as a HOSTS file, it can also return the IP address
## of a different name. It will also do CNAME flattening.
##
## Example map entries (one entry per line)
## example.com 1.1.1.1
## google.com forcesafesearch.google.com
## example.com 10.1.1.1
## www.google.com forcesafesearch.google.com
# cloaking_rules = 'cloaking-rules.txt'