NAME

mdns - Perform multiple DNS lookups in parallel


SYNOPSIS

mdns-d ] [ -h ] [ -m [ -r ] [ -c prefix ] ] [ -s ] [ -n number ] [ -t timeout ] [ @server ] [ filename... ]


DESCRIPTION

mdns performs multiple DNS lookups in parallel. Names to query are read from the list of files given on the command line, or from the standard input if - was specified. A nameserver can be specified using @servername.


OPTIONS

-c
Display resolved hostnames AND MX hosts. May only be used in conjunction with the -m option. prefix will be prepended to found MX hosts.

-d
Turn on debugging output.

-h
Display help.

-m
Perform MX lookups for hostnames found and output them. No hostnames will be displayed.

-n number
Set the number of queries to have outstanding at any time (default 16).

-r
When doing MX lookups (-m), go recursively through all domain components and check all MX records for these.

-s
Output only the rdata string not the complete RR set.

-t timeout
Set the timeout in seconds (default 15). If no replies are received for this amount of time, all outstanding queries will be flushed and new names will be read from the input stream.


LICENSE

This program is distributed under the terms of the Perl Artistic License.


AUTHORS

Original Copyright (c) 1997-2000 Michael Fuhr (included in the CPAN Net::DNS module as example application). Modified version Copyright 2002 by Paul Kremer (changes include parameter for STDIN, the help option, choosing between RR or rdata output, MX lookups, recursive domain component MX lookups, combined output and specifying a nameserver).


SEE ALSO

perl(1), axfr, check_soa, check_zone, mx, perldig, the Net::DNS manpage