| 
									
										
										
										
											2019-11-05 11:18:02 +00:00
										 |  |  | .\" Generated by Mmark Markdown Processer - mmark.miek.nl | 
					
						
							| 
									
										
										
										
											2021-03-08 11:15:45 +00:00
										 |  |  | .TH "COREDNS-TRANSFER" 7 "March 2021" "CoreDNS" "CoreDNS Plugins" | 
					
						
							| 
									
										
										
										
											2019-11-05 11:18:02 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | .SH "NAME" | 
					
						
							|  |  |  | .PP | 
					
						
							| 
									
										
										
										
											2020-09-24 18:30:59 +00:00
										 |  |  | \fItransfer\fP - perform (outgoing) zone transfers for other plugins. | 
					
						
							| 
									
										
										
										
											2019-11-05 11:18:02 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | .SH "DESCRIPTION" | 
					
						
							|  |  |  | .PP | 
					
						
							| 
									
										
										
										
											2020-09-24 18:30:59 +00:00
										 |  |  | This plugin answers zone transfers for authoritative plugins that implement \fB\fCtransfer.Transferer\fR. | 
					
						
							| 
									
										
										
										
											2019-11-05 11:18:02 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | .PP | 
					
						
							| 
									
										
										
										
											2020-09-24 18:30:59 +00:00
										 |  |  | \fItransfer\fP answers full zone transfer (AXFR) requests and incremental zone transfer (IXFR) requests | 
					
						
							| 
									
										
										
										
											2019-11-15 15:45:09 +00:00
										 |  |  | with AXFR fallback if the zone has changed. | 
					
						
							| 
									
										
										
										
											2019-11-05 11:18:02 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | .PP | 
					
						
							| 
									
										
										
										
											2020-09-24 18:30:59 +00:00
										 |  |  | When a plugin wants to notify it's secondaries it will call back into the \fItransfer\fP plugin. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .PP | 
					
						
							|  |  |  | The following plugins implement zone transfers using this plugin: \fIfile\fP, \fIauto\fP, \fIsecondary\fP, and | 
					
						
							|  |  |  | \fIkubernetes\fP. See \fB\fCtransfer.go\fR for implementation details if you are a plugin author that wants to | 
					
						
							|  |  |  | use this plugin. | 
					
						
							| 
									
										
										
										
											2019-11-05 11:18:02 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | .SH "SYNTAX" | 
					
						
							|  |  |  | .PP | 
					
						
							|  |  |  | .RS | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .nf | 
					
						
							|  |  |  | transfer [ZONE...] { | 
					
						
							| 
									
										
										
										
											2020-09-24 18:30:59 +00:00
										 |  |  |   to ADDRESS... | 
					
						
							| 
									
										
										
										
											2019-11-05 11:18:02 +00:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .fi | 
					
						
							|  |  |  | .RE | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .IP \(bu 4 | 
					
						
							| 
									
										
										
										
											2020-09-24 18:30:59 +00:00
										 |  |  | \fBZONE\fP The zones \fItransfer\fP will answer zone transfer requests for. If left blank, the zones | 
					
						
							|  |  |  | are inherited from the enclosing server block. To answer zone transfers for a given zone, | 
					
						
							|  |  |  | there must be another plugin in the same server block that serves the same zone, and implements | 
					
						
							|  |  |  | \fB\fCtransfer.Transferer\fR. | 
					
						
							| 
									
										
										
										
											2019-11-05 11:18:02 +00:00
										 |  |  | .IP \(bu 4 | 
					
						
							| 
									
										
										
										
											2020-09-24 18:30:59 +00:00
										 |  |  | \fB\fCto\fR \fBADDRESS...\fP The hosts \fItransfer\fP will transfer to. Use \fB\fC*\fR to permit transfers to all | 
					
						
							|  |  |  | addresses. \fBADDRESS\fP must be denoted in CIDR notation (e.g., 127.0.0.1/32) or just as plain | 
					
						
							|  |  |  | addresses. \fB\fCto\fR may be specified multiple times. | 
					
						
							| 
									
										
										
										
											2019-11-05 11:18:02 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-06 11:11:45 +00:00
										 |  |  | .SH "EXAMPLES" | 
					
						
							|  |  |  | .PP | 
					
						
							| 
									
										
										
										
											2020-09-24 18:30:59 +00:00
										 |  |  | See the specific plugins using this plugin for examples on it's usage. | 
					
						
							| 
									
										
										
										
											2020-03-06 11:11:45 +00:00
										 |  |  | 
 |