.\" .\" Posask manual page .\" .TH "posask" "1" "0.60.5" "Meilof Veeningen" "Posadis DNS server" .SH "NAME" Posask \- Send queries to DNS servers .SH "SYNOPSIS" .B posask [@server[#port]] [option1=value1 ...] [qname] [qtype] .br .SH "DESCRIPTION" \fBPosask\fR is a tool to query Domain Name Servers. Similar to \fBdig\fR and \fBaskmara\fR, this tool can interactively query any RFC\-compliant nameserver. \fBPosask\fR supports all RR types Posadis supports, as well as zone transfers. The settings on the command line are: \fB@[server][#port]\fR \- Specify the server to query. By default, the system resolver (the resolver that is usually used to look up domain names) is used. If you give no port, port 53 will be used; if you don't specify an IP number (e.g. \fB@3000\fR), the given port at localhost will be used. You can also give an IPv6 number here, if your operating system supports that. \fBqname\fR \- The domain name to query. If you don't specify one, Posask will do a query for {.;NS} instead. If you want to do reverse\-mapping, you can use the special dot notation for reverse\-mapping domain names, e.g. ".192.168.1.1" is equivalent to "1.1.168.192.in\-addr.arpa". \fBqtype\fR \- The query type. Any RR type supported by Posadis (e.g. a, mx, soa), \fBany\fR for all RR types, \fBaxfr\fR for a complete zone transfer, or \fBixfr/\fR for an incremental zone transfer. If you don't specify a query type, Posask will default to A for normal domain names, and to PTR for reverse\-mapping domain names, such as subdomains of in\-addr.arpa. See the \fIOPTIONS\fR section for available options. You can specify them on the command line using \fBoption=value\fR .SH "OPTIONS" \fBrd\fR \- Specifies whether we want the DNS server to do recursion. \fBuse_tcp\fR \- Specifies whether to use TCP. By default, Posadis uses TCP for IXFR and AXFR, and UDP for normal queries. \fBtries\fR \- Specifies the number of times to retry the query (3 by default). \fBtimeout\fR \- Specifies the time in seconds to wait for an answer (5 seconds by default). Note that retries of queries happen within this timeout range, so this timeout value is actually the maximum time you will wait until you get an answer to your query. .SH "AUTHORS" .LP Meilof Veeningen .SH "SEE ALSO" .LP posadis(1) posadisrc(5)