I had been following a tutorial on how to setup Pi Hole using Docker on Ubuntu 20.04. I plan on getting a raspberry Pi for the final setup but wanted to test out first.
I have everything setup and running in the Docker container. I can sign into the pi hole and ping various websites, I can access the interface online and block websites, etc. I believe everything is setup correctly on that end. My issue arrises when I try and use the Pi Hole as my DNS server. I configured my Nighthawk C7000v2 (I think its been renamed the AC1900, now not sure) to use manual DNS and input the IP address of my pi. However, by default it includes 2 IPv6 DNS servers that I cannot figure out how to disable. I believe my computers use this default service because the only way I can get queries on my pi dashboard is by signing into the docker container and using vslookup. I tested this out by trying to use openDNS as my default DNS provider but the same issue arose, so I think the issue is my router. I've tested this on al Linux, Mac, and Windows computer all have the same issue.
Has any one experienced this issue before and have any suggestions?
Alternatively, Do I just need to get a new router in order to use pi hole and if so are there any recommendations for routers that are actually compatible lol?
How did you configure your router to make use of Pi-hole, as upstream or as local DNS server, or both?
Run from a client, what is the output of:
nslookup pi.hole
nslookup flurry.com
Also, please upload a debug log and post just the token URL that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:
I believe I set it up upstream only. For example when I was testing openDNS, I signed into my router and updated the setting in there from 'automatic' DNS from ISP to the primary and secondary IPv4 addresses for openDNS. However, after I flush/ renew I find 4 IP address in my /etc/resolv.conf: the 2 IPv4 I specified for openDNS and then 2 IPv6 which I don't know where they are coming from.
An image of the output from the commands should be attached.
Sorry about that, I'm not super familiar with all of this. Just trying to figure it out haha. Though I believe this has shown (at least a portion of) my problem.
Your above nslookup results show that the client you've run it on is using Pi-hole for DNS for this request (as only Pi-hole knows to resolve pi.hole), and it also shows that Pi-hole is blocking flurry.com as expected.
However, the 172.17.0.2 IPv4 address of your server running Pi-hole is the Docker internal IP of Pi-hole's container.
Normally, Docker would strictly isolate that address from being accessible outside of Docker, i.e. your client should not have been able to contact Pi-hole using that 172.17.0.2 at all.
From your debug log, it would also seem that you haven't configured the server's local, private IPv4 address for Pi-hole's container:
Thanks for all the help, I think I’m going to wait to set it up until I can actually get my hands on a raspberry pi, that seems a little more straight forward. Thanks again for all of you help, I really appreciate it!
TL;DR why learn to VM Pi-Hole? You will need a new skillset when you switch. An easier skillset.
I got a Pi Zero 2 by asking to be emailed when it was available.
All you need is a pi Zero W; which I used until:
$15.00 US plus a little shipping.
So many people are trying to VM this on something that pulls ~140 watts in a VM when they could spend a month's worth of wattage on a cheap Pi.
Okay, you have skills.
I'm not going to lie: I have a Dell 670 that I play on with many distros of Linux and. But it pulls 145 watts an hour under, almost, no load.
But I'm replying on a 11th gen Intel with a 45 watt power supply. Yes, it charges with 45 watts...
Stop VMing Pi-Hole...
I would love to get a Pi but I cannot find any of them available online or in stores near me. I figured I could at least try and VM the pi hole for a start.
Idk what your deal is man but you got a lot of anger coming off. You need to chill out. We’re all trying to learn here and frankly you don’t need to be here
You can find a Pi store and most will email you when they get, whatever you want, it in stock. Just got to be quick when you get the email.
There are certified retailers at Raspberry Pis website.
I admitted I waste energy on an old, Dell dual Xeon...
What I should have emphasized/made more clear is:
It takes about 3 week on a waiting list and all PIs will handle Pi-Hole. On top of that I think it would be easier to just dedicate something to learning and then transfer to something cheaper and from the background of dedicated.
I do tend so read like I'm attacking, but I'm just trying to get information out.