[Toybox] [PATCH] Adding a minimal nslookup frontend to host.c

Moritz Christian Weber mo.c.weber at gmail.com
Mon Jun 6 11:34:20 PDT 2022


Okay, thanks for the feedback. I personally prefer nslookup over host,
rarely use interactive and just use dig, if it is getting nitty-gritty.
Anyways, I am not a good reference. Interactive mode is doable. Dig might
be added later.

Best regards,
Moritz




Rob Landley <rob at landley.net> schrieb am Mo., 6. Juni 2022, 19:49:

> On 6/6/22 11:55, Moritz C. Weber wrote:
> > ---
> >  toys/net/host.c | 98 +++++++++++++++++++++++++++++++------------------
> >  1 file changed, 63 insertions(+), 35 deletions(-)
> >
> > diff --git a/toys/net/host.c b/toys/net/host.c
> > index 20331678..933f4fb7 100644
> > --- a/toys/net/host.c
> > +++ b/toys/net/host.c
> > @@ -7,6 +7,7 @@
> >   * See https://www.ietf.org/rfc/rfc3596.txt
> >
> >  USE_HOST(NEWTOY(host, "<1>2avt:", TOYFLAG_USR|TOYFLAG_BIN))
> > +USE_NSLOOKUP(NEWTOY(nslookup, "<1>2", TOYFLAG_USR|TOYFLAG_BIN))
>
> The one I usually use is "dig".
>
> Isn't 80% of nslookup the interactive mode? (You can't even specify a
> different
> port without the interactive commands. Which you can specify on the
> command line
> too but it's the same command set...)
>
> Rob
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20220606/d246b6df/attachment-0001.htm>


More information about the Toybox mailing list