Fixed minour error.
Now using multicast DNS to resolve .local hosts.