dns sample add fix db creation, and d3pie javascript reference

Change-Id: Id7feb47d8705b92fccf76242fbafc0b16abd5356
Signed-off-by: Luis Chiang <luis@chiang.ec>