commit
df253ac6be
15
conf.d/dnscrypt-backup.sh
Normal file
15
conf.d/dnscrypt-backup.sh
Normal file
|
@ -0,0 +1,15 @@
|
|||
# dnscrypt config - backup
|
||||
|
||||
local_ip='127.0.0.2'
|
||||
local_port='53'
|
||||
local_user='nobody'
|
||||
resolver_ip='176.56.237.171'
|
||||
resolver_port='443'
|
||||
provider_name='2.dnscrypt-cert.resolver1.dnscrypt.eu'
|
||||
provider_key='67C0:0F2C:21C5:5481:45DD:7CB4:6A27:1AF2:EB96:9931:40A3:09B6:2B8D:1653:1185:9C66'
|
||||
|
||||
service_args="--local-address=${local_ip}:${local_port} \
|
||||
--resolver-address=${resolver_ip}:${resolver_port} \
|
||||
--provider-name=${provider_name} \
|
||||
--provider-key=${provider_key} \
|
||||
--user=${local_user}"
|
15
conf.d/dnscrypt.sh
Normal file
15
conf.d/dnscrypt.sh
Normal file
|
@ -0,0 +1,15 @@
|
|||
# dnscrypt config - main
|
||||
|
||||
local_ip='127.0.0.1'
|
||||
local_port='53'
|
||||
local_user='nobody'
|
||||
resolver_ip='77.66.84.233'
|
||||
resolver_port='443'
|
||||
provider_name='2.dnscrypt-cert.resolver2.dnscrypt.eu'
|
||||
provider_key='3748:5585:E3B9:D088:FD25:AD36:B037:01F5:520C:D648:9E9A:DD52:1457:4955:9F0A:9955'
|
||||
|
||||
service_args="--local-address=${local_ip}:${local_port} \
|
||||
--resolver-address=${resolver_ip}:${resolver_port} \
|
||||
--provider-name=${provider_name} \
|
||||
--provider-key=${provider_key} \
|
||||
--user=${local_user}"
|
8
init.d/dnscrypt
Normal file
8
init.d/dnscrypt
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
# soft depend, OR return 1 for hard depend
|
||||
depends dnscrypt-backup
|
||||
|
||||
service_respawn='true'
|
||||
service_command='/usr/bin/dnscrypt-proxy'
|
||||
service_logfile='/var/log/dnscrypt.log'
|
5
init.d/dnscrypt-backup
Normal file
5
init.d/dnscrypt-backup
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_respawn='true'
|
||||
service_command='/usr/bin/dnscrypt-proxy'
|
||||
service_logfile='/var/log/dnscrypt-bak.log'
|
Loading…
Reference in New Issue
Block a user