Python mDNS lookup
This is based on the Stackoverflow answer http://stackoverflow.com/a/35853322/185510.
Lookup on multiple hostnames:
mdnslookup raspberrypi.local hprinter.local
Output:
raspberrypi.local 192.168.1.24
hprinter.local 192.168.1.42
pip install mdns-lookup
tox