net/gethost 0.03nb1 NetBSD
Hostname and IP resolver for testing /etc/hosts and nsswitch.conf
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Categories
- net
- Package size
- 6.4 KiB, 13.0 KiB installed
Description
gethost does hostname and IP lookups. It supports IPv6. It uses standard libraries and it doesn't necessarily use DNS resolver only. So it is useful for troubleshooting /etc/hosts, for example. gethost can also time each lookup to show the elapsed time in seconds. Multiple lookups can be done on one command-line.
Install
Binary package:
pkgin install gethost
From pkgsrc:
cd /usr/pkgsrc/net/gethost && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.03nb1 |
| NetBSD 10.1 aarch64 | 0.03nb1 |
| SmartOS / illumos x86_64 | - |
| macOS 15 arm64 | 0.03nb1 |
Dependencies
No port depends on this one.