nstest — DNS Test Shell

Synopsis

/usr/sbin/nstest [-d][-i][-r][-v][-p port][inet-addr [logfile]]

Description

Use the nstest interactive DNS test program to query DNS. You form and send user commands. Replies are printed on the standard output. inet-addr is the Internet address of the DNS resolver where nstest sends its queries. If you do not specify inet-addr, nstest first tries to contact a DNS server on the local host; if that fails, it tries the servers listed in the /etc/resolv.conf file. If you specify a logfile, nstest uses it to log the queries sent and replies received.

Options

-d Create a file named ns_packet.dump (if it does not exist) and write into it a raw (binary) copy of each packet sent. If ns_packet.dump does exist, truncate ...

Get Solaris™ 8 System Administrator's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.