DNSmasq configuraton

Hi,
I installed and configured dnsmasq and I created a secondary DNS server on my network. How can I setup HA to use it’s own dns server?
Additionally, I have a pihole installed on another machine, is it possible to integrate the HA DNS with that pi-hole. I don’t want to create a backdoor for ads.
Thanks

hi
i used a dhcp server.(isc).
i remember dnsmasq is a dhcp server too.
and you could try to fix your ip under the host command line.

(sudo) cat /etc/network/interfaces
(sudo) nano /etc/network/interfaces