2 Pi-Hole in my LAN - How to use domain name

I have 2 pi-hole in my lan network using two different upstream dns.
Pi-hole -A Upstream - OpenDNS server
Pi-hole-B Upstream - Quad9 (filtered, DNSSEC)
In Advanced DNS settings I have Local network & IP address of my DHCP server in each Pi-hole.
For the domain name do I use xyz.com in both the Pi-hole?
Is it the correct way?