how maredis hosts record

This commit is contained in:
kenshin 2013-07-31 10:01:45 +08:00
parent fbaf929c2c
commit a73d840e79
1 changed files with 5 additions and 0 deletions

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
```