.\" Do *not* edit this file; it was automatically generated by ej2man .\" Look for a name.ej file with the same name as this filename .\" .\" Process this file with the following .\" nroff -man -Tutf8 maradns.8 | tr '\020' ' ' .\" .\" Last updated Mon Sep 27 15:36:06 2010 .\" .TH GETZONE 1 "getzone" "October 2001" "getzone" .\" We don't want hyphenation (it's too ugly) .\" We also disable justification when using nroff .\" Due to the way the -mandoc macro works, this needs to be placed .\" after the .TH heading .hy 0 .if n .na .\" .\" We need the following stuff so that we can have single quotes .\" In both groff and other UNIX *roff processors .if \n(.g .mso www.tmac .ds aq \(aq .if !\n(.g .if '\(aq'' .ds aq \' .SH "NAME" .PP getzone \- get dns zone from server .SH "DESCRIPTION" .PP .B "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. .SH "USAGE" .PP .B "getzone" .I zone_name zone_server_IP .RI [ query_class ] .SH "OPTIONS" .PP .TP 4 .I "zone_name" Name of the dns zone to be transferred. .PP .TP 4 .I "zone_server_IP" IP address of dns server .PP .TP 4 .I "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. .SH "EXAMPLES" .PP To obtain the zone example.com from the server 192.168.9.8: .PP .RS 4 .nf getzone example.com 192.168.9.8 .fi .RE .PP To obtain the zone example.org from the server 10.9.8.78 using a query class of 255: .PP .RS 4 .nf getzone example.com 10.9.8.78 255 .fi .RE .PP .SH "SEE ALSO" .PP The man pages .B "maradns(8)" and .B "csv1(5)" .PP http://www.maradns.org .SH "LEGAL DISCLAIMER" .PP THIS SOFTWARE IS PROVIDED BY THE AUTHORS \(aq\(aqAS IS\(aq\(aq AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .SH "AUTHOR" .PP MaraDNS is written by Sam Trenholme. Jaakko Niemi used 5 minutes to put this manpage together. Sam has subsequently made revisions to this manpage.