Add QueryDNS and ResolveParameters functions

Hi Jakob,
I add querydns.cc, querydns.h, add function ResolveParameters() into options.cc, and I also update CMakeLists.txt. Thanks.

Kind Regards,
W.J. Chang