class DNS
{
private:
- char *result;
in_addr *binip;
- int t,i;
+ char* result;
+ int t;
void dns_init();
unsigned int fd;
void dns_init_2(const char* dnsserver);
* query is invalid for some reason, e.g. the dns server not responding.
*/
int GetFD();
+ void SetNS(std::string dnsserver);
};
#endif