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".
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:42 UTC