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
Dependencies
No port depends on this one.