PiHole - Omada-SDN does not use the IP of the Raspberry
![](/avatar/avatar-8.png)
Hello,
Would like to add a Raspberry Pi with PiHole to my Omada SDN.
I have now entered the IP of the Raspberry as the primary DNS and the cloudflare DNS server as secondary.
If I remove the Cloudflare DNS server everything works fine.
However, if the Cloudflare DNS is entered as secondary, this DNS server is always used and not the IP of the Raspberry
What can I do so that the IP of the Raspberry is preferred?
Thanks :)
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
Hi,
no one here who uses Omada SDN with PiHole?
This is a pity :(
- Copy Link
- Report Inappropriate Content
Hi :)
What information is needed?
The hardware?
Use the Follow
Controller - OC200 Controller Version 5.12.9
Router - ER7206
Switch - SG2218 2x
AP - ERP245 2x
Raspberry Pi 3b with PiHole 5.17.3
Thanks :)
- Copy Link
- Report Inappropriate Content
Hi @lukass2000
Thanks for posting in our business forum.
lukass2000 wrote
Hi :)
What information is needed?The hardware?
Use the Follow
Controller - OC200 Controller Version 5.12.9
Router - ER7206
Switch - SG2218 2x
AP - ERP245 2x
Raspberry Pi 3b with PiHole 5.17.3
Thanks :)
So how do you test this out? How do you draw this conclusion? Do you Wireshark and see how everything works behind the scenes?
We don't need your models as they don't matter in this case.
And, if you want to point to the DNS server, what would be the point in assigning 1.1.1.1? Are you worried about your server being down?
I set up both pi-hole and adg at home and they are located in different IPs so I don't use a public one. I can understand why you would do this. But the pi-hole would request the upstream so there is no point in getting a second one if your goal is to get the ad block.
Failsafe is OK. But I am more into the way/method you get the conclusion it only goes to the second DNS server.
- Copy Link
- Report Inappropriate Content
Yes, the secondary DNS entry (i.e. 1.1.1.1) should step in if, e.g. the Raspberry fails.
That's how it's supposed to be, or not?
It would be bad if the whole family no longer had internet because PiHole no longer works ;)
I use Ubuntu and there I can use "$ resolvectl status" to find out which DNS server is in use.
But I can also call this website in the browser, or any other website with lots of advertising then you'll notice right away whether the advertising is blocked or not.
If this is blocked, everything runs via the primary DNS, is nothing blocked, 1.1.1.1 is in use ;)
- Copy Link
- Report Inappropriate Content
I have setup pihole this exact way and it works fine for me. Try going to Settings > Services > DNS Proxy and input the pihole IP there. My guess is that maybe pihole is taking too long to respond so a device fails over to the cloudflare ip?
- Copy Link
- Report Inappropriate Content
@BLTplays
Is there any way to speed up access?
Which Raspberry model do you use?
I've read that even a Raspberry Pi 1 should be enough for PiHole.
Surely a 3b should be enough?
- Copy Link
- Report Inappropriate Content
I run it as both a pi3b (primary dns) and proxmox container (secondary dns). Does your pihole have caching enabled? Responses from the pi should be much quicker once the pi grabs the result for the first time and caches it.
When you use the browser and go to website you previously mentioned, do you see that the pihole is receiving the queries in the first place? Also, does resolv.conf have the ip of the pihole?
As a nuclear option, you could use the router as a dns server and have the router use the pihole as the upstream dns. If you go this route, pihole will only see the router as its only client, and would therefor loose a lot of the granularity of pihole.
- Copy Link
- Report Inappropriate Content
@BLTplays
yes, resolv.conf have the ip of the pihole.
Didn't change anything with caching.
If that's not enabled by default, surely that's disabled?
Where can i enable the PiHole caching?
Thanks :)
- Copy Link
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
![](/avatar/avatar-8.png)
Information
Helpful: 0
Views: 2204
Replies: 22
Voters 0
No one has voted for it yet.