Miek Gieben 
							
						 
					 
					
						
						
							
						
						5387c162c9 
					 
					
						
						
							
							Implement a DNS zone  
						
						... 
						
						
						
						Full implementation, DNS (and in the future DNSSEC). Returns answer in a
hopefully standards compliant way.
Testing with my miek.nl zone are included as well.
This should correctly handle nodata, nxdomain and cnames. 
						
						
					 
					
						2016-03-28 10:15:05 +01:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						7a4ca687a2 
					 
					
						
						
							
							Fix docs  
						
						
						
						
					 
					
						2016-03-26 16:32:36 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						ebef64280a 
					 
					
						
						
							
							Support SkyDNS' stubzones  
						
						... 
						
						
						
						This implements stubzones in the same way as SkyDNS. This
also works with multiple configured domains and has tests.
Also add more configuration parameters for TLS and path prefix and
enabling stubzones.  Run StubUpdates as a startup command to keep up to
date with the list in etcd. 
						
						
					 
					
						2016-03-26 16:29:35 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						9eeb2b0259 
					 
					
						
						
							
							Merge pull request  #48  from miekg/cname-ordering  
						
						... 
						
						
						
						Cname ordering 
						
						
					 
					
						2016-03-26 13:43:04 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						b2c221c9cd 
					 
					
						
						
							
							Add test for CNAME ordering  
						
						... 
						
						
						
						Add a test for SkyDNS':
https://github.com/skynetservices/skydns/issues/217 
Put the CNAME in front for both answer and extra sections. Note that
the etcd middleware seems to already to the correct thing though. 
						
						
					 
					
						2016-03-26 13:26:46 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						8cf1c89743 
					 
					
						
						
							
							Merge pull request  #47  from miekg/edns0-client-bufsize  
						
						... 
						
						
						
						Add Scrub function 
						
						
					 
					
						2016-03-26 09:28:09 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						90f73c50cf 
					 
					
						
						
							
							Add Scrub function  
						
						... 
						
						
						
						This function will make the message fit for the client's buffer, or
set the TC bit. 
						
						
					 
					
						2016-03-26 09:26:54 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						a832ab696a 
					 
					
						
						
							
							bugfix: actually *use* the CH class  
						
						
						
						
					 
					
						2016-03-25 20:30:38 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						d9b7c94724 
					 
					
						
						
							
							Merge pull request  #44  from miekg/buffer-sizes  
						
						... 
						
						
						
						Add state.SizeAndDo() 
						
						
					 
					
						2016-03-25 17:25:07 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						16e50ec5f8 
					 
					
						
						
							
							Add state.SizeAndDo()  
						
						... 
						
						
						
						This methods returns an OPT record which can be used to create a new
message with the same bufsize and Do bit as the original one. 
						
						
					 
					
						2016-03-25 17:23:06 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						e8982dc99c 
					 
					
						
						
							
							Add tests for multi zone support  
						
						... 
						
						
						
						Working as intended and now tested. 
						
						
					 
					
						2016-03-25 16:24:43 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						e62eb2cde0 
					 
					
						
						
							
							Bugfix: bx in etcd.go didn't get Key  
						
						... 
						
						
						
						Thus record only diffing in the Key were seen as identical and not
included in the end results. Of course this being a map when and if
this would happen was rather random.
Fixed by including Key. Further small tweaks and code refactors. 
						
						
					 
					
						2016-03-25 15:30:44 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						e408c81a8c 
					 
					
						
						
							
							Add more tests and include the forgotten chaos_test.go as well  
						
						
						
						
					 
					
						2016-03-25 10:32:12 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						b3a52c6988 
					 
					
						
						
							
							Merge branch 'master' of github.com:miekg/coredns  
						
						
						
						
					 
					
						2016-03-25 08:39:39 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						9b6c0f65c6 
					 
					
						
						
							
							Merge pull request  #43  from miekg/chaos-middleware  
						
						... 
						
						
						
						Chaos middleware 
						
						
					 
					
						2016-03-25 08:39:13 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						5d70567f1c 
					 
					
						
						
							
							Implement chaos middleware  
						
						... 
						
						
						
						This allows for CH TXT queries that return some information about
the server and/or the authors (or whatever you put in there). 
						
						
					 
					
						2016-03-25 08:36:32 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						126303204b 
					 
					
						
						
							
							Small fixes  
						
						
						
						
					 
					
						2016-03-24 17:58:31 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						9712bade34 
					 
					
						
						
							
							fix doc  
						
						
						
						
					 
					
						2016-03-24 17:55:46 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						2caddcf761 
					 
					
						
						
							
							Small optimization in round robin load balancing  
						
						
						
						
					 
					
						2016-03-24 17:51:28 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						430f11a6d2 
					 
					
						
						
							
							Add context.WithTimeout  
						
						... 
						
						
						
						Closes  #41  
					
						2016-03-24 17:46:14 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						4fe39f9e9e 
					 
					
						
						
							
							Port tests from SkyDNS  
						
						... 
						
						
						
						This adds *most* of the tests from SkyDNS, things lacking is
the stubzone checking, groups and the trim prefix. These
will be added in subsequent PRs and in separate test files. 
						
						
					 
					
						2016-03-24 17:31:01 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						b45208e3e5 
					 
					
						
						
							
							Merge pull request  #38  from miekg/etcd-stub  
						
						... 
						
						
						
						Etcd stub 
						
						
					 
					
						2016-03-24 09:23:44 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						78d2e31ec1 
					 
					
						
						
							
							Add Stub resolving  
						
						... 
						
						
						
						SkyDNS can forward requests from one instance to another.
