tcpiputils/dnd/src/dns.cpp
changeset 66 34ec136802c5
parent 0 af10295192d8
equal deleted inserted replaced
60:d69860d28da4 66:34ec136802c5
   932 		case EDnsRcode_NOERROR:
   932 		case EDnsRcode_NOERROR:
   933 			break;
   933 			break;
   934 		case EDnsRcode_FORMAT_ERROR:
   934 		case EDnsRcode_FORMAT_ERROR:
   935 			return KErrDndFormat;
   935 			return KErrDndFormat;
   936 		case EDnsRcode_SERVER_FAILURE:
   936 		case EDnsRcode_SERVER_FAILURE:
   937 			return KErrDndServerFailure;
   937 		    /*In case the server returns the server failure, we just ignore the error code and treat it as server unusable. so that the query is sent to the other available servers for resolution. Need more reasonable solution ???-- 
       
   938             return KErrDndServerFailure;  */
       
   939             return KErrDndServerUnusable;
   938 		case EDnsRcode_NAME_ERROR:
   940 		case EDnsRcode_NAME_ERROR:
   939 			return KErrDndBadName;
   941 			return KErrDndBadName;
   940 		case EDnsRcode_NOT_IMPLEMENTED:
   942 		case EDnsRcode_NOT_IMPLEMENTED:
   941 			return KErrDndNotImplemented;
   943 			return KErrDndNotImplemented;
   942 		case EDnsRcode_REFUSED:
   944 		case EDnsRcode_REFUSED: