add dns support