如何更改 amazon-EC2 实例的 DNS

发布于 2025-01-07 01:58:38 字数 203 浏览 1 评论 0原文

我在 amazon-EC2 上有一个集群计算实例。集群位于美国(区域 1),因此公共 IP 地址来自那里。不幸的是,我需要访问的一些网站无法访问,因为它们识别出 IP 地址来自美国。如果我从实例内部更改 DNS 服务器(就像您通常在 PC 上所做的那样),它将不起作用,因为这是链接到实例的内部网络的问题(我猜)。 我听说过 Route 53 系统,但我不知道它是否适合我。有人可以帮助我吗?

I have a Cluster Compute instance on amazon-EC2. Clusters are located in US (zone 1), therefore the public IP address is from there. Unfortunately some websites that I need to get access to are not accessible, since they recognized that the IP address is from US. If I change DNS servers from inside the instaces (as you can usually do on pc), it doesn't work, because it is a matter of the inside network linked to the instance (I guess).
I heard about the Route 53 system, but I did not understand if it could work out for me or not. Is there anyone that can help me?

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

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

发布评论

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

评论(1

柒七 2025-01-14 01:58:38

我能想到的几种方法。

  1. 将集群托管在不同的可用区
  2. 使用 VPN 服务,例如 StrongVPN
  3. 使用位于美国境外的代理服务器。

使用 DNS 不会对您有帮助,因为 dns 名称将附加到您的实例,并且它始终具有与您的实例相同的 IP。更改 DNS 名称不会改变您的服务器位于美国的事实。

亚马逊还提供 VPN 服务,如果您在美国境外拥有其他提供商的服务器,您可以将集群直接连接到您的非美国网络,从而继承其他网络的 IP。

A few ways I can think of doing it.

  1. Host your cluster in a different AZ
  2. Use a VPN service such as StrongVPN
  3. Use a proxy server that's located outside the US.

Using DNS isn't going to help you as the dns name will be attached to your instance and it will always have the same ip as your instance. Changing the DNS name does not change the fact that your server is located in the US.

Amazon also offers a VPN service if you have servers with another provider outside the US you can directly connect the cluster to your non US network and thus you inherit the IP of the other network.

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