.TH "poshost" "1" "0.60.5" "Meilof Veeningen" "Posadis" .SH "NAME" .LP poshost \- Simple query program producing human\-readable output .SH "SYNTAX" .LP poshost [@server] [domainname] [querytype] .SH "DESCRIPTION" .LP This is a simple console query program, that gives it answers in a simple, human\-readable form, quite unlike the raw DNS messages shown by its big brother, Posask. The result is displayed in the same way the graphical "DNS querier" tool shows its answers, e.g.: meilof@linux> poshost @216.239.32.10 google.nl Querying 216.239.32.10#53 for {google.nl.,A} Received answer from 216.239.32.10#53: Authoritive answer Answers for google.nl.: \-> [A] 216.239.39.100 \-> [A] 216.239.37.100 .SH "OPTIONS" \fI\fR \- Server to query \fI\fR \- Domain name to query. \fI\fR \- Query type (e.g. a, ptr, mx, any) If no server is given, the DNS server the system resolver uses is used (Unix), or the DNS server at localhost (Windows). If no domain name or type is given, a query for {.,NS} is assumed. If no query type is given, "a" is assumed unless the domain name is in one of the reverse\-mapping zones such as in\-addr.arpa. In that case, "ptr" is the default query type. .SH "EXAMPLES" .LP In its simplest form, poshost prints out the root nameservers: poshost To find out the addresses of www.posadis.org, do: poshost www.posadis.org Or, to query another nameserver: poshost @192.168.1.102 www.posadis.org If we want to find the posadis.org mail servers: poshost posadis.org mx If we want to find out the domain name of 192.168.1.1, perform one of the following, equivalent queries: poshost 1.1.168.192.in\-addr.arpa poshost .192.168.1.1 .SH "AUTHORS" .LP Meilof .SH "SEE ALSO" .LP posadis(1), posask(1), dnsquery(1)