0c1b4738cd 
					 
					
						
						
							
							Clear file-backend hosts cache.  
						
						 
						
						
						
						
					 
					
						2015-10-20 14:01:41 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						48b8c9a58e 
					 
					
						
						
							
							Default log level: INFO  
						
						 
						
						
						
						
					 
					
						2015-10-20 13:59:22 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						747c20b0fc 
					 
					
						
						
							
							Update README.md  
						
						 
						
						
						
						
					 
					
						2015-10-15 19:49:54 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7b65c176dd 
					 
					
						
						
							
							Update document  
						
						 
						
						
						
						
					 
					
						2015-10-15 19:16:05 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6e2c310fc8 
					 
					
						
						
							
							typo  
						
						 
						
						
						
						
					 
					
						2015-10-15 19:12:59 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						bf6cad986a 
					 
					
						
						
							
							Remove blank line.  
						
						 
						
						
						
						
					 
					
						2015-10-15 11:00:09 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a78e7fbdf7 
					 
					
						
						
							
							Update version & close debug default  
						
						 
						
						
						
						
					 
					
						2015-10-15 01:11:04 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						21448a51e2 
					 
					
						
						
							
							Support multiple A entries refer:  #17  
						
						 
						
						
						
						
					 
					
						2015-10-15 01:08:25 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						dcf31e1b22 
					 
					
						
						
							
							Only redis-backend hosts support wildcard  
						
						 
						
						... 
						
						
						
						I don't break the `/etc/hosts` standard that defined in man pages. 
						
						
					 
					
						2015-10-15 00:40:34 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						44a3923878 
					 
					
						
						
							
							CPU & MEM pprof output  #12  
						
						 
						
						
						
						
					 
					
						2015-10-14 15:21:21 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c37e8c947b 
					 
					
						
						
							
							typo  
						
						 
						
						
						
						
					 
					
						2015-10-14 15:19:28 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c5e01db7b5 
					 
					
						
						
							
							Host records support wildcard  #16  
						
						 
						
						
						
						
					 
					
						2015-10-14 12:41:08 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a320fe0eb7 
					 
					
						
						
							
							Remove useless code  
						
						 
						
						
						
						
					 
					
						2015-10-14 10:37:12 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						cd272bf769 
					 
					
						
						
							
							Pretty log output  
						
						 
						
						
						
						
					 
					
						2015-10-14 01:00:28 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3f70c993a8 
					 
					
						
						
							
							Create Hosts object after the enable option has been checked.  
						
						 
						
						
						
						
					 
					
						2015-10-13 23:29:28 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d0956e90f5 
					 
					
						
						
							
							Add log related configuration.  
						
						 
						
						
						
						
					 
					
						2015-10-13 19:35:29 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0ee6f08a1d 
					 
					
						
						
							
							Use wrapped logger type rather than system raw logger lib.  
						
						 
						
						
						
						
					 
					
						2015-10-13 19:33:51 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8152713ad2 
					 
					
						
						
							
							Log Module  
						
						 
						
						... 
						
						
						
						support file and console handler 
						
						
					 
					
						2015-10-13 18:44:42 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						88badfcf44 
					 
					
						
						
							
							Fix error assert.  
						
						 
						
						
						
						
					 
					
						2015-10-13 18:12:09 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						61f68d2b27 
					 
					
						
						
							
							Reinforced domain regex match  
						
						 
						
						
						
						
					 
					
						2015-07-07 17:32:45 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5c651bacf3 
					 
					
						
						
							
							Oops. Forgot close file handler.  
						
						 
						
						
						
						
					 
					
						2015-06-12 12:04:23 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1b660a33ff 
					 
					
						
						
							
							godns under the MIT license  
						
						 
						
						
						
						
					 
					
						2015-05-25 17:18:57 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						85db0379ae 
					 
					
						
						
							
							Merge branch 'master' of  https://github.com/kenshinx/godns  
						
						 
						
						
						
						
					 
					
						2015-05-07 17:59:22 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						cf02889c62 
					 
					
						
						
							
							Make upstream query interval configurable match the PR  #15  
						
						 
						
						
						
						
					 
					
						2015-05-07 17:58:31 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4cdcc43bc9 
					 
					
						
						
							
							Merge pull request  #11  from tgulacsi/negcache  
						
						 
						
						... 
						
						
						
						Add negative cache 
						
						
					 
					
						2015-02-25 13:50:09 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6bbefe3f18 
					 
					
						
						
							
							Add negative cache  
						
						 
						
						... 
						
						
						
						Cache negative results, too, but only with half TTL, as configured.
