Make DNS test standalone.

My spidey sense is tingling... Shared global directory, fixed directory name...  Use ```TMPDIR``` (and provide ```/tmp``` as a default)? Have ```.$$``` (well, okay, ```.$$$$```, thanks to Make) at the end?