From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 10 03:10:19 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB787106566C for ; Tue, 10 Jul 2012 03:10:19 +0000 (UTC) (envelope-from avleen@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 45A2E8FC15 for ; Tue, 10 Jul 2012 03:10:19 +0000 (UTC) Received: by lbon10 with SMTP id n10so21021699lbo.13 for ; Mon, 09 Jul 2012 20:10:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WpKlqKlhv+bG4MppV/Tp8Cx6QjOFsg1mtfszUKVNj6k=; b=ksekx/W/j3n75vmy7Vs4WgVcHL9FIXIJjxPIuQxinZTRCmagfid7KIm7CaG4aCBpYx WmLBrrzFmy27TS4xbdEnETVobDiGI6Ep+0jC9HUNutuLKB8KQIYkZWZ5z16UPGs5hK8N jOY3D9lfAWDaxb+N3RfJtOW86/uai26x0j1pZ9klhsVvgU34AxvFhBag/w4ZqOBekFeE HBHeC0A769m6Y9mmMObbMNo77ebb0UnwfkqlMY5PSg+xoaM8ibIhw6tmwH7pZYw07ONG S2ItlTvR1+TcpAEEj8aK/eWnPmacOCMrmarFr4GgXkJj9adVtI4AnIigOkCeLyy/8ogl /taQ== MIME-Version: 1.0 Received: by 10.152.104.77 with SMTP id gc13mr36996872lab.31.1341889818072; Mon, 09 Jul 2012 20:10:18 -0700 (PDT) Received: by 10.112.76.225 with HTTP; Mon, 9 Jul 2012 20:10:18 -0700 (PDT) Received: by 10.112.76.225 with HTTP; Mon, 9 Jul 2012 20:10:18 -0700 (PDT) In-Reply-To: <20120710025619.GB90875@server.rulingia.com> References: <4FFA7980.4000707@FreeBSD.org> <4FFB46A4.5050504@FreeBSD.org> <1E29121E-62B1-4929-BB7B-4FCA5D893F51@exonetric.com> <86a9z8mxa1.fsf@ds4.des.no> <8D942592-3662-4FBA-BA61-2A010452BF70@exonetric.com> <863950mw53.fsf@ds4.des.no> <86885338-37D1-47FE-8DC6-45E9B4B806D7@exonetric.com> <86y5mslfso.fsf@ds4.des.no> <20120710025619.GB90875@server.rulingia.com> Date: Mon, 9 Jul 2012 20:10:18 -0700 Message-ID: From: Avleen Vig To: Peter Jeremy X-Mailman-Approved-At: Tue, 10 Jul 2012 04:26:50 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Hackers Subject: Re: Replacing BIND with unbound X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 03:10:20 -0000 On Jul 9, 2012 7:57 PM, "Peter Jeremy" wrote: > > On 2012-Jul-10 00:40:07 +0200, Dag-Erling Sm=F8rgrav wrote: > >They are sufficiently similar that writing a wrapper that supports a > >significant subset of dig's command-line option and uses drill as a > >backend shouldn't take more than an afternoon for a reasonably > >experienced programmer. > > I would further suggest that where a dig(1) option isn't emulated, the > fallback error message should refer the user to drill(1). > > >As for nslookup... it's been deprecated for a decade. > > But old fogies might still use it. Can I suggest that something along > the lines of the the following be installed as /usr/bin/nslookup: > > #!/bin/sh > echo "nslookup is no longer supported. Please see drill(1) or host(1)" >&2 > exit 1 This is a much better solution for users.