the question says it all.
Can someone please tell me if that is possible and how?
I already have the IP Addresses and the MAC Addresses of the devices I want the bonjour name from...
Assuming you're looking for machines in the .local domain and your mDNS server listens on the default reserved IP of 224.0.0.251
, port 5353 you can perform a reverse lookup with dig in the same way you'd refer to a unicast hostname:
dig -x 192.168.1.12 @224.0.0.251 -p 5353
Where 192.168.1.12
is the IP you want to check out.