2017-04-10 94 views
0

我已經瀏覽了這裏的文檔,我覺得我在這裏錯過了一些東西。一位朋友在GoDaddy上更改了他的名字服務器。我沒有看到他做了什麼,但他得到這個錯誤:更改名稱服務器時'/ park'應用程序中的服務器錯誤

Server Error in '/park' Application. 

No such host is known 

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.Sockets.SocketException: No such host is known 

Source Error: 


Line 140:  } 
Line 141: 
Line 142:  if (InRange(System.Net.Dns.GetHostEntry(_parkedDomainProvider.Value.DomainName).AddressList[0].ToString()) == false) 
Line 143:  { 
Line 144:   Response.Clear(); 

Source File: d:\Sites\CDS\cds\controllers\page-controller.aspx.cs Line: 142 

Stack Trace: 


[SocketException (0x2af9): No such host is known] 
    System.Net.Dns.GetAddrInfo(String name) +6666430 
    System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6) +106 
    System.Net.Dns.GetHostEntry(String hostNameOrAddress) +109 
    CDSPageControllers_page_controller.get_DocumentRoute() in d:\Sites\CDS\cds\controllers\page-controller.aspx.cs:142 
    Atlantis.Framework.Web.CDSContent.CDSContentPageControllerBase.WhiteListCheck() +39 
    Atlantis.Framework.Web.CDSContent.CDSContentPageControllerBase.OnPreInit(EventArgs e) +28 
    System.Web.UI.Page.PerformPreInit() +37 
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1104 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1087.0 

我不熟悉這個情況發生變化的域名服務器後,我不清楚他是否可能沒有刷新DNS,還是其他什麼原因我看到ASP.NET被引用在底部,這個網站應該指向一個Linux服務器。

+0

他改變名稱服務器多久了? – mason

+0

就像10分鐘前,這只是傳播過程的一部分嗎?這是你在做什麼? – Daniel

+0

是的...... DNS更新可能需要一點時間。我在等待24小時後才報警。 – mason

回答

1

DNS可能需要24-48小時才能傳播到所有DNS服務器。所以有些人可能仍然指着舊的服務器。

看起來主機在服務器上有某種「停放」着陸頁,並且它有錯誤。由於該停放應用程序在ASP.NET中,並且您的應用程序不是ASP.NET,所以您不必擔心。

我會再檢查幾個小時,看它是否指向正確的位置。

相關問題