| 
									
										
										
										
											2019-04-06 08:42:40 +01:00
										 |  |  | .\" Generated by Mmark Markdown Processer - mmark.nl | 
					
						
							|  |  |  | .TH "COREDNS-ROOT" "7" "April 2019" "CoreDNS" "CoreDNS Plugins" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .SH ROOT | 
					
						
							|  |  |  | .SH NAME | 
					
						
							|  |  |  | .PP | 
					
						
							|  |  |  | \fIroot\fP - simply specifies the root of where to find (zone) files. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .SH DESCRIPTION | 
					
						
							|  |  |  | .PP | 
					
						
							|  |  |  | The default root is the current working directory of CoreDNS. The \fIroot\fP plugin allows you to change | 
					
						
							|  |  |  | this. A relative root path is relative to the current working directory. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .PP | 
					
						
							|  |  |  | This plugin can only be used once per Server Block. | 
					
						
							| 
									
										
										
										
											2018-01-04 12:53:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-04-06 08:42:40 +01:00
										 |  |  | .SH SYNTAX | 
					
						
							|  |  |  | .PP | 
					
						
							|  |  |  | .RS | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .nf | 
					
						
							| 
									
										
										
										
											2018-01-04 12:53:07 +00:00
										 |  |  | root PATH | 
					
						
							| 
									
										
										
										
											2019-04-06 08:42:40 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-01-04 12:53:07 +00:00
										 |  |  | .fi | 
					
						
							| 
									
										
										
										
											2019-04-06 08:42:40 +01:00
										 |  |  | .RE | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .PP | 
					
						
							|  |  |  | \fBPATH\fP is the directory to set as CoreDNS' root. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .SH EXAMPLES | 
					
						
							|  |  |  | .PP | 
					
						
							|  |  |  | Serve zone data (when the \fIfile\fP plugin is used) from \fB\fC/etc/coredns/zones\fR: | 
					
						
							| 
									
										
										
										
											2018-01-04 12:53:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-04-06 08:42:40 +01:00
										 |  |  | .PP | 
					
						
							|  |  |  | .RS | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .nf | 
					
						
							|  |  |  | \&. { | 
					
						
							| 
									
										
										
										
											2018-01-04 12:53:07 +00:00
										 |  |  |     root /etc/coredns/zones | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2019-04-06 08:42:40 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-01-04 12:53:07 +00:00
										 |  |  | .fi | 
					
						
							| 
									
										
										
										
											2019-04-06 08:42:40 +01:00
										 |  |  | .RE | 
					
						
							| 
									
										
										
										
											2018-01-04 12:53:07 +00:00
										 |  |  | 
 |