WebService problem:The remote name could not be resolved

时间:2021-04-26 01:58:06
今天一早起来,发现网站的通行证瘫痪了,无法显示,立刻上服务器调用通行证,依然如此.提示出错信息如下:

The remote name could not be resolved: 'xx.com'

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The remote name could not be resolved: 'xx.com'

似乎是服务器无法解析,于是直接连webservice的asmx,直接该页无法显示.更加奇怪的是,只有这一台服务器出现了这种情况,其他的服务器均能连上.于是开始怀疑是DNS问题,在出问题的服务器上ping一下通行证服务的域名,发现ping不通,再随便ping一个域名,一样ping不通.
问题看起来就是DNS的了,打电话给IDC,问咋回事,他告诉我XX地区的DNS今天全挂了,叫我换个DNS...不早告诉我,害我忙活了半天,遂换了个DNS,测试,没有问题.
如果有同样问题的朋友,可以参照解决.