Remove external DNS dependency

This makes the test run 10x faster and does not require internet
access for running the tests.