avahi-resolve

Translate between host names and IP Addresses. More information: <https://www.avahi.org/>.

Install

All systems
curl cmd.cat/avahi-resolve.sh
Debian Debian
apt-get install avahi-utils
Ubuntu
apt-get install avahi-utils
Alpine
apk add avahi
Arch Arch Linux
pacman -S avahi
image/svg+xml Kali Linux
apt-get install avahi-utils
CentOS
yum install avahi-tools
Fedora
dnf install avahi-tools
Windows (WSL2)
sudo apt-get update sudo apt-get install avahi-utils
Raspbian
apt-get install avahi-utils
Docker
docker run cmd.cat/avahi-resolve avahi-resolve powered by Commando

Translate between host names and IP Addresses. More information: <https://www.avahi.org/>.

  • Resolve a local service to its IPv4:
    avahi-resolve -4 --name service.local
  • Resolve an IP to a hostname, verbosely:
    avahi-resolve --verbose --address IP

© tl;dr; authors and contributors