| 
									
										
										
										
											2016-03-24 17:58:31 +00:00
										 |  |  | # chaos
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-22 13:53:00 -07:00
										 |  |  | The `chaos` middleware allows CoreDNS to respond to TXT queries in the CH class. | 
					
						
							|  |  |  | This is useful for retrieving version or author information from the server. | 
					
						
							| 
									
										
										
										
											2016-03-24 17:58:31 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | ## Syntax
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ~~~ | 
					
						
							|  |  |  | chaos [version] [authors...] | 
					
						
							|  |  |  | ~~~ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-22 13:53:00 -07:00
										 |  |  | * `version` the version to return. Defaults to CoreDNS-<version>, if not set. | 
					
						
							| 
									
										
										
										
											2016-03-24 17:58:31 +00:00
										 |  |  | * `authors` what authors to return. No default. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-08 19:18:55 -07:00
										 |  |  | Note that you have to make sure that this middleware will get actual queries for the | 
					
						
							|  |  |  | following zones: `version.bind`, `version.server`, `authors.bind`, `hostname.bind` and | 
					
						
							|  |  |  | `id.server`. | 
					
						
							| 
									
										
										
										
											2016-04-04 15:45:17 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-03-24 17:58:31 +00:00
										 |  |  | ## Examples
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ~~~ | 
					
						
							| 
									
										
										
										
											2016-04-04 15:45:17 +01:00
										 |  |  | chaos CoreDNS-001 "Miek Gieben" miek@miek.nl | 
					
						
							| 
									
										
										
										
											2016-03-24 17:58:31 +00:00
										 |  |  | ~~~ |