mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 02:03:20 -04:00 
			
		
		
		
	
		
			
	
	
		
			14 lines
		
	
	
		
			428 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
		
			428 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
|  | # Serve on port 53 | ||
|  | .:53 { | ||
|  |     # use kubernetes middleware for domain "coredns.local" | ||
|  |     kubernetes coredns.local { | ||
|  |         # Use url for k8s API endpoint | ||
|  |         endpoint http://localhost:8080 | ||
|  |     } | ||
|  |     # Perform DNS response caching for the coredns.local zone | ||
|  |     # Cache timeout is provided by the integer in seconds | ||
|  |     # This works for the kubernetes middleware.) | ||
|  |     #cache 20 coredns.local | ||
|  |     #cache 160 coredns.local | ||
|  | } |