Content-type: text/html

posask

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

NAME

Posask - Send queries to DNS servers  

SYNOPSIS

posask [[#port]] [option1=value1 ...] [qname] [qtype]
 

DESCRIPTION

Posask is a tool to query Domain Name Servers. Similar to dig and askmara, this tool can interactively query any RFC-compliant nameserver. Posask supports all RR types Posadis supports, as well as zone transfers.

The settings on the command line are:

@[server][#port] - 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. ), the given port at localhost will be used. You can also give an IPv6 number here, if your operating system supports that.

qname - 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".

qtype - The query type. Any RR type supported by Posadis (e.g. a, mx, soa), any for all RR types, axfr for a complete zone transfer, or ixfr/<serial> 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 OPTIONS section for available options. You can specify them on the command line using option=value  

OPTIONS

rd - Specifies whether we want the DNS server to do recursion.

use_tcp - Specifies whether to use TCP. By default, Posadis uses TCP for IXFR and AXFR, and UDP for normal queries.

tries - Specifies the number of times to retry the query (3 by default).

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

 

AUTHORS

Meilof Veeningen <>  

SEE ALSO

posadis(1) posadisrc(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
AUTHORS
SEE ALSO

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