Getting a Pihole DNS VM working properly

I have a VM set up with Pihole installed within docker. It is set up properly and I can login to the web portal. The VM handles network requests from other VMs fine but doesn’t intercept any DNS requests. I assume this is due to Qubes firewall rules to propagate DNS requests. I have looked into this a bit but don’t have a good understanding of Qubes firewall rules. I think I would just need to modify one rule for port 53 DNS requests but not sure how to go about it.

Relevant project:

Solved. All I needed to do was set nameserver 127.0.0.1 in /etc/resolv.conf.