adding dns support (WIP)