mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 10:13:14 -04:00 
			
		
		
		
	
		
			
	
	
		
			9 lines
		
	
	
		
			257 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			9 lines
		
	
	
		
			257 B
		
	
	
	
		
			Go
		
	
	
	
	
	
|  | package erratic
 | ||
|  | 
 | ||
|  | import "github.com/coredns/coredns/request"
 | ||
|  | 
 | ||
|  | // AutoPath implements the AutoPathFunc call from the autopath middleware.
 | ||
|  | func (e *Erratic) AutoPath(state request.Request) []string {
 | ||
|  | 	return []string{"a.example.org.", "b.example.org.", ""}
 | ||
|  | }
 |