Plus get rid of "mesg.Id = req.Id" data race (build with -race flag)
at once without locking.
Found another data race: delete must be protected with Lock,
RLock is not enough. 
						
						
					 
					
						2015-02-13 07:05:12 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						44b4cfa24e 
					 
					
						
						
							
							Update readme  
						
						 
						
						
						
						
					 
					
						2015-02-12 19:22:05 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8e36b0b62a 
					 
					
						
						
							
							Merge branch 'tgulacsi-parallel-nameservers'  
						
						 
						
						
						
						
					 
					
						2015-02-12 17:57:54 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d99d5902a1 
					 
					
						
						
							
							Merged pull request  kenshinx/godns#10  
						
						 
						
						
						
						
					 
					
						2015-02-12 17:19:46 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0eb937934a 
					 
					
						
						
							
							Merge pull request  #8  from tgulacsi/ns-ports  
						
						 
						
						... 
						
						
						
						Allow non-standard nameserver ports 
						
						
					 
					
						2015-02-12 16:31:15 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ef7d8f8fa2 
					 
					
						
						
							
							Remove mutex lock during call dns.ResponseWriter.WriteMsg  
						
						 
						
						... 
						
						
						
						Write io buffer needn't mutex operation.
Refere to kenshinx/godns#1  
						
						
					 
					
						2015-02-12 16:06:09 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8e504da15a 
					 
					
						
						
							
							Adaptive with IPV6 in hosts records.  
						
						 
						
						
						
						
					 
					
						2015-02-12 14:54:02 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f2449642b7 
					 
					
						
						
							
							Allow non-standard namserver ports  
						
						 
						
						... 
						
						
						
						For example Consul uses port 8600.
With this patch, I can add
  nameserver 127.0.0.1#8600
to my godns-specific resolv.conf. 
						
						
					 
					
						2015-02-12 07:27:12 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						81450a3983 
					 
					
						
						
							
							Update hosts records as a regular interval  
						
						 
						
						... 
						
						
						
						1. /etc/hosts will be update cycle instead of update once at the progress run
2. Avoid access redis in each requests 
						
						
					 
					
						2015-02-12 14:09:49 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a5a8615b32 
					 
					
						
						
							
							Keep consistence Host struct  api  
						
						 
						
						
						
						
					 
					
						2015-02-11 18:01:05 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f32122d875 
					 
					
						
						
							
							Remove needless blank line  
						
						 
						
						
						
						
					 
					
						2015-02-11 17:11:32 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ed0dd3006c 
					 
					
						
						
							
							Add link to blog  
						
						 
						
						
						
						
					 
					
						2015-02-11 11:13:05 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b24fe9ac4a 
					 
					
						
						
							
							CodeReviewComments#imports  
						
						 
						
						
						
						
					 
					
						2015-02-10 17:04:57 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5cc38b6668 
					 
					
						
						
							
							#CodeReviewComments# imports standard library  in the first group  
						
						 
						
						
						
						
					 
					
						2015-02-10 17:00:59 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e145ef8873 
					 
					
						
						
							
							Merge pull request  #7  from bigeagle/upstream  
						
						 
						
						... 
						
						
						
						Redis option and only cache successful lookups 
						
						
					 
					
						2015-02-05 23:36:13 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d0f4170e35 
					 
					
						
						
							
							only cache successful lookups  
						
						 
						
						
						
						
					 
					
						2015-02-05 19:38:42 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ccb72deec7 
					 
					
						
						
							
							add option to disable redis  
						
						 
						
						
						
						
					 
					
						2015-02-05 19:37:57 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f1687a6040 
					 
					
						
						
							
							Merge branch 'bigeagle-ip6'  
						
						 
						
						
						
						
					 
					
						2015-02-04 14:38:06 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6e45ca722d 
					 
					
						
						
							
							Append some debug log  
						
						 
						
						
						
						
					 
					
						2015-02-04 14:37:48 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ce840f4f50 
					 
					
						
						
							
							add IPv6 support  
						
						 
						
						
						
						
					 
					
						2015-02-03 20:33:54 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						dd25168945 
					 
					
						
						
							
							Merge pull request  #4  from gabesullice/master  
						
						 
						
						... 
						
						
						
						Fix some spelling and grammar in README.md 
						
						
					 
					
						2014-12-09 09:40:33 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0c9b557f0a 
					 
					
						
						
							
							Fix some spelling and grammar in README.md  
						
						 
						
						... 
						
						
						
						A few minor spelling and grammatical fixes. 
						
						
					 
					
						2014-12-08 10:52:59 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a3f7507c4a 
					 
					
						
						
							
							upadte readme  
						
						 
						
						... 
						
						
						
						fix the misdirect about how to use godns 
						
						
					 
					
						2014-06-05 14:56:14 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1721c1d74b 
					 
					
						
						
							
							Update README.md  
						
						 
						
						
						
						
					 
					
						2014-01-14 23:06:16 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5a8883419b 
					 
					
						
						
							
							Merge pull request  #1  from mvrilo/master  
						
						 
						
						... 
						
						
						
						Atmoic map missing locks 
						
						
					 
					
						2014-01-08 07:34:10 -08:00