Add dns support