From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 10 07:16:24 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by hub.freebsd.org (Postfix) with ESMTP id 2C9A51065670 for ; Tue, 10 Jul 2012 07:16:24 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from opti.dougb.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 7B17A14E82B; Tue, 10 Jul 2012 07:16:23 +0000 (UTC) Message-ID: <4FFBD6C7.2080008@FreeBSD.org> Date: Tue, 10 Jul 2012 00:16:23 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120621 Thunderbird/13.0.1 MIME-Version: 1.0 To: Peter Jeremy 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> In-Reply-To: <20120710025619.GB90875@server.rulingia.com> X-Enigmail-Version: 1.4.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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 07:16:24 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 07/09/2012 19:56, Peter Jeremy wrote: > On 2012-Jul-10 00:40:07 +0200, Dag-Erling Smørgrav > 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). IMO we don't need a wrapper for drill. For most people, just substituting 'drill' for 'dig' is enough. For more complex stuff people really need to learn the new tool, or install bind-tools. >> 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 You have no idea how long I've wanted to do that. :) - -- Change is hard. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBCAAGBQJP+9bHAAoJEFzGhvEaGryEd9YIAL/A71XjQUC2aXZV36m4nFJ6 sGqfpeVcP/AjaF67wld1WukcrKxqqjmIQATlUna3m6L5t0exNGy4y3Udqmr5eOeo U6p/qYyJ2xkaPz+GnmcO6ygi4uWa0CwzbH5/jfprRSrCQuk7PZzRC0FvNsqqQcyc PtwEBmxTHzURSE6CaB19EuYKYQe+hLecSZlwVlipG4IaEmqmczpdjHnE1EHWiGCU 2uIEkJRradqXknAUTxfomAfM8ARiK2AQGT3TKRJuG8ApcF2CpoJkCaFKn73yxvn8 DQ3ENpSKkkRn8n7t/a9rOUQ0gbl9GP3dXpX/1Kw0dlq21LsGn5aOIy+yvOUw3bw= =Yrv4 -----END PGP SIGNATURE-----