kenshinx
88badfcf44
Fix error assert.
2015-10-13 18:12:09 +08:00
kenshinx
61f68d2b27
Reinforced domain regex match
2015-07-07 17:32:45 +08:00
kenshinx
5c651bacf3
Oops. Forgot close file handler.
2015-06-12 12:04:23 +08:00
kenshinx
1b660a33ff
godns under the MIT license
2015-05-25 17:18:57 +08:00
kenshinx
85db0379ae
Merge branch 'master' of https://github.com/kenshinx/godns
2015-05-07 17:59:22 +08:00
kenshinx
cf02889c62
Make upstream query interval configurable match the PR #15
2015-05-07 17:58:31 +08:00
kenshin
4cdcc43bc9
Merge pull request #11 from tgulacsi/negcache
...
Add negative cache
2015-02-25 13:50:09 +08:00
Tamás Gulácsi
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
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
bigeagle
3df6ec09f3
Specify server in server-list-file
2015-02-04 16:21:08 +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
b3b3939122
only cache successful lookups
2015-02-03 23:20:36 +08:00
bigeagle
0728359489
redis-enable is now in hosts
2015-02-03 23:09:20 +08:00
bigeagle
952f39ddf2
add option to disable redis
2015-02-03 23:03:47 +08:00
bigeagle
624a46fddc
dnsmasq style domain specific server supported
2015-02-03 22:53:57 +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