Each DNS query can return one of the following error codes

Variables

@:enum@:implread onlyADDRGETNETWORKPARAMS:DnsErrorCode

Could not find GetNetworkParams function.

@:enum@:implread onlyBADFAMILY:DnsErrorCode

Unsupported address family.

@:enum@:implread onlyBADFLAGS:DnsErrorCode

Illegal flags specified.

@:enum@:implread onlyBADHINTS:DnsErrorCode

Illegal hints flags specified.

@:enum@:implread onlyBADNAME:DnsErrorCode

Misformatted domain name.

@:enum@:implread onlyBADQUERY:DnsErrorCode

Misformatted DNS query.

@:enum@:implread onlyBADRESP:DnsErrorCode

Misformatted DNS reply.

@:enum@:implread onlyBADSTR:DnsErrorCode

Misformatted string.

@:enum@:implread onlyCANCELLED:DnsErrorCode

DNS query cancelled.

@:enum@:implread onlyCONNREFUSED:DnsErrorCode

Could not contact DNS servers.

@:enum@:implread onlyDESTRUCTION:DnsErrorCode

Channel is being destroyed.

@:enum@:implread onlyEOF:DnsErrorCode

End of file.

@:enum@:implread onlyFILE:DnsErrorCode

Error reading file.

@:enum@:implread onlyFORMERR:DnsErrorCode

DNS server claims query was misformatted.

@:enum@:implread onlyLOADIPHLPAPI:DnsErrorCode

Error loading iphlpapi.dll.

@:enum@:implread onlyNODATA:DnsErrorCode

DNS server returned answer with no data.

@:enum@:implread onlyNOMEM:DnsErrorCode

Out of memory.

@:enum@:implread onlyNONAME:DnsErrorCode

Given hostname is not numeric.

@:enum@:implread onlyNOTFOUND:DnsErrorCode

Domain name not found.

@:enum@:implread onlyNOTIMP:DnsErrorCode

DNS server does not implement requested operation.

@:enum@:implread onlyNOTINITIALIZED:DnsErrorCode

c-ares library initialization not yet performed.

@:enum@:implread onlyREFUSED:DnsErrorCode

DNS server refused query.

@:enum@:implread onlySERVFAIL:DnsErrorCode

DNS server returned general failure.

@:enum@:implread onlyTIMEOUT:DnsErrorCode

Timeout while contacting DNS servers.