Date: Sat, 12 Oct 2013 10:44:56 +0200 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-current@freebsd.org Subject: Re: May you please add alias for nslookup? Message-ID: <l3b260$m6n$1@ger.gmane.org> In-Reply-To: <52DAE42E-7A58-4A38-9FF4-3DF51866057D@ancientrocklab.com> References: <52DAE42E-7A58-4A38-9FF4-3DF51866057D@ancientrocklab.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --kXrPrqLnM19S0aq5mhQ0ADrb3SfV8P8Rl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 12/10/2013 08:10, zhifeng hu wrote: > I am noticed that the nslookup will not appear by default in freebsd 10= =2E > but this is a very basic tools, we need it very much more than you thin= k. > would you please add alias for nslookup ? such as=20 > alias nslookup=3D"host -v" >=20 > NOT FORCE USER TO INSTALL dns/bind-tool=20 >=20 > It's not good for human use experiences. nslookup is a very different tool, it has an interactive mode which is not available in e.g. the "host" utility and a specific output format (scripts will break if they attempt to parse the output of host -v as if it is coming from nslookup). But I agree that something should be done - maybe a script which checks if /usr/local/bin/nslookup exists, then executes it, and if it doesn't exist then outputs a message explaning the user what has happened and optionally invoking "host" or "dig". --kXrPrqLnM19S0aq5mhQ0ADrb3SfV8P8Rl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iKYEARECAGYFAlJZDAlfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl bnBncC5maWZ0aGhvcnNlbWFuLm5ldDYxNDE4MkQ3ODMwNDAwMDJFRUIzNDhFNUZE MDhENTA2M0RGRjFEMkMACgkQ/QjVBj3/HSxUlgCgpA5ijlAiQZFllilt9ujuj/sb CB8AnRIhQ+/zQRhkFR+JeM3vFTgn6XmG =8ho+ -----END PGP SIGNATURE----- --kXrPrqLnM19S0aq5mhQ0ADrb3SfV8P8Rl--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?l3b260$m6n$1>