Issue with bridge br0 DNS when I change the nameserver address 20.04

So basically I have an issue when I change my bridge br0 namerserver from 192.168.50.1 which points to a pfSense router, to my PiHole ad blocker. All clients get dhcp from the PiHole and are working as expected via DNS from the Pihole.

The PiHole is hosted on a qemu/kvm on a 24/7 Computer.

kvm Host: Kubuntu 20.04 Virt Manager 2.2.1

netplan-
network: version: 2 #renderer: NetworkManager renderer: networkd ethernets: enp4s0: dhcp4: false dhcp6: false bridges: br0: interfaces: [enp4s0] addresses: [192.168.50.70/24] gateway4: 192.168.50.1 nameservers: addresses: [192.168.50.1] parameters: stp: false forward-delay: 0 dhcp4: no dhcp6: no

This works fine ( not using the PiHole), but if I change:

nameservers: addresses: [192.168.50.10] 

which is the address of the Pihole DNS breaks

I did run a pcap, and I will not see any packets for dns as I would when I point to the GW.

KVM and bridging is new to me, so I must be missing a understanding of the configuration some how, and I hope to get a clue. Reading many of the posts similar to my issue did not seem to have the same issue where it is just the Host that was not working.

One clue that I see is when i use the command: route

when configured for the PiHole:

default _gateway 0.0.0.0 UG 0 0 0 br0

and when configured for the pfsense:

default pfsense.local 0.0.0.0 UG 0 0 0 br0

other then that, all the other routes are the same, and I can ping the PiHole.

It is like when I change the nameserver IP DNS just breaks, nothing leave the br0. Same if I were to use an IP like 8.8.8.8. I move it back to the GW of the pfSense, works.

Thoughts?

Much appreciated and best regards,

JC

7 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like