raspberry .local domain code example Example: how to use mdns in raspberry pi sudo apt-get install avahi-daemon