DietPi-Login DNS Resolver Not Working

So is it .1 or .111?

So you set your DNS to the fritzbox, but to what DNS server is the fritzbox dispatching your DNS requests? Did you change any DNS settings on the fritzbox or do you use your ISPs DNS server?

IP Adress from the main Fritzbox 192…1
IP-Adress from the second Fritzbox 192…45
DNS Server 192…111, but now i have switched to 192…1, because i thought it´s better for the installation.
I have no DNS settings changed. I use the basic settings.

When it still worked before the reinstallation, I had set the Diet PI with Pihole as the DNS server. Before the reinstallation it had the IP 192…84, but now it was assigned 192…111. I set the IP address to static and allowed port sharing.

ok for clarification and how it should work

Router 192.168.x.1
DietPi 192.168.x.111

The following settings must be made

FritzBox:

DHCP server setting > DNS > 192.168.x.111

DietPi

Local network IP settings > STATIC (not DHCP)
local IP address 192.168.x.111
gateway 192.168.x.1
dns 9.9.9.9

Done

Do not point DNS for a device hosting PiHole to itself. Why? To avoid exactly this behavior. Always use a global public DNS server on the system hosting PiHole or AGH.

what should be the benefit of this setting?

1 Like

It works.

Thank You very much.

You made my day

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.