为什么所有* .dev域都以我的本地主机为目标? [英] Why all *.dev domains target to my localhost?
问题描述
当您键入* .dev域时,例如juas.dev指向本地主机,有人知道为什么吗?
When you type *.dev domains, for example juas.dev it points to localhost, someone know why ?
(我的主机未修改,并且请求不要走到外面)
(My hosts are not modified, and the request dont go outside)
推荐答案
以该名称查找TXT记录,事情会变得更加清晰:-)
Do a lookup for a TXT record at that name and things will become clearer :-)
.DEV是一个最近注册的顶级域,目前处于初始阶段,在该阶段中植入了一些数据,目的是私下警告使用它的人们他们将要遇到问题。其中一部分是仅返回地址127.0.53.53,该地址足够特殊以在日志文件和类似文件中显而易见,而且还返回127.0.0.0/8块,该块被定义为IPv4的环回。这就是为什么您拥有自己的机器。再过几个月,您几乎肯定会开始获得NXDOMAIN。
.DEV is a recently registered top-level domain, and currently in an initial period where it's seeded with data meant to alert people using it privately that they're about to have a problem. Part of that is to return only the address 127.0.53.53, which is special enough to be obvious in log files and similar, but also in the 127.0.0.0/8 block that is defined as loopback for IPv4. Which is why you get your own machine. In a few months or so, you'll almost certainly start getting NXDOMAINs instead.
这篇关于为什么所有* .dev域都以我的本地主机为目标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!