Spyke

Help to troubleshoot a pihole (with unbound)...

Hi guys!

So, it seems I'm getting again stuck with my pihole, seems it might not resolve domains I know that are new to it... So, if I try to visit the website from my browser (firefox or ungoogle chromium), it gets a DNS failure. Same with a nslookup. But if I connect to the pihole and do a: dig saigoneer.com @127.0.0.1 -p 5335 I get the full response and resolution. But even in the pihole, attempting nslookup saigoneer.com will fail. Any idea what can I try next?

Thanks!

View original on lemmy.world
feddit.de

Have you checked if you're rate limited? I was getting rate limited while downloading games from steam which took me several hours to debug.

Not sure if this is your problem but it might be a thing to check out.

3
lemmy.world

Rate limited...by whom? I'm using unbound, so I'm not forwarding my DNS requests to my ISP.

1

By pihole. Iirc the default limit is 1000 requests per minute

1
lemmy.world

I use linux, yeah. nameserver is 127.0.0.53 (?). search is pointing to the pihole server.

1
Alvaroreply
social.graves.cl

@[email protected] Ubuntu? What happens if you manually change resolv to the up of your pinhole? I remember Ubuntu has this silly resolvconfd that makes everything more confusing

2
lemmy.world

Sorry...what do you mean changing the resolv to the up of the pihole? I'm a bit lost here 😅

1

@[email protected] So what I suspect happens is that you have your pihole server running, but your computer is not using it and instead is querying 1.1.1.1 or other default DNS server.

So what I was thinking is that if that is the case, you can force your computer to use your pihole by editing /etc/resolv.conf to have your pihole's IP as a nameserver.

1

@[email protected] Ubuntu? What happens if you manually change resolv to the up of your pinhole? I remember Ubuntu has this silly resolvconfd that makes everything more confusing

2
quex.cc

is your router's dns definitely pointed to the pihole and was the router rebooted after that was set?

2
lemmy.world

Try with dig to check what DNS you are using. And check if you have support for both IPv4 and IPv6.

1

I have purposely disabled IPv6 everywhere. Router, Pihole etc. What do you mean which DNS am I using? The computer failing to resolve, or the Pihole that successfully resolves with dig, but somehow fails to actually resolve it to the pihole request/requesting computer?

2

Welp...Not sure what was wrong, but seems to now be resolving again. I...restored a few previous backups to no avail, rebooted to no avail...and after just giving up and upgrading, and rebooting...now it seems to work again. And I still have no idea how to troubleshoot this if it ever happens again :(

1

This is the reason I stopped unbound. My unbound worked great for years. Suddenly I got this weird issue that was no one could understand why. And after a week of trying to trouble it just decided to work and kept going happily.

3

You reached the end

Help to troubleshoot a pihole (with unbound)... | Spyke