且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

网站无法访问时,与QUOT; WWW"不使用

更新时间:2022-04-10 07:51:29

创建 A记录 CNAME记录一般是解决方案 - 但你的权威DNS

Creating A record and CNAME record usually is the solution - but on your authoritative DNS.

您想要把A和/或CNAME记录到主DNS,没有辅助DNS。有两种方法来DNS它们是:

You will want to put A and/or CNAME records into master DNS, not secondary DNS. There are two approaches to DNS which are:


  1. 权威DNS(主DNS)

  2. 本地DNS(通常驻留在主机/路由器上)(辅助DNS)

事实上 - 这并不简单,因为它可能看起来。拥有自己的工作authoriative DNS,你需要physcially连接到两个不同分隔的IP地址2主机上(eth0的物理连接 - 几乎没有桥接)。由于这是非常复杂和耗时的FPGA实现,这是典型的外包主DNS到DNS提供商(和是在许多我们的一种常见的做法)。

Indeed - it is not simple as it may seemed. To have your own working authoriative DNS, you need 2 host machines physcially connected to two different separated ip addresses (eth0 physical connect - not virtually bridged). Since this is so complicated and time-consuming implemention, it is typical to outsource master DNS to a DNS provider (and is a common practice among many of us).

我有我的一个IP 4台服务器,而我的本地DNS正在我的路由器和主机4机之间管理并它只能在本地网络上大。因为我想在本地网络上被钩住我的域名,我外包我的主DNS到 http://dnsimple.com (还有其他的DNS提供商的竞争对手),因此它会直接管理我的域名。因此,这作为一个权威DNS,被称为主DNS。

I have 4 servers on my one ip, and my local DNS are being managed in between my router and 4 host machines and it works great on local network ONLY. Since I wanted the local network to be hooked to my domain, I outsourced my master DNS to http://dnsimple.com (there are other DNS provider competitors), so it'd manage my domain directly. This therefore functions as an authoritative DNS, known as master DNS.

您正试图解决这一问题,应重点向主DNS,没有辅助DNS(局域网),因为它会无法正常工作。如果你通过了一个注册公司或网络托管公司您的域名,你应该能够找到您的帐户设置/管理与公司(例如,C-面板)...不是你的本地网络上的DNS。

The issue you are trying to fix should be focused toward master DNS, not secondary DNS (local network) as it'd not work. If you got your domain via a registrar company or a web-hosting company, you should be able to find the setting/management on your account with the company (for example, C-Panel)...not DNS on your local network.

编辑:这是一个工具,我总是使用,是一个很大的好处应对下DNS /域名的问题。我不知道我会不会完成它。 http://www.dnsstuff.com/tool​​s

EDITED: This is a tool that I always use and is a great benefit in tackling down DNS / Domain issues. I dont know what I'd have done without it. http://www.dnsstuff.com/tools