Lookup is a DNS lookup utility for iPhone and iPod Touch. It can send queries directly to the IP of the name server you specify, and display the responses.
In portrait orientation there is support for common query types. Rotate to landscape to get more advanced options, or for the larger keyboard.