NAME

axfr - Perform a DNS zone transfer

SYNOPSIS

axfr [ -fqs ] [ -D directory ] [ @nameserver ] zone

DESCRIPTION

axfr performs a DNS zone transfer, prints each record to the standard output, and stores the zone to a file. If the zone has already been stored in a file, axfr will read the file instead of performing a zone transfer.

Zones will be stored in a directory hierarchy. For example, the zone transfer for foo.bar.com will be stored in the file $HOME/.dns-zones/com/bar/foo/axfr. The directory can be changed with the -D option.

OPTIONS

-f

Force a zone transfer, even if the zone has already been stored in a file.

-q

Be quiet -- don't print the records from the zone.

-s

Perform a zone transfer if the SOA serial number on the nameserver is different than the serial number in the zone file.

-D directory

Store zone files under directory instead of the default directory (see "FILES").

@nameserver

Query nameserver instead of the default nameserver.

FILES

$HOME/.dns-zones

Default directory for storing zone files.

AUTHOR

Michael Fuhr <mfuhr@dimensional.com>

SEE ALSO

perl(1), check_soa, check_zone, mresolv, mx, perldig, Net::DNS