May you please add alias for nslookup?

Ivan Voras ivoras at freebsd.org
Sat Oct 12 08:45:17 UTC 2013


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".

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 391 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131012/872ee3f0/attachment.sig>


More information about the freebsd-current mailing list