Clean up dns resolver code a bit

To enable ipv6 resolution on W32 teredo must be enabled:
netsh interface teredo set state <enterpriseclient | client>

git-svn-id: https://gnunet.org/svn/gnunet@31393 140774ce-b5e7-0310-ab8b-a85725594a96