-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.dnscrypt.example
54 lines (34 loc) · 1.55 KB
/
config.dnscrypt.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
##############################################
# #
# ciao configuration #
# #
##############################################
## This is an example configuration file.
## You should adjust it to your needs, and save it as "~/.ciao/config"
##
## Online documentation is available here: https://github.com/adamtait/ciao
##################################
# Path settings #
##################################
## Uncomment to change the path of the managed file (defaults to '/etc/hosts')
DEST_PATH=~/.dnscrypt/cloaking-rules.txt
##################################
# Rewrite settings #
##################################
## Uncomment to change the IP address for all DNS rewrite rules
## (defaults to 'localhost' addresses)
# IPv4_DEST="127.0.0.1"
# IPv6_DEST="fe80::1%lo0"
## HOSTS file expects [DESTINATION_DNS REQUEST_DNS] order
## but other applications (like DNSCrypt) use the reverse order ([REQUEST_DNS DESTINATION_DNS])
## For example, DEST_DNS_FIRST=false would give
## 10.1.1.1 example.com
## and DEST_DNS_FIRST=true:
## example.com 10.1.1.1
DEST_DNS_FIRST=true
##################################
# Post Change Hook #
##################################
## Uncomment to run a command after every update to the DEST_PATH
## (defaults to 'sudo dscacheutil -flushcache')
AFTER_CHANGES_RUN="echo '--> DNSCrypt restart'; sudo dnscrypt-proxy -config ${HOME}/.dnscrypt/dnscrypt-proxy.toml -service restart"