From owner-freebsd-current@FreeBSD.ORG Sat Oct 12 09:09:07 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 451C260D; Sat, 12 Oct 2013 09:09:07 +0000 (UTC) (envelope-from zf@ancientrocklab.com) Received: from imap3-1.ox.registrar-servers.com (imap3-1.ox.registrar-servers.com [198.187.29.241]) by mx1.freebsd.org (Postfix) with ESMTP id 1C85D2246; Sat, 12 Oct 2013 09:09:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by oxmail.registrar-servers.com (Postfix) with ESMTP id E59A42A007A; Sat, 12 Oct 2013 05:09:05 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap3.ox.registrar-servers.com Received: from oxmail.registrar-servers.com ([127.0.0.1]) by localhost (imap3.ox.registrar-servers.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9GBcYf7Tnd1H; Sat, 12 Oct 2013 05:09:05 -0400 (EDT) Received: from [192.168.88.50] (unknown [192.184.94.47]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by oxmail.registrar-servers.com (Postfix) with ESMTPSA id ED1EA2A006A; Sat, 12 Oct 2013 05:09:04 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: May you please add alias for nslookup? From: zhifeng hu In-Reply-To: Date: Sat, 12 Oct 2013 17:09:01 +0800 Content-Transfer-Encoding: quoted-printable Message-Id: <6AED7CCF-6A89-422D-9411-3AE6F26227CE@ancientrocklab.com> References: <52DAE42E-7A58-4A38-9FF4-3DF51866057D@ancientrocklab.com> To: Ivan Voras X-Mailer: Apple Mail (2.1510) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Oct 2013 09:09:07 -0000 OK=EF=BC=8C I am system administrator, I manage a server cluster for = years, i really need nslookup tools to diagnostic the network health. i = thought there be many more people here will be in trouble. Who will be affected by this change, may be the system administrators. = may be the normal users. After upgraded their system or reinstall system, they found their lovely = tools disappeared. Every changes should be clear and help people out the trouble. No trouble,no Suffering please. On Oct 12, 2013, at 4:44 PM, Ivan Voras wrote: > 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=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. >=20 > 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". >=20 zhifeng hu