<div dir="auto"><div>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.</div><div dir="auto"><br></div><div dir="auto">Best regards,</div><div dir="auto">Moritz <br><div dir="auto"><br></div><div dir="auto"><br></div><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">Rob Landley <<a href="mailto:rob@landley.net">rob@landley.net</a>> schrieb am Mo., 6. Juni 2022, 19:49:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 6/6/22 11:55, Moritz C. Weber wrote:<br>
> ---<br>
> toys/net/host.c | 98 +++++++++++++++++++++++++++++++------------------<br>
> 1 file changed, 63 insertions(+), 35 deletions(-)<br>
> <br>
> diff --git a/toys/net/host.c b/toys/net/host.c<br>
> index 20331678..933f4fb7 100644<br>
> --- a/toys/net/host.c<br>
> +++ b/toys/net/host.c<br>
> @@ -7,6 +7,7 @@<br>
> * See <a href="https://www.ietf.org/rfc/rfc3596.txt" rel="noreferrer noreferrer" target="_blank">https://www.ietf.org/rfc/rfc3596.txt</a><br>
> <br>
> USE_HOST(NEWTOY(host, "<1>2avt:", TOYFLAG_USR|TOYFLAG_BIN))<br>
> +USE_NSLOOKUP(NEWTOY(nslookup, "<1>2", TOYFLAG_USR|TOYFLAG_BIN))<br>
<br>
The one I usually use is "dig".<br>
<br>
Isn't 80% of nslookup the interactive mode? (You can't even specify a different<br>
port without the interactive commands. Which you can specify on the command line<br>
too but it's the same command set...)<br>
<br>
Rob<br>
</blockquote></div></div></div>