PiHole - Omada-SDN does not use the IP of the Raspberry

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

PiHole - Omada-SDN does not use the IP of the Raspberry

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
22 Reply
Re:PiHole - Omada-SDN does not use the IP of the Raspberry
2024-01-31 18:17:48

  @lukass2000 

 

Sorry, I mistyped. The command was supposed to be:

 

dig @192.168.10.200 google.com

 

The @ means it will send the dns to the ip of your pihole. 

 

And yes, the cache is enabled on your instance of pihole. 

  0  
  0  
#14
Options
Re:PiHole - Omada-SDN does not use the IP of the Raspberry
2024-02-10 10:54:58

  @lukass2000 

 

Hello,

now I get the following result

  0  
  0  
#15
Options
Re:PiHole - Omada-SDN does not use the IP of the Raspberry
2024-02-10 20:22:15

  @lukass2000 

 

Based on this result, I want to make sure the Pi is on 192.168.10.200? In this response the DNS query was answered by 192.168.10.5

 

In the meantime, from the site dashboard, follow these steps:
 

Settings > Services > DNS Proxy > check Enable (and enter the Pi details)

  0  
  0  
#16
Options
Re:PiHole - Omada-SDN does not use the IP of the Raspberry
2024-02-10 20:42:13
It's a bad idea to.point the routers DNS back into the internal LAN network. A better configuration is to set your PiHole's IP Address in your DHCP config. Set up and IP alias on your pihole so it has two UP addresses and use these as the primary and secondary DNS servers under the omada DHCP settings. Many devices will round robin between the primary and secondary servers, even though this isn't how they are supposed to be used. Your going to have a single point of failure in your network somewhere, so don't get hung upon pointing the primary and secondary at the same device. Point your routers DNS to a secure provider
  0  
  0  
#17
Options
Re:PiHole - Omada-SDN does not use the IP of the Raspberry
2024-02-11 07:57:28 - last edited 2024-02-11 08:01:16

  @BLTplays 

I assigned a fixed IP for the Raspberry in Omada and therefore PiHole now has the fixed IP 192.168.10.5 ;)

 

The DNS setting to change about
Settings > Services > DNS Proxy > check Enable (and enter the Pi details)

I don't think it's that good?
So all traffic is then routed through it, or?
However, only the traffic from one VLAN should be filtered :)
 

 

@Tescophil 
I do not understand it entirely?

....A better configuration is to set your PiHole's IP Address in your DHCP config. Set up and IP alias on your pihole so it has two UP addresses and use these as the primary and secondary DNS servers under the omada DHCP settings....

Didn't I do it that way?


 

 

Seen like that, everything works :)
The only problem is, which is not always used, but occasionally 1.1.1.1 is used as a DNS server,

however, this DNS should only be used if 192.168.10.5 is not available.

 

Thnaks :)

 

  0  
  0  
#18
Options
Re:PiHole - Omada-SDN does not use the IP of the Raspberry
2024-02-13 15:10:23

  @lukass2000 

 

Like I said, create an IP alias for the Pi so it has two (2) IP address, eg. 192.168.10.5 and 192.168.10.6, then use these as the Primary AND Secondary DNS servers in your DHCP configuration.

 

Lots of devices round robin between primary and secondary servers.

 

Some devices use their own DNS if a secondary is not set

 

Some devices ignore the DHCP settings all together and just use their own (yes Google, I'm looking at you...)

  0  
  0  
#19
Options
Re:PiHole - Omada-SDN does not use the IP of the Raspberry
2024-02-16 15:48:14

  @Tescophil 

 

That wouldn't be an advantage.
If the Raspberry fails, the network would be “dead” :(

Therefore, another (external) server should be entered as the secondary DNS, which if the Raspberry fails, intervenes.

 

  0  
  0  
#20
Options
Re:PiHole - Omada-SDN does not use the IP of the Raspberry
2024-02-16 15:56:15 - last edited 2024-02-16 15:56:42

Glad to see you got it working, I believe the reason pihole is occasionally not used is due to the delay from a first time lookup on the pi. Once it is cached in pihole it will probably beat cloudflare.

  0  
  0  
#21
Options
Re:PiHole - Omada-SDN does not use the IP of the Raspberry
2024-02-16 16:11:32

  @lukass2000 

 

If you set an alternate secondary DNS then it's going to get used. possibly up to 50% of the time, so it defeats the object of using network filtering in the first place.

 

Like I said. don't get hung up on this single point of failure stuff.., your going to have multiple single points of failure in your network anyway... , the router for a start...

  0  
  0  
#22
Options
Re:PiHole - Omada-SDN does not use the IP of the Raspberry
2024-02-16 16:17:53
Not true. Please don't spout nonsense here.
  0  
  0  
#23
Options
Related Articles