tcpiputils/dnd/src/dns.cpp
changeset 56 ea8d11a88e23
parent 0 af10295192d8
--- a/tcpiputils/dnd/src/dns.cpp	Wed Aug 25 09:23:03 2010 +0530
+++ b/tcpiputils/dnd/src/dns.cpp	Mon Aug 30 12:20:22 2010 +0530
@@ -934,7 +934,9 @@
 		case EDnsRcode_FORMAT_ERROR:
 			return KErrDndFormat;
 		case EDnsRcode_SERVER_FAILURE:
-			return KErrDndServerFailure;
+		    /*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 ???-- 
+            return KErrDndServerFailure;  */
+            return KErrDndServerUnusable;
 		case EDnsRcode_NAME_ERROR:
 			return KErrDndBadName;
 		case EDnsRcode_NOT_IMPLEMENTED: