Skip to content

Commit

Permalink
Update reference configuration file in the docs (#480)
Browse files Browse the repository at this point in the history
To prevent the warning:

> net prefix tcp is deprecated, using tcp+udp as default fallback
  • Loading branch information
PeterDaveHello authored and 0xERR0R committed Apr 3, 2022
1 parent 75bd9f3 commit c4ed82f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ conditional:
rewrite:
example.com: fritz.box
mapping:
fritz.box: udp:192.168.178.1
lan.net: udp:192.168.178.1,udp:192.168.178.2
fritz.box: 192.168.178.1
lan.net: 192.168.178.1,192.168.178.2

# optional: use black and white lists to block queries (for example ads, trackers, adult pages etc.)
blocking:
Expand Down Expand Up @@ -126,7 +126,7 @@ caching:
# optional: configuration of client name resolution
clientLookup:
# optional: this DNS resolver will be used to perform reverse DNS lookup (typically local router)
upstream: udp:192.168.178.1
upstream: 192.168.178.1
# optional: some routers return multiple names for client (host name and user defined name). Define which single name should be used.
# Example: take second name if present, if not take first name
singleNameOrder:
Expand Down Expand Up @@ -183,7 +183,7 @@ httpPort: 4000
#certFile: server.crt
#keyFile: server.key
# optional: use this DNS server to resolve blacklist urls and upstream DNS servers. Useful if no DNS resolver is configured and blocky needs to resolve a host name. Format net:IP:port, net must be udp or tcp
bootstrapDns: tcp:1.1.1.1
bootstrapDns: tcp+udp:1.1.1.1
# optional: Drop all AAAA query if set to true. Default: false
disableIPv6: false
# optional: if path defined, use this file for query resolution (A, AAAA and rDNS). Default: empty
Expand Down

0 comments on commit c4ed82f

Please sign in to comment.