Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2012 12:56:20 +1000
From:      Peter Jeremy <peter@rulingia.com>
To:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Replacing BIND with unbound
Message-ID:  <20120710025619.GB90875@server.rulingia.com>
In-Reply-To: <86y5mslfso.fsf@ds4.des.no>
References:  <4FFA7980.4000707@FreeBSD.org> <CAMjP1K=b8mwqe31m=OqjUV%2BF=B85L4vpfT%2BDj00a1voPB-8TwA@mail.gmail.com> <D49E4B08-AC64-48C0-B918-94A7E30AB981@exonetric.com> <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>

next in thread | previous in thread | raw e-mail | index | archive | help

--s2ZSL+KKDSLx8OML
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2012-Jul-10 00:40:07 +0200, Dag-Erling Sm=F8rgrav <des@des.no> 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

--=20
Peter Jeremy

--s2ZSL+KKDSLx8OML
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAk/7mdMACgkQ/opHv/APuIeVeACgkSRqr3qRcXu76P+qQEZc3t/G
4ngAnjsvt4uIhVzbjiYtQl8fshpaSEpJ
=Ff03
-----END PGP SIGNATURE-----

--s2ZSL+KKDSLx8OML--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120710025619.GB90875>