Made this work with a new version of mdns