【问题标题】:Domain foo.bar points 127.0.53.53 -- why?域 foo.bar 指向 127.0.53.53 -- 为什么?
【发布时间】:2014-10-29 00:46:57
【问题描述】:

我今天刚刚注意到域 foo.bar 解析为 127.0.53.53 (http://foo.bar, http://whois.domaintools.com/foo.bar)

在我的情况下,这最终在 localhost Apache 上,但我想知道为什么注册者不简单地选择指向 127.0.0.1?有什么具体原因吗?

【问题讨论】:

标签: dns localhost


【解决方案1】:

127.0.53.53ICANN to prevent DNS name collisions with the new gTLDs 使用的特殊 IP 地址。

在您的情况下,.bar gTLD 在 2 月份是 delegated。所以127.0.53.53 是对在内部设置中使用 .bar 的人们的一个重要提示,即 .bar 域名将很快在全球 DNS 中使用。

如果您仔细查看foo.bar 记录,您会看到更多信息:

$ dig foo.bar A +short
127.0.53.53
$ dig foo.bar TXT +short
"Your DNS configuration needs immediate attention see https://icann.org/namecollision"
$ dig foo.bar MX +short
10 your-dns-needs-immediate-attention.bar.
$ dig foo.bar SRV +short
10 10 0 your-dns-needs-immediate-attention.bar.

【讨论】:

  • 谁是“我们”?选择 127.0.53.53 是因为它使搜索此问题变得简单。 127.0.0.1 和 127.0.53.53 之间也没有功能差异。
  • Sebastian,TCP/IP 堆栈不会响应发往 127.0.53.53 的请求,但它们会响应发往 127.0.0.1 的请求。这是一个很大的区别。 @jrmgx 是的,使用像 dnsmasq 这样的本地 DNS 服务器并将本地 DNS 指向 127.0.0.1,您可以将 *.bar (或任何东西,真的)解析为您想要的任何内容,包括 127.0.0.1。
  • @GregSchmit ping 127.0.53.53 ;) 系统响应 127/8 下的所有内容。
  • @Sebastian Silly Windows 堆栈会将其分配给 localhost(错误地),但 Unix 系统(例如,OS X 或 FreeBSD)会做正确的事情。 ;) drive.google.com/open?id=0B8A0lXQwAyCiSjZTRFdmNXVNU0U
  • Linux 也响应 127/8 中的所有 IP
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2015-11-22
  • 1970-01-01
  • 2020-04-07
  • 2015-10-24
  • 1970-01-01
  • 2012-02-02
  • 2011-09-13
相关资源
最近更新 更多