要解析为 127.0.0.1 的公共通配符域名

发布于 2024-08-07 14:27:18 字数 1549 浏览 3 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(17

沫离伤花 2024-08-14 14:27:18

*.vcap.me

VMWare 为其开放云平台

*.vcap.me

VMWare maintains this for their open cloud platform.

与之呼应 2024-08-14 14:27:18

37Signals 创建了一个完整的域,用于映射到您想要的任何 IP,http://xip.io。因此,对于 localhost,您可以使用 project.127.0.0.1.xip.io

我不得不开始将其用于某些代理工具,因为它们对未使用外部 DNS 调用解析为 IP 的请求感到窒息。

37Signals created a complete domain for mapping to any IP you want, http://xip.io. So for localhost you can using project.127.0.0.1.xip.io

I've had to starting using this for some proxy tools, as they were choking on request that didn't resolved to an IP using an external DNS call.

放我走吧 2024-08-14 14:27:18

我刚刚找到了一个很好的解决方案:lvh.me

你可以尝试一下:

I've just found a great solution: lvh.me

you can try it:

晌融 2024-08-14 14:27:18

我们有一个您可以真正记住的域名。

*.lacolhost.com

我们将尽我们所能维护它。

使用子域进行开发变得更加容易: *.lacolhost.com

We've got a domain you can actually remember for this.

*.lacolhost.com

We'll maintain it for as long as we're able.

Developing with subdomains just got a lot easier: *.lacolhost.com

望喜 2024-08-14 14:27:18

http://localhost.tv 可以解决问题:-)

我购买了,因为现有的 85 个 localhost 域都没有指向 localhost ...

http://localhost.tv does the trick :-)

I bought since none of the existing 85 localhost domains were pointing at localhost...

花开柳相依 2024-08-14 14:27:18

注意:该域现已失效,因此无法按如下所述工作。

看起来 *.127-0-0-1.org.uk 会满足您的需要。

http://www.ecclestoad.co.uk/ 2006/08/dns-entry-pointing-to-localhost

示例:

Note: This domain has now lapsed so won't work as described below.

It looks like *.127-0-0-1.org.uk will do what you need.

http://www.ecclestoad.co.uk/2006/08/dns-entry-pointing-to-localhost

Examples:

荒路情人 2024-08-14 14:27:18

http://*.localtest.me 似乎可以工作,除了 readme.localtest.me 。

http://*.localtest.me seems to work, except readme.localtest.me.

感情旳空白 2024-08-14 14:27:18

如果没有别的事,您可以为自己注册一个域并对其进行设置,以便它的行为方式。

If nothing else, you could just register a domain for yourself and set it up so that's how it behaves.

像你 2024-08-14 14:27:18

您可以访问 http://afraid.org 并注册一个.. 您可以获得免费域名(以及子域名,但是您可以完全控制 A 和 NS 以及此类记录)并将第一个点设置为 127.0.0.1。他们支持通配符

You can go to http://afraid.org and register one.. You can get free domains(well subdomains, but you have complete control over A and NS and such records) and point one at 127.0.0.1. They support wild-cards

魂归处 2024-08-14 14:27:18

请随意使用 *.localhst.co.uk(注意缺少第二个“o”)。只要我还活着,我就会让它活下去,而且互联网仍然是一个东西。对于想要测试两个级别 TLD 的人来说非常方便。

Feel free to use *.localhst.co.uk (note missing second 'o'). I'll keep it alive as long as I am, and the internet is still a thing. Handy for people who want to test with two levels of TLD.

清晨说晚安 2024-08-14 14:27:18

如果您使用的是 Windows DNS,您可以创建一个新区域,然后使用 DnsCmd 为 @ 和 * 添加 A 记录。

dnscmd /RecordAdd local * 3600 A 127.0.0.1
dnscmd /RecordAdd local @ 3600 A 127.0.0.1

If you are using Windows DNS, you can create a new zone, then you DnsCmd to add A records for @ and *.

dnscmd /RecordAdd local * 3600 A 127.0.0.1
dnscmd /RecordAdd local @ 3600 A 127.0.0.1
滿滿的愛 2024-08-14 14:27:18

为什么不在 URL 中使用文字 IP 地址?

  • http://127.0.0.1/(旧 IPv4)
  • http://[::1]/(新 IPv6)

Why not using the literal IP address in the URL?

  • http://127.0.0.1/ (old IPv4)
  • http://[::1]/ (new IPv6)
樱娆 2024-08-14 14:27:18

为 127.0.0.1:www.mouse-potato.com

该域名解析

This domain resolves to 127.0.0.1:

www.mouse-potato.com

风吹短裙飘 2024-08-14 14:27:18

somesite.com 是我知道的第一个网站,但是我在这里发现了一大堆

http:// www.websiteoutlook.com/www.somesite.com

检查其他 20 个站点是否指向 127.0.0.1。我不知道这些网站将继续指向 127.0.0.1 多久。

somesite.com is the first one I knew about, however I found a whole bunch here

http://www.websiteoutlook.com/www.somesite.com

Check the 20 other sites point to 127.0.0.1. I have no idea how long these sites will stay pointing to 127.0.0.1.

耳根太软 2024-08-14 14:27:18

我已经设置了我自己的,您可以使用:

home.pdobson.com resloves to 127.0.0.1

I have set up my own that you can use:

home.pdobson.com resloves to 127.0.0.1

酸甜透明夹心 2024-08-14 14:27:18

C:\WINDOWS\system32\drivers\etc 中的主机文件应该能够做到这一点,只需添加一行,如下所示:

127.0.0.1 www.mydomain.com

此外,使用像 apache 这样的服务器或像 wamp 这样的程序,然后转到 < a href="http://localhost" rel="nofollow noreferrer">http://localhost

Your hosts file in C:\WINDOWS\system32\drivers\etc ought to be able to do this, just add one single line like this:

127.0.0.1 www.mydomain.com

Additionally, use a server like apache or a program with it like wamp, and just go to http://localhost

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文