mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-29 01:04:15 -04:00 
			
		
		
		
	
		
			
	
	
		
			50 lines
		
	
	
		
			949 B
		
	
	
	
		
			Groff
		
	
	
	
	
	
		
		
			
		
	
	
			50 lines
		
	
	
		
			949 B
		
	
	
	
		
			Groff
		
	
	
	
	
	
| ![coredns-auto-go-mod-tidy[bot]](/assets/img/avatar_default.png)  | .\" Generated by Mmark Markdown Processer - mmark.miek.nl | ||
|  | .TH "COREDNS-MINIMAL" 7 "March 2021" "CoreDNS" "CoreDNS Plugins" | ||
|  | 
 | ||
|  | .SH "NAME" | ||
|  | .PP | ||
|  | \fIminimal\fP - minimizes size of the DNS response message whenever possible. | ||
|  | 
 | ||
|  | .SH "DESCRIPTION" | ||
|  | .PP | ||
|  | The \fIminimal\fP plugin tries to minimize the size of the response. Depending on the response type it | ||
|  | removes resource records from the AUTHORITY and ADDITIONAL sections. | ||
|  | 
 | ||
|  | .PP | ||
|  | Specifically this plugin looks at successful responses (this excludes negative responses, i.e. | ||
|  | nodata or name error). If the successful response isn't a delegation only the RRs in the answer | ||
|  | section are written to the client. | ||
|  | 
 | ||
|  | .SH "SYNTAX" | ||
|  | .PP | ||
|  | .RS | ||
|  | 
 | ||
|  | .nf | ||
|  | minimal | ||
|  | 
 | ||
|  | .fi | ||
|  | .RE | ||
|  | 
 | ||
|  | .SH "EXAMPLES" | ||
|  | .PP | ||
|  | Enable minimal responses: | ||
|  | 
 | ||
|  | .PP | ||
|  | .RS | ||
|  | 
 | ||
|  | .nf | ||
|  | example.org { | ||
|  |     whoami | ||
|  |     forward . 8.8.8.8 | ||
|  |     minimal | ||
|  | } | ||
|  | 
 | ||
|  | .fi | ||
|  | .RE | ||
|  | 
 | ||
|  | .SH "SEE ALSO" | ||
|  | .PP | ||
|  | BIND 9 Configuration Reference | ||
|  | \[la]https://bind9.readthedocs.io/en/latest/reference.html#boolean-options\[ra] | ||
|  | 
 |