dnscrypt-proxy/dnscrypt-proxy/example-forwarding-rules.txt

37 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

2018-01-17 12:34:05 +01:00
##################################
# Forwarding rules #
##################################
## This is used to route specific domain names to specific servers.
2018-04-21 20:21:11 +02:00
## The general format is:
## <domain> <server address>[:port] [, <server address>[:port]...]
## IPv6 addresses can be specified by enclosing the address in square brackets.
2018-01-17 12:34:05 +01:00
## In order to enable this feature, the "forwarding_rules" property needs to
2018-04-21 20:21:11 +02:00
## be set to this file name inside the main configuration file.
2018-01-17 12:34:05 +01:00
## Blocking IPv6 may prevent local devices from being discovered.
## If this happens, set `block_ipv6` to `false` in the main config file.
2020-11-25 01:39:11 +01:00
## Forward *.lan, *.local, *.home, *.home.arpa, *.internal and *.localdomain to 192.168.1.1
# lan 192.168.1.1
# local 192.168.1.1
# home 192.168.1.1
# home.arpa 192.168.1.1
# internal 192.168.1.1
# localdomain 192.168.1.1
# 192.in-addr.arpa 192.168.1.1
## Forward queries for example.com and *.example.com to 9.9.9.9 and 8.8.8.8
# example.com 9.9.9.9,8.8.8.8
## Forward queries to a resolver using IPv6
# ipv6.example.com [2001:DB8::42]:53
## Forward queries for .onion names to a local Tor client
## Tor must be configured with the following in the torrc file:
## DNSPort 9053
## AutomapHostsOnResolve 1
# onion 127.0.0.1:9053