接受 xxx.1.2.3.4.theservice.com 并解析为 IP 1.2.3.4 的服务

发布于 2024-07-19 05:16:14 字数 253 浏览 2 评论 0原文

有谁知道有一个免费服务可以使用 xxx.1.2.3.4.theservice.com 并解析为 IP 1.2.3.4?

我需要这个,以便我可以启动 ec2 盒子并将我的 selenium 测试脚本指向它们。 我只想使用 IP,但我需要子域才能工作。 或者有其他方法可以实现相同的目标吗? 我不想弄乱测试计算机上的主机文件。

更具体地说,我需要一个 dns 条目 X,以便 music.X、www.X 和 mail.X 全部解析到我的 IP。

Does anyone know of a free service that's out there that takes xxx.1.2.3.4.theservice.com and resolves to IP 1.2.3.4?

I need this so that I can launch ec2 boxes and point my selenium test scripts at them. I would just use IPs but I need the subdomains to work. Or is there some alternative way to accomplish the same goal? I don't want to mess with the hosts files on my test computers.

More specifically, I need a dns entry X such that music.X and www.X and mail.X to all resolve to my IP.

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

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

发布评论

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

评论(1

落在眉间の轻吻 2024-07-26 05:16:14

听起来您需要做的是设置自己的内部 DNS 服务器。

您可以创建任何您想要的域,并且您指向该服务器的任何系统都将使用您创建的条目。

It sounds like what you need to do is set up your own internal DNS server.

You can create whatever domains you want, and any systems you point to that server will use the entries you create.

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