fix ddns-server

Signed-off-by: Clyde Huang <yonglin.huang@maxwit.com>