Commit Graph

49 Commits

Author SHA1 Message Date
kenshinx cf02889c62 Make upstream query interval configurable match the PR #15 2015-05-07 17:58:31 +08:00
kenshinx 44b4cfa24e Update readme 2015-02-12 19:22:05 +08:00
kenshinx 8e36b0b62a Merge branch 'tgulacsi-parallel-nameservers' 2015-02-12 17:57:54 +08:00
kenshinx d99d5902a1 Merged pull request kenshinx/godns#10 2015-02-12 17:19:46 +08:00
kenshin 0eb937934a Merge pull request #8 from tgulacsi/ns-ports
Allow non-standard nameserver ports
2015-02-12 16:31:15 +08:00
kenshinx 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
kenshinx 8e504da15a Adaptive with IPV6 in hosts records. 2015-02-12 14:54:02 +08:00
Tamás Gulácsi 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
kenshinx 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
kenshinx a5a8615b32 Keep consistence Host struct api 2015-02-11 18:01:05 +08:00
kenshinx f32122d875 Remove needless blank line 2015-02-11 17:11:32 +08:00
kenshinx ed0dd3006c Add link to blog 2015-02-11 11:13:05 +08:00
kenshinx b24fe9ac4a CodeReviewComments#imports 2015-02-10 17:04:57 +08:00
kenshinx 5cc38b6668 #CodeReviewComments# imports standard library in the first group 2015-02-10 17:00:59 +08:00
kenshin e145ef8873 Merge pull request #7 from bigeagle/upstream
Redis option and only cache successful lookups
2015-02-05 23:36:13 +08:00
bigeagle d0f4170e35 only cache successful lookups 2015-02-05 19:38:42 +08:00
bigeagle ccb72deec7 add option to disable redis 2015-02-05 19:37:57 +08:00
kenshinx f1687a6040 Merge branch 'bigeagle-ip6' 2015-02-04 14:38:06 +08:00
kenshinx 6e45ca722d Append some debug log 2015-02-04 14:37:48 +08:00
bigeagle ce840f4f50 add IPv6 support 2015-02-03 20:33:54 +08:00
kenshin dd25168945 Merge pull request #4 from gabesullice/master
Fix some spelling and grammar in README.md
2014-12-09 09:40:33 +08:00
Gabe Sullice 0c9b557f0a Fix some spelling and grammar in README.md
A few minor spelling and grammatical fixes.
2014-12-08 10:52:59 -07:00
kenshin a3f7507c4a upadte readme
fix the misdirect about how to use godns
2014-06-05 14:56:14 +08:00
kenshin 1721c1d74b Update README.md 2014-01-14 23:06:16 +08:00
kenshin 5a8883419b Merge pull request #1 from mvrilo/master
Atmoic map missing locks
2014-01-08 07:34:10 -08:00
Murilo Santana 82294d7f01 locks 2013-12-12 10:31:26 -02:00
kenshinx d155233225 spell error 2013-11-05 00:50:12 +08:00
kenshinx 59a7bd0169 supervisord deployment 2013-08-21 11:37:28 +08:00
kenshinx f87c1fd61b joke - the web console for god's 2013-08-15 10:58:11 +08:00
kenshin 69c00b85e4 add compiled executed file 2013-08-05 10:48:07 +08:00
kenshin 8604a21888 update benchmark enviroment and result. 2013-07-31 15:57:12 +08:00
kenshin 272af1e39f syntax error. 2013-07-31 10:43:50 +08:00
kenshin a73d840e79 how maredis hosts record 2013-07-31 10:01:45 +08:00
kenshin fbaf929c2c append specification 2013-07-29 17:30:10 +08:00
kenshin b4aa3045ef rename README.MD to README.md 2013-07-27 00:30:59 +08:00
kenshin 6066570359 add comment about hosts configuration 2013-07-27 00:29:19 +08:00
kenshin 3d88269c95 renew benchmark 2013-07-27 00:10:17 +08:00
kenshin 9ddf8a8939 finally. fix hosts query 2013-07-26 18:54:19 +08:00
kenshin d22885557f read local hosts file 2013-07-26 12:06:16 +08:00
kenshin 2b4e076674 add benchmark test 2013-07-25 12:32:57 +08:00
kenshin 84d878c03d cache add expire strategy 2013-07-25 00:09:07 +08:00
kenshin 01705a5019 remove interface 2013-07-24 22:47:39 +08:00
kenshin f30e0ba257 add redid cache backend in todo list 2013-07-24 22:40:18 +08:00
kenshin 0dfc4bf100 refactor memory cache into map[string]dns.Msg 2013-07-24 19:01:31 +08:00
kenshin 51be27eee9 memory cache with map[string]string 2013-07-24 18:48:43 +08:00
kenshin 57304bf910 Memory cache implemented 2013-07-24 18:29:38 +08:00
kenshin 2d49200a53 exception handle 2013-07-24 10:52:59 +08:00
kenshin 22a31dcd98 The recursion resolve can work 2013-07-24 00:37:38 +08:00
kenshin 5349b53416 first commit 2013-07-23 19:10:38 +08:00