MDNS/Bonjour printer finder

With the ever growing number of Apple devices here at Thayer School, Bonjour is quickly becoming a critical protocol of our I.T. infrastructure.

To say the least, Bonjour is not designed for an enterprise environment. Sill, we advertise our printers with it in an effort to accommodate Apple users.

Here is a script I wrote that will discover which printers are currently advertised on the network. We use it along with a Nagios check to make sure that our printers are present within the Bonjour noise. Writing it took me through the meanders of MDNS in Python & on Linux with multiple vlans. Let’s just say non-trivial.

Downloads

find_mdns_printers_1.0.tar.gz

Sample output