I’m using a Pi-hole DNS server in my home network to block advertisements and malicious hosts.
Here is my network configuration:
- My internal home network is on 192.168.34.xxx
- Network Gateway router (Model TL-R470T+) is at 192.168.34.1
- Pi-hole DNS server is at 192.168.34.101
On my macbook, whenever I connect to my Wifi network, the DNS tab automatically shows this:
Where did the 2 other entries come from? I have only added one entry for DNS in my router configuration page:
Even running scutil –dns gives me the DNS servers being used.
Due to this, my DNS requests are not even hitting my 192.168.34.101 server but instead going to 192.168.34.1 I think. Assuming that a mac does not do its own DNS resolution from apple (?)
If I add the DNS explicitly in mac wifi settings, the DNS requests are then hitting my DNS server. How do I stop my gateway resolving the DNS requests without using my DNS server?
Doing the above works, but it is not the correct solution. How do I make my macbook use my DNS server without specifying explicitly?