On 2012-Jul-10 00:40:07 +0200, Dag-Erling Smørgrav <[email protected]> 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

-- 
Peter Jeremy

Attachment: pgpP08j1bRN4J.pgp
Description: PGP signature

Reply via email to