I want to use the AdGuard DNS server as my primary DNS server to filter Ads. Additionally, I want to define some static hosts on my local LAN, so I do not need to remember IPs and can swap out IPs without altering configured network shares and stuff. My setup is as follows:
Code: Select all
$> /ip/dns print
servers: 10.10.10.50
dynamic-servers: 88.134.230.33,88.134.230.97
use-doh-server:
verify-doh-cert: no
doh-max-server-connections: 5
doh-max-concurrent-queries: 50
doh-timeout: 5s
allow-remote-requests: yes
max-udp-packet-size: 4096
query-server-timeout: 2s
query-total-timeout: 10s
max-concurrent-queries: 100
max-concurrent-tcp-sessions: 20
cache-size: 2048KiB
cache-max-ttl: 1w
address-list-extra-time: 0s
cache-used: 46KiB
10.10.10.50 is the AdGuard DNS server, the dynamic DNS servers comes from my ISP.
I also defined some static DNS entries:
Code: Select all
$> /ip/dns/static print
Columns: NAME, ADDRESS, TTL
# NAME ADDRESS TTL
;;; defconf
0 router.lan 192.168.10.1 1d
1 core-router.lan 10.10.10.1 1d
2 commander 10.10.10.50 1d