tcpiputils/dnd/src/dns.cpp
changeset 66 34ec136802c5
parent 0 af10295192d8
--- a/tcpiputils/dnd/src/dns.cpp	Thu Sep 02 22:05:12 2010 +0300
+++ b/tcpiputils/dnd/src/dns.cpp	Fri Sep 17 08:38:11 2010 +0300
@@ -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: