2018-02-27 14:42:14 +00:00
|
|
|
##################################
|
|
|
|
# Forwarding rules #
|
|
|
|
##################################
|
|
|
|
|
|
|
|
## This is used to route specific domain names to specific servers.
|
2018-05-23 19:13:20 +00: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-02-27 14:42:14 +00:00
|
|
|
|
|
|
|
## In order to enable this feature, the "forwarding_rules" property needs to
|
2018-05-23 19:13:20 +00:00
|
|
|
## be set to this file name inside the main configuration file.
|
2018-02-27 14:42:14 +00:00
|
|
|
|
2019-12-06 21:25:30 +00:00
|
|
|
## Blocking IPv6 may prevent local devices from being discovered.
|
|
|
|
## If this happens, set `block_ipv6` to `false` in the main config file.
|
|
|
|
|
|
|
|
## Forward *.lan and *.local to 192.168.1.1
|
|
|
|
# lan 192.168.1.1
|
|
|
|
# local 192.168.1.1
|
|
|
|
|
2018-05-23 19:13:20 +00:00
|
|
|
## 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
|
2019-12-06 21:25:30 +00:00
|
|
|
|