On Jul 9, 2012 7:57 PM, "Peter Jeremy" <pe...@rulingia.com> wrote:
>
> On 2012-Jul-10 00:40:07 +0200, Dag-Erling Smørgrav <d...@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

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

Reply via email to