avahi-resolve --name host-name ...
avahi-resolve-host-name host-name ...
avahi-resolve --address address ...
avahi-resolve-address address ...
Resolve one or more mDNS/DNS host name(s) to IP address(es) (and vice versa) using the Avahi daemon.
When passing -n, specify one or more fully qualified mDNS/DNS host name(s) (e.g. "foo.local") to resolve into IP addresses on the command line. When passing -a, specify one or more IP address to resolve into host names.
avahi-resolve-host-name is equivalent to avahi-resolve --name.
avahi-resolve-address is equivalent to avahi-resolve --address.
- -n | --name
Translate one or more fully qualified host names into addresses.
- -a | --address
Translate one or more addresses into fully qualified host names.
- -v | --verbose
Enable verbose mode.
When resolving a host name, look for IPv6 addresses exclusively.
When resolving a host name, look for IPv4 addresses exclusively.
- -h | --help
- -V | --version
Show version information.
The Avahi Developers <avahi (at) lists (dot) freedesktop (dot) org>; Avahi is available from http://avahi.org/
The man pages avahi-resolve-address(1) and avahi-resolve-host-name(1) are aliases of avahi-resolve(1).