Advertisement
Guest User

Untitled

a guest
Jan 20th, 2020
366
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.43 KB | None | 0 0
  1.  
  2. ##############################################
  3. # #
  4. # dnscrypt-proxy configuration #
  5. # #
  6. ##############################################
  7.  
  8. ## This is an example configuration file.
  9. ## You should adjust it to your needs, and save it as "dnscrypt-proxy.toml"
  10. ##
  11. ## Online documentation is available here: https://dnscrypt.info/doc
  12.  
  13.  
  14.  
  15. ##################################
  16. # Global settings #
  17. ##################################
  18.  
  19. ## List of servers to use
  20. ##
  21. ## Servers from the "public-resolvers" source (see down below) can
  22. ## be viewed here: https://dnscrypt.info/public-servers
  23. ##
  24. ## If this line is commented, all registered servers matching the require_* filters
  25. ## will be used.
  26. ##
  27. ## The proxy will automatically pick the fastest, working servers from the list.
  28. ## Remove the leading # first to enable this; lines starting with # are ignored.
  29.  
  30. # server_names = ['scaleway-fr', 'google', 'yandex', 'cloudflare']
  31. server_names = ['cloudflare-ipv6', 'cloudflare']
  32. #server_names = ['cloudflare']
  33.  
  34.  
  35. ## List of local addresses and ports to listen to. Can be IPv4 and/or IPv6.
  36. ## Example with both IPv4 and IPv6:
  37. ## listen_addresses = ['127.0.0.1:53', '[::1]:53']
  38.  
  39. listen_addresses = ["0.0.0.0:53"]
  40.  
  41.  
  42. ## Maximum number of simultaneous client connections to accept
  43.  
  44. max_clients = 250
  45.  
  46.  
  47. ## Switch to a different system user after listening sockets have been created.
  48. ## Note (1): this feature is currently unsupported on Windows.
  49. ## Note (2): this feature is not compatible with systemd socket activation.
  50. ## Note (3): when using -pidfile, the PID file directory must be writable by the new user
  51.  
  52. user_name = 'alpe'
  53.  
  54.  
  55. ## Require servers (from static + remote sources) to satisfy specific properties
  56.  
  57. # Use servers reachable over IPv4
  58. ipv4_servers = false
  59.  
  60. # Use servers reachable over IPv6 -- Do not enable if you don't have IPv6 connectivity
  61. ipv6_servers = true
  62.  
  63. # Use servers implementing the DNSCrypt protocol
  64. dnscrypt_servers = true
  65.  
  66. # Use servers implementing the DNS-over-HTTPS protocol
  67. doh_servers = true
  68.  
  69.  
  70. ## Require servers defined by remote sources to satisfy specific properties
  71.  
  72. # Server must support DNS security extensions (DNSSEC)
  73. require_dnssec = false
  74.  
  75. # Server must not log user queries (declarative)
  76. require_nolog = true
  77.  
  78. # Server must not enforce its own blacklist (for parental control, ads blocking...)
  79. require_nofilter = true
  80.  
  81. # Server names to avoid even if they match all criteria
  82. disabled_server_names = []
  83.  
  84.  
  85. ## Always use TCP to connect to upstream servers.
  86. ## This can be useful if you need to route everything through Tor.
  87. ## Otherwise, leave this to `false`, as it doesn't improve security
  88. ## (dnscrypt-proxy will always encrypt everything even using UDP), and can
  89. ## only increase latency.
  90.  
  91. force_tcp = false
  92.  
  93.  
  94. ## SOCKS proxy
  95. ## Uncomment the following line to route all TCP connections to a local Tor node
  96. ## Tor doesn't support UDP, so set `force_tcp` to `true` as well.
  97.  
  98. # proxy = 'socks5://127.0.0.1:9050'
  99.  
  100.  
  101. ## HTTP/HTTPS proxy
  102. ## Only for DoH servers
  103.  
  104. # http_proxy = 'http://127.0.0.1:8888'
  105.  
  106.  
  107. ## How long a DNS query will wait for a response, in milliseconds.
  108. ## If you have a network with *a lot* of latency, you may need to
  109. ## increase this. Startup may be slower if you do so.
  110. ## Don't increase it too much. 10000 is the highest reasonable value.
  111.  
  112. timeout = 2500
  113.  
  114.  
  115. ## Keepalive for HTTP (HTTPS, HTTP/2) queries, in seconds
  116.  
  117. keepalive = 30
  118.  
  119.  
  120. ## Response for blocked queries. Options are `refused`, `hinfo` (default) or
  121. ## an IP response. To give an IP response, use the format `a:<IPv4>,aaaa:<IPv6>`.
  122. ## Using the `hinfo` option means that some responses will be lies.
  123. ## Unfortunately, the `hinfo` option appears to be required for Android 8+
  124.  
  125. # blocked_query_response = 'refused'
  126.  
  127.  
  128. ## Load-balancing strategy: 'p2' (default), 'ph', 'first' or 'random'
  129.  
  130. # lb_strategy = 'p2'
  131.  
  132. ## Set to `true` to constantly try to estimate the latency of all the resolvers
  133. ## and adjust the load-balancing parameters accordingly, or to `false` to disable.
  134.  
  135. # lb_estimator = true
  136.  
  137.  
  138. ## Log level (0-6, default: 2 - 0 is very verbose, 6 only contains fatal errors)
  139.  
  140. log_level = 0
  141.  
  142.  
  143. ## log file for the application
  144.  
  145. # log_file = 'dnscrypt-proxy.log'
  146. #log_file = "/media/alpe/375184d1-d126-403c-98bf-f15ed8cf3676/logs/dns/log.log"
  147. log_file = "/home/alpe/dnscrypt-proxy-linux_arm/log.log"
  148.  
  149.  
  150. ## Use the system logger (syslog on Unix, Event Log on Windows)
  151.  
  152. # use_syslog = true
  153.  
  154.  
  155. ## Delay, in minutes, after which certificates are reloaded
  156.  
  157. cert_refresh_delay = 30
  158.  
  159.  
  160. ## DNSCrypt: Create a new, unique key for every single DNS query
  161. ## This may improve privacy but can also have a significant impact on CPU usage
  162. ## Only enable if you don't have a lot of network load
  163.  
  164. dnscrypt_ephemeral_keys = true
  165.  
  166.  
  167. ## DoH: Disable TLS session tickets - increases privacy but also latency
  168.  
  169. tls_disable_session_tickets = true
  170.  
  171.  
  172. ## DoH: Use a specific cipher suite instead of the server preference
  173. ## 49199 = TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  174. ## 49195 = TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  175. ## 52392 = TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305
  176. ## 52393 = TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305
  177. ## 4865 = TLS_AES_128_GCM_SHA256
  178. ## 4867 = TLS_CHACHA20_POLY1305_SHA256
  179. ##
  180. ## On non-Intel CPUs such as MIPS routers and ARM systems (Android, Raspberry Pi...),
  181. ## the following suite improves performance.
  182. ## This may also help on Intel CPUs running 32-bit operating systems.
  183. ##
  184. ## Keep tls_cipher_suite empty if you have issues fetching sources or
  185. ## connecting to some DoH servers. Google and Cloudflare are fine with it.
  186.  
  187. # tls_cipher_suite = [52392, 49199]
  188.  
  189.  
  190. ## Fallback resolver
  191. ## This is a normal, non-encrypted DNS resolver, that will be only used
  192. ## for one-shot queries when retrieving the initial resolvers list, and
  193. ## only if the system DNS configuration doesn't work.
  194. ## No user application queries will ever be leaked through this resolver,
  195. ## and it will not be used after IP addresses of resolvers URLs have been found.
  196. ## It will never be used if lists have already been cached, and if stamps
  197. ## don't include host names without IP addresses.
  198. ## It will not be used if the configured system DNS works.
  199. ## A resolver supporting DNSSEC is recommended.
  200. ##
  201. ## People in China may need to use 114.114.114.114:53 here.
  202. ## Other popular options include 8.8.8.8 and 1.1.1.1.
  203.  
  204. fallback_resolver = '192.168.1.254:53'
  205.  
  206.  
  207. ## Always use the fallback resolver before the system DNS settings.
  208.  
  209. ignore_system_dns = true
  210.  
  211.  
  212. ## Maximum time (in seconds) to wait for network connectivity before
  213. ## initializing the proxy.
  214. ## Useful if the proxy is automatically started at boot, and network
  215. ## connectivity is not guaranteed to be immediately available.
  216. ## Use 0 to not test for connectivity at all (not recommended),
  217. ## and -1 to wait as much as possible.
  218.  
  219. netprobe_timeout = -1
  220.  
  221. ## Address and port to try initializing a connection to, just to check
  222. ## if the network is up. It can be any address and any port, even if
  223. ## there is nothing answering these on the other side. Just don't use
  224. ## a local address, as the goal is to check for Internet connectivity.
  225. ## On Windows, a datagram with a single, nul byte will be sent, only
  226. ## when the system starts.
  227. ## On other operating systems, the connection will be initialized
  228. ## but nothing will be sent at all.
  229.  
  230. netprobe_address = '9.9.9.9:53'
  231.  
  232.  
  233. ## Offline mode - Do not use any remote encrypted servers.
  234. ## The proxy will remain fully functional to respond to queries that
  235. ## plugins can handle directly (forwarding, cloaking, ...)
  236.  
  237. # offline_mode = false
  238.  
  239.  
  240. ## Additional data to attach to outgoing queries.
  241. ## These strings will be added as TXT records to queries.
  242. ## Do not use, except on servers explicitly asking for extra data
  243. ## to be present.
  244.  
  245. # query_meta = ["key1:value1", "key2:value2", "key3:value3"]
  246.  
  247.  
  248. ## Automatic log files rotation
  249.  
  250. # Maximum log files size in MB - Set to 0 for unlimited.
  251. log_files_max_size = 10
  252.  
  253. # How long to keep backup files, in days
  254. log_files_max_age = 7
  255.  
  256. # Maximum log files backups to keep (or 0 to keep all backups)
  257. log_files_max_backups = 1
  258.  
  259.  
  260.  
  261. #########################
  262. # Filters #
  263. #########################
  264.  
  265. ## Note: if you are using dnsmasq, disable the `dnssec` option in dnsmasq if you
  266. ## configure dnscrypt-proxy to do any kind of filtering (including the filters
  267. ## below and blacklists).
  268. ## But you can still choose resolvers that do DNSSEC validation.
  269.  
  270.  
  271. ## Immediately respond to IPv6-related queries with an empty response
  272. ## This makes things faster when there is no IPv6 connectivity, but can
  273. ## also cause reliability issues with some stub resolvers.
  274.  
  275. block_ipv6 = false
  276.  
  277.  
  278. ## Immediately respond to A and AAAA queries for host names without a domain name
  279.  
  280. block_unqualified = true
  281.  
  282.  
  283. ## Immediately respond to queries for local zones instead of leaking them to
  284. ## upstream resolvers (always causing errors or timeouts).
  285.  
  286. block_undelegated = true
  287.  
  288.  
  289. ## TTL for synthetic responses sent when a request has been blocked (due to
  290. ## IPv6 or blacklists).
  291.  
  292. #reject_ttl = 600
  293. reject_ttl = 300
  294.  
  295.  
  296.  
  297. ##################################################################################
  298. # Route queries for specific domains to a dedicated set of servers #
  299. ##################################################################################
  300.  
  301. ## Example map entries (one entry per line):
  302. ## example.com 9.9.9.9
  303. ## example.net 9.9.9.9,8.8.8.8,1.1.1.1
  304.  
  305. # forwarding_rules = 'forwarding-rules.txt'
  306.  
  307.  
  308.  
  309. ###############################
  310. # Cloaking rules #
  311. ###############################
  312.  
  313. ## Cloaking returns a predefined address for a specific name.
  314. ## In addition to acting as a HOSTS file, it can also return the IP address
  315. ## of a different name. It will also do CNAME flattening.
  316. ##
  317. ## Example map entries (one entry per line)
  318. ## example.com 10.1.1.1
  319. ## www.google.com forcesafesearch.google.com
  320.  
  321. # cloaking_rules = 'cloaking-rules.txt'
  322. #cloaking_rules = '/media/alpe/375184d1-d126-403c-98bf-f15ed8cf3676/_dns/hosts-block-clean-reversed'
  323. #cloaking_rules = '/home/alpe/dnscrypt-proxy-linux_arm/hosts-block-clean-reversed'
  324. cloaking_rules = '/home/alpe/dnscrypt-proxy-linux_arm/localhosts'
  325.  
  326. ## TTL used when serving entries in cloaking-rules.txt
  327.  
  328. # cloak_ttl = 600
  329. cloak_ttl = 1800
  330.  
  331.  
  332. ###########################
  333. # DNS cache #
  334. ###########################
  335.  
  336. ## Enable a DNS cache to reduce latency and outgoing traffic
  337.  
  338. cache = true
  339.  
  340.  
  341. ## Cache size
  342.  
  343. cache_size = 1024
  344.  
  345.  
  346. ## Minimum TTL for cached entries
  347.  
  348. cache_min_ttl = 5
  349.  
  350.  
  351. ## Maximum TTL for cached entries
  352.  
  353. cache_max_ttl = 86400
  354.  
  355.  
  356. ## Minimum TTL for negatively cached entries
  357.  
  358. #cache_neg_min_ttl = 60
  359. cache_neg_min_ttl = 5
  360.  
  361.  
  362. ## Maximum TTL for negatively cached entries
  363.  
  364. #cache_neg_max_ttl = 600
  365. cache_neg_max_ttl = 60
  366.  
  367.  
  368.  
  369. ##################################
  370. # Local DoH server #
  371. ##################################
  372.  
  373. [local_doh]
  374.  
  375. ## dnscrypt-proxy can act as a local DoH server. By doing so, web browsers
  376. ## requiring a direct connection to a DoH server in order to enable some
  377. ## features will enable these, without bypassing your DNS proxy.
  378.  
  379. ## Addresses that the local DoH server should listen to
  380.  
  381. # listen_addresses = ['127.0.0.1:3000']
  382.  
  383.  
  384. ## Path of the DoH URL. This is not a file, but the part after the hostname
  385. ## in the URL. By convention, `/dns-query` is frequently chosen.
  386. ## For each `listen_address` the complete URL to access the server will be:
  387. ## `https://<listen_address><path>` (ex: `https://127.0.0.1/dns-query`)
  388.  
  389. # path = "/dns-query"
  390.  
  391.  
  392. ## Certificate file and key - Note that the certificate has to be trusted.
  393. ## See the documentation (wiki) for more information.
  394.  
  395. # cert_file = "localhost.pem"
  396. # cert_key_file = "localhost.pem"
  397.  
  398.  
  399.  
  400. ###############################
  401. # Query logging #
  402. ###############################
  403.  
  404. ## Log client queries to a file
  405.  
  406. [query_log]
  407.  
  408. ## Path to the query log file (absolute, or relative to the same directory as the config file)
  409. ## Can be /dev/stdout to log to the standard output (and set log_files_max_size to 0)
  410.  
  411. # file = 'query.log'
  412. #file = "/media/alpe/375184d1-d126-403c-98bf-f15ed8cf3676/logs/dns/query.log"
  413. #file = "/media/tmpfs/dns-query.log"
  414. file = "/tmp/alpe/dns-query.log"
  415.  
  416.  
  417. ## Query log format (currently supported: tsv and ltsv)
  418.  
  419. format = 'tsv'
  420.  
  421.  
  422. ## Do not log these query types, to reduce verbosity. Keep empty to log everything.
  423.  
  424. # ignored_qtypes = ['DNSKEY', 'NS']
  425.  
  426.  
  427.  
  428. ############################################
  429. # Suspicious queries logging #
  430. ############################################
  431.  
  432. ## Log queries for nonexistent zones
  433. ## These queries can reveal the presence of malware, broken/obsolete applications,
  434. ## and devices signaling their presence to 3rd parties.
  435.  
  436. [nx_log]
  437.  
  438. ## Path to the query log file (absolute, or relative to the same directory as the config file)
  439.  
  440. # file = 'nx.log'
  441. #file = "/media/alpe/375184d1-d126-403c-98bf-f15ed8cf3676/logs/dns/nx.log"
  442. file = "/home/alpe/dnscrypt-proxy-linux_arm/nx.log"
  443.  
  444.  
  445. ## Query log format (currently supported: tsv and ltsv)
  446.  
  447. format = 'tsv'
  448.  
  449.  
  450.  
  451. ######################################################
  452. # Pattern-based blocking (blacklists) #
  453. ######################################################
  454.  
  455. ## Blacklists are made of one pattern per line. Example of valid patterns:
  456. ##
  457. ## example.com
  458. ## =example.com
  459. ## *sex*
  460. ## ads.*
  461. ## ads*.example.*
  462. ## ads*.example[0-9]*.com
  463. ##
  464. ## Example blacklist files can be found at https://download.dnscrypt.info/blacklists/
  465. ## A script to build blacklists from public feeds can be found in the
  466. ## `utils/generate-domains-blacklists` directory of the dnscrypt-proxy source code.
  467.  
  468. [blacklist]
  469.  
  470. ## Path to the file of blocking rules (absolute, or relative to the same directory as the config file)
  471.  
  472. # blacklist_file = 'blacklist.txt'
  473.  
  474.  
  475. ## Optional path to a file logging blocked queries
  476.  
  477. # log_file = 'blocked.log'
  478. #log_file = "/media/alpe/375184d1-d126-403c-98bf-f15ed8cf3676/logs/dns/blocked.log"
  479. log_file = "/home/alpe/dnscrypt-proxy-linux_arm/blocked.log"
  480.  
  481.  
  482. ## Optional log format: tsv or ltsv (default: tsv)
  483.  
  484. # log_format = 'tsv'
  485.  
  486.  
  487.  
  488. ###########################################################
  489. # Pattern-based IP blocking (IP blacklists) #
  490. ###########################################################
  491.  
  492. ## IP blacklists are made of one pattern per line. Example of valid patterns:
  493. ##
  494. ## 127.*
  495. ## fe80:abcd:*
  496. ## 192.168.1.4
  497.  
  498. [ip_blacklist]
  499.  
  500. ## Path to the file of blocking rules (absolute, or relative to the same directory as the config file)
  501.  
  502. # blacklist_file = 'ip-blacklist.txt'
  503.  
  504.  
  505. ## Optional path to a file logging blocked queries
  506.  
  507. # log_file = 'ip-blocked.log'
  508.  
  509.  
  510. ## Optional log format: tsv or ltsv (default: tsv)
  511.  
  512. # log_format = 'tsv'
  513.  
  514.  
  515.  
  516. ######################################################
  517. # Pattern-based whitelisting (blacklists bypass) #
  518. ######################################################
  519.  
  520. ## Whitelists support the same patterns as blacklists
  521. ## If a name matches a whitelist entry, the corresponding session
  522. ## will bypass names and IP filters.
  523. ##
  524. ## Time-based rules are also supported to make some websites only accessible at specific times of the day.
  525.  
  526. [whitelist]
  527.  
  528. ## Path to the file of whitelisting rules (absolute, or relative to the same directory as the config file)
  529.  
  530. # whitelist_file = 'whitelist.txt'
  531.  
  532.  
  533. ## Optional path to a file logging whitelisted queries
  534.  
  535. # log_file = 'whitelisted.log'
  536.  
  537.  
  538. ## Optional log format: tsv or ltsv (default: tsv)
  539.  
  540. # log_format = 'tsv'
  541.  
  542.  
  543.  
  544. ##########################################
  545. # Time access restrictions #
  546. ##########################################
  547.  
  548. ## One or more weekly schedules can be defined here.
  549. ## Patterns in the name-based blocklist can optionally be followed with @schedule_name
  550. ## to apply the pattern 'schedule_name' only when it matches a time range of that schedule.
  551. ##
  552. ## For example, the following rule in a blacklist file:
  553. ## *.youtube.* @time-to-sleep
  554. ## would block access to YouTube only during the days, and period of the days
  555. ## define by the 'time-to-sleep' schedule.
  556. ##
  557. ## {after='21:00', before= '7:00'} matches 0:00-7:00 and 21:00-0:00
  558. ## {after= '9:00', before='18:00'} matches 9:00-18:00
  559.  
  560. [schedules]
  561.  
  562. # [schedules.'time-to-sleep']
  563. # mon = [{after='21:00', before='7:00'}]
  564. # tue = [{after='21:00', before='7:00'}]
  565. # wed = [{after='21:00', before='7:00'}]
  566. # thu = [{after='21:00', before='7:00'}]
  567. # fri = [{after='23:00', before='7:00'}]
  568. # sat = [{after='23:00', before='7:00'}]
  569. # sun = [{after='21:00', before='7:00'}]
  570.  
  571. # [schedules.'work']
  572. # mon = [{after='9:00', before='18:00'}]
  573. # tue = [{after='9:00', before='18:00'}]
  574. # wed = [{after='9:00', before='18:00'}]
  575. # thu = [{after='9:00', before='18:00'}]
  576. # fri = [{after='9:00', before='17:00'}]
  577.  
  578.  
  579.  
  580. #########################
  581. # Servers #
  582. #########################
  583.  
  584. ## Remote lists of available servers
  585. ## Multiple sources can be used simultaneously, but every source
  586. ## requires a dedicated cache file.
  587. ##
  588. ## Refer to the documentation for URLs of public sources.
  589. ##
  590. ## A prefix can be prepended to server names in order to
  591. ## avoid collisions if different sources share the same for
  592. ## different servers. In that case, names listed in `server_names`
  593. ## must include the prefixes.
  594. ##
  595. ## If the `urls` property is missing, cache files and valid signatures
  596. ## must be already present; This doesn't prevent these cache files from
  597. ## expiring after `refresh_delay` hours.
  598.  
  599. [sources]
  600.  
  601. ## An example of a remote source from https://github.com/DNSCrypt/dnscrypt-resolvers
  602.  
  603. # [sources.'public-resolvers']
  604. # urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/public-resolvers.md', 'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md']
  605. # cache_file = 'public-resolvers.md'
  606. # minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
  607. # prefix = ''
  608.  
  609. ## Anonymized DNS relays
  610.  
  611. # [sources.'relays']
  612. # urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/relays.md', 'https://download.dnscrypt.info/resolvers-list/v2/relays.md']
  613. # cache_file = 'relays.md'
  614. # minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
  615. # refresh_delay = 72
  616. # prefix = ''
  617.  
  618. ## Quad9 over DNSCrypt - https://quad9.net/
  619.  
  620. # [sources.quad9-resolvers]
  621. # urls = ['https://www.quad9.net/quad9-resolvers.md']
  622. # minisign_key = 'RWQBphd2+f6eiAqBsvDZEBXBGHQBJfeG6G+wJPPKxCZMoEQYpmoysKUN'
  623. # cache_file = 'quad9-resolvers.md'
  624. # prefix = 'quad9-'
  625.  
  626. ## Another example source, with resolvers censoring some websites not appropriate for children
  627. ## This is a subset of the `public-resolvers` list, so enabling both is useless
  628.  
  629. # [sources.'parental-control']
  630. # urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/parental-control.md', 'https://download.dnscrypt.info/resolvers-list/v2/parental-control.md']
  631. # cache_file = 'parental-control.md'
  632. # minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
  633.  
  634.  
  635.  
  636.  
  637. #########################################
  638. # Servers with known bugs #
  639. #########################################
  640.  
  641. [broken_implementations]
  642.  
  643. # Cisco servers currently cannot handle queries larger than 1472 bytes, and don't
  644. # truncate reponses larger than questions as expected by the DNSCrypt protocol.
  645. # This prevents large responses from being received, and breaks relaying.
  646. # A workaround for the first issue will be applied to servers in list below.
  647. # Do not change that list until the bugs are fixed server-side.
  648.  
  649. broken_query_padding = ['cisco', 'cisco-ipv6', 'cisco-familyshield']
  650.  
  651.  
  652.  
  653.  
  654. ################################
  655. # Anonymized DNS #
  656. ################################
  657.  
  658. [anonymized_dns]
  659.  
  660. ## Routes are indirect ways to reach DNSCrypt servers.
  661. ##
  662. ## A route maps a server name ("server_name") to one or more relays that will be
  663. ## used to connect to that server.
  664. ##
  665. ## A relay can be specified as a DNS Stamp (either a relay stamp, or a
  666. ## DNSCrypt stamp), an IP:port, a hostname:port, or a server name.
  667. ##
  668. ## The following example routes "example-server-1" via `anon-example-1` or `anon-example-2`,
  669. ## and "example-server-2" via the relay whose relay DNS stamp
  670. ## is "sdns://gRIxMzcuNzQuMjIzLjIzNDo0NDM".
  671. ##
  672. ## !!! THESE ARE JUST EXAMPLES !!!
  673. ##
  674. ## Review the list of available relays from the "relays.md` file, and, for each
  675. ## server you want to use, define the relays you want connections to go through.
  676. ##
  677. ## Carefully choose relays and servers so that the are run by different entities.
  678. ##
  679. ## "server_name" can also be set to "*" to define a default route, but this is not
  680. ## recommended. if you do so, keep "server_names" short and distinct from relays.
  681.  
  682. # routes = [
  683. # { server_name='example-server-1', via=['anon-example-1', 'anon-example-2'] },
  684. # { server_name='example-server-2', via=['sdns://gRIxMzcuNzQuMjIzLjIzNDo0NDM'] }
  685. # ]
  686.  
  687.  
  688. ## Optional, local, static list of additional servers
  689. ## Mostly useful for testing your own servers.
  690.  
  691. [static]
  692.  
  693. # [static.'myserver']
  694. # stamp = 'sdns:AQcAAAAAAAAAAAAQMi5kbnNjcnlwdC1jZXJ0Lg'
  695.  
  696. # [static.'google']
  697. # stamp = 'sdns://AgUAAAAAAAAABzguOC44LjigHvYkz_9ea9O63fP92_3qVlRn43cpncfuZnUWbzAMwbkgdoAkR6AZkxo_AEMExT_cbBssN43Evo9zs5_ZyWnftEUKZG5zLmdvb2dsZQovZG5zLXF1ZXJ5'
  698. #[static.'cisco']
  699. # stamp = 'sdns://AQAAAAAAAAAADjIwOC42Ny4yMjAuMjIwILc1EUAgbyJdPivYItf9aR6hwzzI1maNDL4Ev6vKQ_t5GzIuZG5zY3J5cHQtY2VydC5vcGVuZG5zLmNvbQ'
  700. #[static.'cisco-ipv6']
  701. # stamp = 'sdns://AQAAAAAAAAAAD1syNjIwOjA6Y2NjOjoyXSC3NRFAIG8iXT4r2CLX_WkeocM8yNZmjQy-BL-rykP7eRsyLmRuc2NyeXB0LWNlcnQub3BlbmRucy5jb20'
  702.  
  703. [static.'cloudflare']
  704. stamp = 'sdns://AgcAAAAAAAAABzEuMC4wLjEgPaS3FjSkE8HO80qpbSWkAWNNTPNsOxM8dClOSOY3ASoSZG5zLmNsb3VkZmxhcmUuY29tCi9kbnMtcXVlcnk'
  705. [static.'cloudflare-ipv6']
  706. stamp = 'sdns://AgcAAAAAAAAAGVsyNjA2OjQ3MDA6NDcwMDo6MTExMV06NTMgPaS3FjSkE8HO80qpbSWkAWNNTPNsOxM8dClOSOY3ASoSZG5zLmNsb3VkZmxhcmUuY29tCi9kbnMtcXVlcnk'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement