...
- You do not configure any DNS servers on the "GW" DHCP server network configuration- the device will forward DNS server received from `ISP` to `LAN` devices;
- You configure DNS servers on the "GW" DHCP server network configuration- the device will give configured DNS servers to `LAN` devices ( also /ip dns set allow-remote-requests=yes should be enabled);
- "dns-none" configured under DNS servers on "GW" DHCP server network configuration - the device will not forward any of the dynamic DNS servers to `LAN` devices;
...
Code Block | ||||
---|---|---|---|---|
| ||||
[admin@MikroTik] > ip dhcp-client set 0 use-peer-dns=no [admin@MikroTik] > ip dns set servers=10.1.3.5 [admin@MikroTik] > ip dns print servers: 10.1.3.5 dynamic-servers: 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 cache-used: 21KiB |
Tip |
---|
When DNS server allow-remote-requests are used make sure that you limit access to your server over TCP and UDP protocol port 53. |