如何模拟从不同位置浏览?

发布于 2024-07-26 19:30:36 字数 122 浏览 4 评论 0原文

我想从不同地点检查特定网站。 例如,我看到一个来自美国的网站 example.com,它运行良好。 欧洲的同事说他看不到该站点(出现 dns 错误)。

有什么办法可以让我自己检查一下而不是每次都问他吗?

I want to check a particular website from various locations. For example, I see a site example.com from the US and it works fine. The colleague in Europe says he cannot see the site (gets a dns eror).

Is there any way I can check that for my self instead of asking him every time?

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

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

发布评论

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

评论(7

小梨窩很甜 2024-08-02 19:30:36

这是一种自我推销,但我构建了一个工具来做到这一点,您可能会发现有用,称为 GeoPeeker

它从分布在世界各地的服务器远程访问站点,使用 webkit 渲染页面并发回图像。 它还会报告该位置显示的站点的 IP 地址和 DNS 信息。

没有广告,而且它非常简化地服务于这一目的。 它仍在开发中,欢迎反馈。 希望除了我自己之外的其他人也能发现它有用!

This is a bit of self promotion, but I built a tool to do just this that you might find useful, called GeoPeeker.

It remotely accesses a site from servers spread around the world, renders the page with webkit and sends back an image. It will also report the IP address and DNS information of the site as it appears from that location.

There are no ads, and it's very stream-lined to serve this one purpose. It's still in development, and feedback is welcome. Here's hoping somebody besides myself finds it useful!

淡淡绿茶香 2024-08-02 19:30:36

有时,某个网站无法在我的电脑上运行,我想知道这是该网站的问题还是我本地的问题(例如我的 ISP、路由器等)。

检查网站并避免使用本地网络资源(从而避免由它们引起的任何问题)的最简单方法是使用网络代理,例如 Proxy.org

Sometimes a website doesn't work on my PC and I want to know if it's the website or a problem local to me(e.g. my ISP, my router, etc).

The simplest way to check a website and avoid using your local network resources(and thus avoid any problems caused by them) is using a web proxy such as Proxy.org.

云柯 2024-08-02 19:30:36

那么,DNS 在全球范围内应该是相同的,不是吗? 当然,您的新 DNS 记录可能需要一天左右的时间才能传播到世界各地。 因此,要么是你的同事出了问题,要么是 DNS 记录仍然需要一些时间...

我通常使用在线 DNS 查找工具,例如 http://network-tools.com/

它也可以检查您的 HTTP 标头。 只有位于欧洲的代理会更好。

Well, DNS should be the same worldwide, wouldn't it? Of course it can take up to a day or so until your new DNS record is propagated around the world. So either something is wrong on your colleague's end or the DNS record still takes some time...

I usually use online DNS lookup tools for that, e.g. http://network-tools.com/

It can check your HTTP header as well. Only a proxy located in Europe would be better.

迷乱花海 2024-08-02 19:30:36

除了使用多个代理或代理网络之外,您可能还想尝试 planet-lab。 (周围可能还有其他类似的机构)。

社交解决方案是在某个板上发布一个问题,询问您正在寻找代表您请求的志愿者。 (他们只需要在代理配置中允许一个目标,因此成为垃圾邮件妓女的危险相对较低。)您应该准备凭据,以确保您的合作伙伴声称目标确实是您的计算机的真实性。

Besides using multiple proxies or proxy-networks, you might want to try the planet-lab. (And probably there are other similar institutions around).

The social solution would be to post a question on some board that you are searching for volunteers that proxy your requests. (They only have to allow for one destination in their proxy config thus the danger of becoming spam-whores is relatively low.) You should prepare credentials that ensure your partners of the authenticity of the claim that the destination is indeed your computer.

野生奥特曼 2024-08-02 19:30:36

DNS 信息缓存在许多地方。 如果您在欧洲有服务器,您可能想尝试通过它进行代理

DNS info is cached at many places. If you have a server in Europe you may want to try to proxy through it

泡沫很甜 2024-08-02 19:30:36

这取决于该位置是由不同位置的不同 DNS 解析检测到的,还是由您浏览的 IP 地址检测到的。

如果是通过 DNS,您只需修改主机文件以指向欧洲使用的服务器即可。 让您的朋友 ping 该地址,看看它是否与您决定的地址不同。

要从不同的 IP 地址进行浏览:

您可以租用 VPS 服务器。 您可以使用 putty / SSH 充当代理。 我时不时地使用我在美国租用的 VPS 服务器从美国进行浏览。

在远程主机上拥有一个帐户可能就足够了,也可能还不够。 遗憾的是,即使我有 ssh 访问权限,我的 dreamhost 帐户也不允许代理。

It depends on wether the locatoin is detected by different DNS resolution from different locations, or by IP address that you are browsing from.

If its by DNS, you could just modify your hosts file to point at the server used in europe. Get your friend to ping the address, to see if its different from the one yours resolves to.

To browse from a different IP address:

You can rent a VPS server. You can use putty / SSH to act as a proxy. I use this from time to time to brows from the US using a VPS server I rent in the US.

Having an account on a remote host may or may not be enough. Sadly, my dreamhost account, even though I have ssh access, does not allow proxying.

天邊彩虹 2024-08-02 19:30:36

唯一想到的就是使用位于欧洲的代理服务器。 要么让你的同事设置一个(如果可能),要么找到一个免费代理。 快速的 Google 搜索显示 http://www.anonymousinet.com/ 作为最佳结果。

The only thing that springs to mind for this is to use a proxy server based in Europe. Either have your colleague set one up [if possible] or find a free proxy. A quick Google search came up with http://www.anonymousinet.com/ as the top result.

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