]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/bind/doc/man/named-xfer.8
This commit was generated by cvs2svn to compensate for changes in r53660,
[FreeBSD/FreeBSD.git] / contrib / bind / doc / man / named-xfer.8
1 .\" ++Copyright++ 1985
2 .\" -
3 .\" Copyright (c) 1985
4 .\"    The Regents of the University of California.  All rights reserved.
5 .\" 
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
8 .\" are met:
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\"    notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\"    notice, this list of conditions and the following disclaimer in the
13 .\"    documentation and/or other materials provided with the distribution.
14 .\" 3. All advertising materials mentioning features or use of this software
15 .\"    must display the following acknowledgement:
16 .\"     This product includes software developed by the University of
17 .\"     California, Berkeley and its contributors.
18 .\" 4. Neither the name of the University nor the names of its contributors
19 .\"    may be used to endorse or promote products derived from this software
20 .\"    without specific prior written permission.
21 .\" 
22 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 .\" SUCH DAMAGE.
33 .\" -
34 .\" Portions Copyright (c) 1993 by Digital Equipment Corporation.
35 .\" 
36 .\" Permission to use, copy, modify, and distribute this software for any
37 .\" purpose with or without fee is hereby granted, provided that the above
38 .\" copyright notice and this permission notice appear in all copies, and that
39 .\" the name of Digital Equipment Corporation not be used in advertising or
40 .\" publicity pertaining to distribution of the document or software without
41 .\" specific, written prior permission.
42 .\" 
43 .\" THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL
44 .\" WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
45 .\" OF MERCHANTABILITY AND FITNESS.   IN NO EVENT SHALL DIGITAL EQUIPMENT
46 .\" CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
47 .\" DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
48 .\" PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
49 .\" ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
50 .\" SOFTWARE.
51 .\" -
52 .\" --Copyright--
53 .\"
54 .\"     from named.8    6.6 (Berkeley) 2/14/89
55 .\"
56 .Dd June 26, 1993
57 .Dt @XFER_INDOT_U@NAMED-XFER @SYS_OPS_EXT_U@ 
58 .Os BSD 4
59 .Sh NAME
60 .Nm @XFER_INDOT@named-xfer 
61 .Nd ancillary agent for inbound zone transfers
62 .Sh SYNOPSIS
63 .Nm named-xfer
64 .Fl z Ar zone_to_transfer
65 .Fl f Ar db_file
66 .Fl s Ar serial_no
67 .Op Fl d Ar debuglevel
68 .Op Fl l Ar debug_log_file
69 .Op Fl t Ar trace_file
70 .Op Fl p Ar port#
71 .Op Fl S 
72 .Ar nameserver ...
73 .Sh DESCRIPTION
74 .Ic Named-xfer
75 is an ancillary program executed by
76 .Xr @INDOT@named @SYS_OPS_EXT@
77 to perform an inbound zone transfer.  It is rarely executed directly, and then
78 only by system administrators who are trying to debug a zone transfer problem.
79 See RFC's 1033, 1034, and 1035 for more information on the Internet
80 name-domain system.
81 .Pp
82 Options are:
83 .Bl -tag -width Fl
84 .It Fl z Ar zone_to_transfer
85 specifies the name of the zone to be transferred.
86 .It Fl f Ar db_file
87 specifies the name of the 
88 .Ar db_file 
89 into which the zone should be dumped
90 when it is received from the primary server.
91 .It Fl s Ar serial_no
92 specifies the serial number of our current copy of this zone.  If the
93 .Sy SOA RR 
94 we get from the primary server does not have a serial
95 number higher than this, the transfer will be aborted.
96 .It Fl d Ar debuglevel
97 Print debugging information.
98 The 
99 .Ar debuglevel 
100 is a number determines the level of messages printed.
101 .It Fl l Ar debug_log_file
102 Specifies a log file for debugging messages.  The default is system- 
103 dependent but is usually in
104 .Pa /var/tmp
105 or
106 .Pa /usr/tmp .
107 Note that this only applies if
108 .Dq Fl d
109 is also specified.
110 .It Fl t Ar trace_file
111 Specifies a 
112 .Ar trace_file 
113 which will contain a protocol trace of the zone
114 transfer.  This is probably only of interest to people debugging the name
115 server itself.
116 .It Fl p Ar port#
117 Use a different port number.  The default is the standard port number
118 as returned by 
119 .Xr getservbyname @LIB_NETWORK_EXT@  
120 for the service 
121 .Dq Li domain .
122 .It Fl S
123 Perform a restricted transfer of only the SOA, NS records and glue A records
124 for the zone. The SOA record will not be loaded by 
125 .Xr @INDOT@named @SYS_OPS_EXT@
126 but will be used to
127 determine when to verify the NS records.  See the 
128 .Dq Li stubs 
129 directive in
130 .Xr @INDOT@named @SYS_OPS_EXT@
131 for more information.
132 .El
133 .Pp
134 Additional arguments are taken as name server addresses in so-called
135 .Dq dotted-quad 
136 syntax 
137 .Em only; 
138 no host name are allowed here.  At least one address must be specified.  
139 Any additional addresses will be tried, in order, if the first one fails 
140 to transfer to us successfully.
141 .Sh SEE ALSO
142 .Xr hostname @DESC_EXT@ ,
143 .Xr @INDOT@named @SYS_OPS_EXT@ ,
144 .Xr resolver @LIB_NETWORK_EXT@ ,
145 .Xr resolver @FORMAT_EXT@ ,
146 RFC 882, RFC 883, RFC 973, RFC 974, RFC 1033, RFC 1034, RFC 1035, RFC 1123,
147 .Dq Name Server Operations Guide for Sy BIND .