b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | config nextdns main |
| 2 | option enabled '1' |
| 3 | |
| 4 | # NextDNS custom configuration id (create on on https://nextdns.io). |
| 5 | # If not defined, this package will act as a non-logging, non-filtering |
| 6 | # DNS over HTTPS resolver. |
| 7 | # |
| 8 | #option config abcdef |
| 9 | |
| 10 | # Custom configurations can also be conditionally assigned to LAN hosts based |
| 11 | # their MAC address or subnet. The first matching host_config wins. If both |
| 12 | # host_config and config are defined, config is always placed last, as default |
| 13 | # option. |
| 14 | # |
| 15 | #list host_config 'da:c8:6d:b6:93:78=fedcba' |
| 16 | #list host_config '10.0.1.2/32=abc123' |
| 17 | #list host_config '10.0.3.0/24=def321' |
| 18 | |
| 19 | # Configure NextDNS cli client to serve DNS to other clients on the network. |
| 20 | option setup_router '1' |
| 21 | |
| 22 | # Expose LAN clients information in NextDNS analytics. |
| 23 | option report_client_info '1' |
| 24 | |
| 25 | # When enabled, use DNS servers located in jurisdictions with strong privacy laws. |
| 26 | # Available locations are: Switzerland, Iceland, Finland, Panama and Hong Kong. |
| 27 | option hardened_privacy '0' |
| 28 | |
| 29 | # Log individual queries to system log. |
| 30 | option log_queries '0' |