Dns resolution is wonky

I believe I am seeing a LOOP issue.. when configured with Google DNS I get resolution. When only configured with unbound (127.0.0.1#5335) I start to see high numbers of "Maximum number of concurrent DNS queries reached (max: 150)" in my logs and inability to resolve domains.

I am running two instances of pihole on separate hardware. router, I believe to be configured correctly.. Router is Mikrotik.

/ip dns
set servers=10.167.0.8,10.167.0.12
/ip dns static
add address=10.167.0.1 comment=defconf name=router.lan

/ip dhcp-server network
add address=10.167.0.0/24 dns-server=10.167.0.8,10.167.0.12 domain=garyeterry.com gateway=10.167.0.1 ntp-server=10.167.0.1

https://tricorder.pi-hole.net/Jne4uUsu/

Seems like you are affected by a DNS loop created between your upstream unbound and Pi-hole. For a complete background, see WARNING: Raspbian October 2021 release bullseye + unbound .

To fix this, try

  1. Edit file /etc/resolvconf.conf and comment out the last line which should read:

unbound_conf=/etc/unbound/unbound.conf.d/resolvconf_resolvers.conf

  1. Delete the unwanted unbound configuration file:

sudo rm /etc/unbound/unbound.conf.d/resolvconf_resolvers.conf

  1. Restart unbound:

sudo service unbound restart

Thanks, that appears to have fixed the issue.

It was as if the unbound was being DOS attacked by my pihole server.. Not pleasant..

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