File example-dnscrypt-proxy.toml.sed of Package dnscrypt-proxy2

# change port number 53 -> 5335
s/listen_addresses = \['127.0.0.1:53', '\[::1]:53']/#listen_addresses = ['127.0.0.1:53', '[::1]:53']\nlisten_addresses = ['127.0.0.1:5335', '[::1]:5335']/

# absolute paths by default
s/# log_file = 'dnscrypt-proxy.log'/# log_file = '\/var\/lib\/dnscrypt-proxy\/dnscrypt-proxy.log'/
s/# forwarding_rules = 'forwarding-rules.txt'/# forwarding_rules = '\/etc\/dnscrypt-proxy\/forwarding-rules.txt'/
s/# cloaking_rules = 'cloaking-rules.txt'/# cloaking_rules = '\/etc\/dnscrypt-proxy\/cloaking-rules.txt'/
s/  # file = 'query.log'/  # file = '\/var\/lib\/dnscrypt-proxy\/query.log'/
s/  # file = 'nx.log'/  # file = '\/var\/lib\/dnscrypt-proxy\/nx.log'/
s/  # blacklist_file = 'blacklist.txt'/  # blacklist_file = '\/etc\/dnscrypt-proxy\/blacklist.txt'/
s/  # log_file = 'blocked.log'/  # log_file = '\/var\/lib\/dnscrypt-proxy\/blocked.log'/
s/  # blacklist_file = 'ip-blacklist.txt'/# blacklist_file = '\/etc\/dnscrypt-proxy\/ip-blacklist.txt'/
s/  # log_file = 'ip-blocked.log'/  # log_file = '\/var\/lib\/dnscrypt-proxy\/ip-blocked.log'/
s/  # whitelist_file = 'whitelist.txt'/# blacklist_file = '\/etc\/dnscrypt-proxy\/whitelist.txt'/
s/  # log_file = 'whitelisted.log'/  # log_file = '\/var\/lib\/dnscrypt-proxy\/whitelisted.log'/
s/  cache_file = 'public-resolvers.md'/  cache_file = '\/var\/lib\/dnscrypt-proxy\/public-resolvers.md'/
s/  #  cache_file = "quad9-resolvers.md"/  #  cache_file = '\/var\/lib\/dnscrypt-proxy\/quad9-resolvers.md'/
s/  #  cache_file = 'parental-control.md'/  #  cache_file = '\/var\/lib\/dnscrypt-proxy\/parental-control.md'/
openSUSE Build Service is sponsored by