Skip site navigation (1)Skip section navigation (2)
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

[-- Attachment #1 --]
On 12/10/2013 08:10, zhifeng hu wrote:
> I am noticed that the nslookup will not appear by default in freebsd 10.
> but this is a very basic tools, we need it very much more than you think.
> would you please add alias for nslookup ? such as 
> alias nslookup="host -v"
> 
> NOT FORCE USER TO INSTALL dns/bind-tool 
> 
> 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".


[-- Attachment #2 --]
-----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-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?l3b260$m6n$1>