Mikrotik Pihole Unbound Troubleshooting

I have the MikroTik hEX S Gigabit RB760iGS. I am using Pihole and Unbound.

I’m trying to troubleshoot the Conditional forwarding of Pihole because Pihole can’t see the names of my devices. Pihole can only see ips of my devices.

I’m currently trying to run

dig @192.168.1.55

from my Pihole server (ethernet connection) but I get a timed out. I run dig from my laptop (wireless connection) and it works. Any idea why this might be?

Update: Just found out. For some devices, I get connection refused and there’s once device that did respond.

While I’m not quite sure why dig doesn’t always work, I did figure out the main problem I was trying to solve which was I needed pihole to show the hostnames. This post http://forum.mikrotik.com/t/yet-another-dhcp-to-dns-script/107005/1 and which links to this script https://github.com/tonoitp/mikrotik-dhcp-to-dns solved my issue.