how maredis hosts record

This commit is contained in:
kenshin committed 2013-07-31 10:01:45 +08:00
1 parent fbaf929c2c
commit a73d840e79
1 file changed
+5
+5
View File
@@ -100,6 +100,11 @@ The hosts record is organized with redis hash map. and the key the map is config
redis-key = "godns:hosts" redis-key = "godns:hosts"
``` ```
_Insert hosts records into redis_
```
redis > hset godns:hosts www.sina.com.cn 1.1.1.1
```