mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 10:13:14 -04:00 
			
		
		
		
	Add secondary support
Allow specifying a primary server and retrieve the zone's content. Add tests and an Expired bool to zone struct, to stop server zones that are expired. The zone is retrieved on Startup, no updates of changed content are done. We also don't respond to notifies yet.
This commit is contained in:
		
							
								
								
									
										7
									
								
								middleware/secondary/secondary.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								middleware/secondary/secondary.go
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| package secondary | ||||
|  | ||||
| import "github.com/miekg/coredns/middleware/file" | ||||
|  | ||||
| type Secondary struct { | ||||
| 	file.File | ||||
| } | ||||
		Reference in New Issue
	
	Block a user