Replaced manual mDNS in favour of avahi