This now will do the first query (partly based on jinmei's example code).
Verbose is on by default. Can use second argument for the server to use. TODO: split into different functions and do AAAA and MX also and show results. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@165 e5f2f494-b856-4b98-b285-d166d9295462