getzone(1)

getzone1

Get dns zone from server

Overview

getzone transfers a user-specified dns zone from a zone server and displays it in csv1 format on the standard output. This program is here for compatibility with older setups that use getzone to get zone files; newer setups may wish to consider using the fetchzone tool to obtain csv2-compatible zone files.

Usage

getzone zone_name zone_server_IP [query_class]

Options

zone_name

Name of the dns zone to be transferred.

zone_server_IP

IP address of dns server

query_class

Optional argument which can change the query class from 1 (the default) to 255. This may be needed for some versions of Bind.

Examples

To obtain the zone example.com from the server 192.168.9.8:

getzone example.com 192.168.9.8 

To obtain the zone example.org from the server 10.9.8.78 using a query class of 255:

getzone example.com 10.9.8.78 255

Releases

8 releases since Debian 3.1 (Sarge); the text changed 3 times.

  1. 3.1
  2. 4.0–6.0
  3. 7
  4. 9–11

Author

MaraDNS is written by Sam Trenholme. Jaakko Niemi used 5 minutes to put this manpage together. Sam has subsequently made revisions to this manpage.

From maradns 2.0.13-1.4+deb11u1 in Debian 11 (Bullseye). Parsed by carta from the page's man source.