Content-type: text/html

poshost

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

NAME

poshost - Simple query program producing human-readable output  

SYNTAX

poshost [] [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.:


 > poshost @ google.nl
 Querying #53 for {google.nl.,A}
 Received answer from #53:
   Authoritive answer
 
 Answers for google.nl.:
   -> [A] 
   -> [A]   

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 posadis.org, do:


  poshost posadis.org

Or, to query another nameserver:


  poshost @192.168.1.102 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 <>  

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