On Jul 9, 2012 7:57 PM, "Peter Jeremy" <[email protected]> wrote:
>
> 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

This is a much better solution for users.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to