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