Add this base infrastructure for this feature to CoreDNS.
Add more tests as well. 
						
						
					 
					
						2016-03-24 09:20:53 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						163e5d8e71 
					 
					
						
						
							
							fixed  
						
						
						
						
					 
					
						2016-03-23 23:20:50 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						55aa436234 
					 
					
						
						
							
							more stuff  
						
						
						
						
					 
					
						2016-03-23 23:06:16 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						a655a5735b 
					 
					
						
						
							
							Slowly adding all the tests from skydns  
						
						
						
						
					 
					
						2016-03-23 22:59:05 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						18ef25e0d5 
					 
					
						
						
							
							Merge pull request  #33  from miekg/middleware/rewrite2  
						
						... 
						
						
						
						Rewrite the name of the query as well 
						
						
					 
					
						2016-03-23 21:47:47 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						e954332b9f 
					 
					
						
						
							
							Allow rewriting of the the name of the query as well. And improve  
						
						... 
						
						
						
						the docs a little. 
						
						
					 
					
						2016-03-23 21:45:27 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						978e1540f5 
					 
					
						
						
							
							Merge pull request  #35  from miekg/middleware/loadbalance  
						
						... 
						
						
						
						Middleware/loadbalance 
						
						
					 
					
						2016-03-23 21:39:46 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						b167411bba 
					 
					
						
						
							
							Add roundrobin middleware  
						
						... 
						
						
						
						This middleware allows you to round robin a/aaaa records in a reply and
maybe more in the future (i.e.) sort a packet? 
						
						
					 
					
						2016-03-23 21:38:35 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						c1d5b5d0db 
					 
					
						
						
							
							yes  
						
						
						
						
					 
					
						2016-03-23 21:35:28 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						7d834ce037 
					 
					
						
						
							
							Remove reflect middleware - it was only a toy  
						
						
						
						
					 
					
						2016-03-23 10:54:50 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						bae1fb7aa2 
					 
					
						
						
							
							Add build tag to the tests  
						
						
						
						
					 
					
						2016-03-23 10:46:33 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						8f9f2cd1ab 
					 
					
						
						
							
							Add etcd middleware  
						
						... 
						
						
						
						This middleware acts in the same way as SkyDNS. We might add options
to allow it to be behave different, but for now it will suffice.
A Corefile like:
.:1053 {
    etcd miek.nl
    proxy . 8.8.8.8:53
}
will perform lookup in etcd and proxy everything not miek.nl to Google
for further resolution.
The internal etcd forwarding *also* uses the proxy infrastructure,
meaning you get health check and such for (almost) free 
						
						
					 
					
						2016-03-23 10:41:40 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						892c15d024 
					 
					
						
						
							
							Test cleanups; tests were working, broke them again  
						
						
						
						
					 
					
						2016-03-23 09:33:23 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						ba72fe1470 
					 
					
						
						
							
							cleanup tests  
						
						
						
						
					 
					
						2016-03-23 08:30:29 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						b5f35a2f40 
					 
					
						
						
							
							Add lookup tests for integration tests  
						
						
						
						
					 
					
						2016-03-22 23:44:01 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						503cf5176a 
					 
					
						
						
							
							clean println  
						
						
						
						
					 
					
						2016-03-22 23:33:07 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						58b5e93b8a 
					 
					
						
						
							
							fix order  
						
						
						
						
					 
					
						2016-03-22 23:31:11 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						c1b7909144 
					 
					
						
						
							
							Fix order to make proxy work  
						
						
						
						
					 
					
						2016-03-22 23:28:42 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						8c707c8031 
					 
					
						
						
							
							more  
						
						
						
						
					 
					
						2016-03-22 22:44:50 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						a6c3719bd8 
					 
					
						
						
							
							Change of config  
						
						
						
						
					 
					
						2016-03-22 11:32:12 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						6b667cc340 
					 
					
						
						
							
							tests  
						
						
						
						
					 
					
						2016-03-22 11:13:12 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						ae841ae342 
					 
					
						
						
							
							it compiles  
						
						
						
						
					 
					
						2016-03-22 11:04:56 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						1a7f0deadd 
					 
					
						
						
							
							More cleanup - needs to think a little about NewSOA()  
						
						
						
						
					 
					
						2016-03-22 10:29:48 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						22dade9e12 
					 
					
						
						
							
							It compiles; wont work obviously  
						
						
						
						
					 
					
						2016-03-22 08:30:30 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						e985af7870 
					 
					
						
						
							
							some fixes  
						
						
						
						
					 
					
						2016-03-21 21:22:23 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						740178c83f 
					 
					
						
						
							
							more stuff; insight: use proxy for upstream queries  
						
						
						
						
					 
					
						2016-03-21 21:21:29 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						ecc5f28671 
					 
					
						
						
							
							Path stuff copied over and tests added  
						
						
						
						
					 
					
						2016-03-21 07:20:22 +00:00 
						 
				 
			
				
					
						
							
							
								Miek Gieben 
							
						 
					 
					
						
						
							
						
						b6341e8b63 
					 
					
						
						
							
							more etcd stuff  
						
						
						
						
					 
					
						2016-03-20 21:36:55 +00:00