网站偶尔不可用 – DNS问题

我的网站有问题( http://www.visikid.pl和www.visikid.com )。 我有webmin和virualmin。 我有一个域作为别名,这个别名(主机:www.visikid.com)有时几分钟不可用。 这可能是DNS问题,因为Chrome显示105(net :: ERR_NAME_NOT_RESOLVED)。

我如何解决这个问题?

什么会导致只有有时网站几分钟不可用(DNS问题)?

首先,在一般的互联网上找不到ns1.visikid:

tsavo:~ mcd$ host -t any visikid.com ns1.visikid.com host: couldn't get address for 'ns1.visikid.com': not found 

您的名称服务器似乎正在回答,但是,有一个SOAlogging指向timesolutions.timesolutions.pl,而不是ns1.visikid.com/ns2.visikid.com:

 tsavo:~ mcd$ host -t any visikid.com 213.239.222.20 Using domain server: Name: 213.239.222.20 Address: 213.239.222.20#53 Aliases: visikid.com mail is handled by 30 ASPMX3.GOOGLEMAIL.com. visikid.com mail is handled by 30 ASPMX4.GOOGLEMAIL.com. visikid.com mail is handled by 30 ASPMX5.GOOGLEMAIL.com. visikid.com mail is handled by 10 ASPMX.L.GOOGLE.com. visikid.com mail is handled by 20 ALT1.ASPMX.L.GOOGLE.com. visikid.com mail is handled by 20 ALT2.ASPMX.L.GOOGLE.com. visikid.com mail is handled by 30 ASPMX2.GOOGLEMAIL.com. visikid.com descriptive text "v=spf1 a mx include:aspmx.googlemail.com include:_spf.google.com ~all" visikid.com has SOA record timesolutions.timesolutions.pl. root.timesolutions.timesolutions.pl. 1265887100 10800 3600 604800 38400 visikid.com name server timesolutions.timesolutions.pl. visikid.com has address 213.239.222.20 tsavo:~ mcd$ host -t ns visikid.com 8.8.8.8 Using domain server: Name: 8.8.8.8 Address: 8.8.8.8#53 Aliases: visikid.com name server timesolutions.timesolutions.pl. 

但是,该域未configuration:

 tsavo:~ mcd$ host timesolutions.timesolutions.pl Host timesolutions.timesolutions.pl not found: 3(NXDOMAIN) $ host timesolutions.timesolutions.pl. 213.239.222.20 Using domain server: Name: 213.239.222.20 Address: 213.239.222.20#53 Aliases: Host timesolutions.timesolutions.pl not found: 5(REFUSED) 

在visikid.com上调整您的SOAlogging,或者修复timesolutions.pl的ACL(如果您要继续使用它)。

您可以使用dig或nslookup(在Windows上)来查找您的域名的DNS:

 dig myhost.example.com 

要么

 nslookup myhost.example.com 

如果名称不能parsing为IP,则可能需要将自己的问题报告给DNS提供商。

科里有正确的想法,但这只会查询您的ISP的DNS服务器,而不是您的域的DNS服务器。

有几点build议:当你的网站遇到DNS问题时,你是否能够到达其他网站? 找出你的域的所有DNS服务器,当你遇到问题时,查询每个DNS服务器,find没有响应的DNS服务器。 如果他们都没有响应,但你仍然可以查询其他的DNS服务器,那么你需要报告给你的主机。

使用任何DNStesting工具将显示您的问题。 最大的:visikid.pl只有一个名称服务器。 如果有任何问题(networking,机器,无论),域名消失。

这是Zonecheck报告的第一个致命错误:

 % zonecheck visikid.pl ZONE : visikid.pl. NS <= : timesolutions.timesolutions.pl. [213.239.222.20] NS : ns1.visikid.pl. [213.239.222.20] NS : ns2.visikid.pl. [213.239.222.20] _____________ ,-------------.| ~~~~ | fatal || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `-------------' f> All addresses should be distinct | Adv: ZoneCheck | To avoid losing all connectivity with the authoritative DNS in case | of network outage it is advised to host the DNS on different networks. | | Ref: IETF RFC2182 (Abstract) | The Domain Name System requires that multiple servers exist for every | delegated domain (zone). This document discusses the selection of | secondary servers for DNS zones. Both the physical and topological | location of each server are material considerations when selecting | secondary servers. The number of servers appropriate for a zone is also | discussed, and some general secondary server maintenance issues | considered. `----- -- -- - - - : The nameservers timesolutions.timesolutions.pl., ns1.visikid.pl., : ns2.visikid.pl. are using the same IP address (213.239.222.20).