Fix non-recursive domain name resolution and add a test for it.