Skip to content

Commit

Permalink
Freformat
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Jan 17, 2018
1 parent 96dadc7 commit 6ba5749
Showing 1 changed file with 51 additions and 22 deletions.
73 changes: 51 additions & 22 deletions dnscrypt-proxy/dnscrypt-proxy.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@

####################################
# #
# dnscrypt-proxy configuration #
# #
####################################
##############################################
# #
# dnscrypt-proxy configuration #
# #
##############################################


############## Global settings ##############

##################################
# Global settings #
##################################

## List of servers to use
## If this line is commented, all registered servers will be used
Expand Down Expand Up @@ -40,23 +43,33 @@ timeout = 2500
cert_refresh_delay = 30


############## Filters ##############

#########################
# Filters #
#########################

## Immediately respond to IPv6-related queries with an empty response
## This makes things faster when there is no IPv6 connectivity

block_ipv6 = false


############## Route queries for specific domains to a dedicated set of servers ##############

##################################################################################
# Route queries for specific domains to a dedicated set of servers #
##################################################################################

# Example map entries (one entry per line):
# example.com: 9.9.9.9
# example.net: 9.9.9.9,8.8.8.8

forwarding_rules = "forwarding-rules.txt"


############## DNS Cache ##############

###########################
# DNS cache #
###########################

## Enable a basic DNS cache to reduce outgoing traffic

Expand All @@ -83,31 +96,47 @@ cache_max_ttl = 86400
cache_neg_ttl = 60


############## Query logging ##############
# Log client queries to a file
###############################
# Query logging #
###############################

## Log client queries to a file

[query_log]
### Full path to the query log file

## Full path to the query log file

# file = "query.log"

### Query log format (currently supported: tsv and ltsv)

## Query log format (currently supported: tsv and ltsv)

format = "tsv"


############## Pattern-based blocking (blacklists) ##############
# Blacklists are made of one pattern per line. Example of valid patterns:
# example.com
# *sex*
# ads.*
# ads*.example.*
# ads*.example[0-9]*.com

######################################################
# Pattern-based blocking (blacklists) #
######################################################

## Blacklists are made of one pattern per line. Example of valid patterns:
## example.com
## *sex*
## ads.*
## ads*.example.*
## ads*.example[0-9]*.com

[block_name]

## Full path to the file of blocking rules
file = "blacklist.txt"

# file = "blacklist.txt"



############## Servers ##############
#########################
# Servers #
#########################

## Remote lists of available servers
## Recommended: change the cache_file location to an absolute path
Expand Down

0 comments on commit 6ba5749

Please sign in to comment.