| 
									
										
										
										
											2016-03-24 17:58:31 +00:00
										 |  |  | # chaos
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-10-10 20:13:22 +01:00
										 |  |  | The *chaos* middleware allows CoreDNS to respond to TXT queries in the CH class. | 
					
						
							| 
									
										
										
										
											2017-07-24 08:24:53 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-22 13:53:00 -07:00
										 |  |  | This is useful for retrieving version or author information from the server. | 
					
						
							| 
									
										
										
										
											2016-03-24 17:58:31 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | ## Syntax
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ~~~ | 
					
						
							| 
									
										
										
										
											2016-10-10 20:13:22 +01:00
										 |  |  | chaos [VERSION] [AUTHORS...] | 
					
						
							| 
									
										
										
										
											2016-03-24 17:58:31 +00:00
										 |  |  | ~~~ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-10-30 15:54:16 +00:00
										 |  |  | * **VERSION** is the version to return. Defaults to `CoreDNS-<version>`, if not set. | 
					
						
							|  |  |  | * **AUTHORS** is what authors to return. No default. | 
					
						
							| 
									
										
										
										
											2016-03-24 17:58:31 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											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
										 |  |  | ~~~ |