If you are not redirected automatically, follow this link to getdns_return_t getdns_context_set_hosts(getdns_context *context, const char *hosts).