Content-type: text/html Man page of poshost

poshost

Section: Posadis (1)
Updated: 0.60.6
Index Return to Main Contents
 

NAME

poshost - Simple query program producing human-readable output  

SYNTAX

poshost [@server] [domainname] [querytype]

 

DESCRIPTION

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  

OPTIONS

<server> - Server to query

<domainname> - Domain name to query.

<querytype> - 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.  

EXAMPLES

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  

AUTHORS

Meilof <meilof@users.sourceforge.net>  

SEE ALSO

posadis(1), posask(1), dnsquery(1)


 

Index

NAME
SYNTAX
DESCRIPTION
OPTIONS
EXAMPLES
AUTHORS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 19:10:17 GMT, December 24, 2004