If you'd be using libvirt
, the following may also be relevant:
In your case, the "global" dnsmasq from that linked text is your Pi-hole.
To apply the suggested configuration to your "global" dnsmasq/Pi-hole, you could switch Pi-hole's Interface settings under Settings | DNS to Bind only to interface <interface-name>
.