unit tests or DNS() method