Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 21521

General • Re: IP DNS QUESTION

$
0
0
1. The DHCP server will advertise 10.44.44.1 and 1.1.1.1 as DNS servers to the clients. Clients will use the advertised IPs to try and resolve domain names directly. No cache will be saved in the router.

2. The DHCP server will advertise 192.168.88.1 (itself) as a DNS server to the clients. Clients will use the router's IP to try and resolve domain names. The router itself will receive the DNS request, and if it does not have the answer in its cache, it will forward the request to its DNS servers, which are 10.44.44.1 and 1.1.1.1. Then, it will save the response in its cache and send the reply to the client that made the request.

3. Since dns-server="", the DHCP server will advertise the DNS servers from ip dns servers=10.44.44.1,1.1.1.1. Clients will use the advertised IPs to try and resolve domain names directly. No cache will be saved in the router.

4. I'm not sure, but I think it will not work. In this case, no DNS server will be advertised to clients, so they will not be able to resolve domain names.


I personally use the second approach. My router has the following DNS servers configured: 1.1.1.1, 1.0.0.1, 8.8.8.8, 8.8.4.4, and 9.9.9.9.
All devices connected to my network receive the router's IP from the DHCP server as DNS server, which in my case is 10.0.0.1. If the request is already in my router's cache, the response to the client is instant. If it is not in the cache, my router requests the response from one of the configured DNS servers, saves it in its cache, and then sends it to the client.

Statistics: Posted by raelcx — Wed Mar 12, 2025 7:59 pm



Viewing all articles
Browse latest Browse all 21521

Trending Articles