removed dns dependency