请求域,但要转到另一个主机 [英] requesting a domain but going to another host

查看:50
本文介绍了请求域,但要转到另一个主机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我所在的地方只能访问5个网站,而我正试图绕过这种限制

so i am in a place where i have access to only 5 websites and i am trying to bypass this restrection

当我尝试浏览这些网站中的任何一个时,我都没有任何问题,例如stackoverflow.com,但是我无法访问1.1.1.1(这是stackoverflow的IP)这意味着阻止其他网站的内容仅允许这5个域无论如何,我可以将Web请求汇总到2.2.2.2,但是在标头中,我正在请求stackoverflow.com绕过此限制

when i try to browse any of those website i don't have any problem, for example stackoverflow.com , but i can't access 1.1.1.1 (which is the ip of stackoverflow) it means that what ever is blocking the other website allow only those 5 domains is there anyway i can sumbit a web request to 2.2.2.2 but in the headers i am requesting stackoverflow.com to bypass this restrection

我不知道dns或简单的http请求是如何工作的,我不了解任何以开头或至少要阅读的东西

i have no idea how does dns or a simple http request work , i aperciate any idea to start with or at least something to read

我也不能更改我的dns服务器

also i can't change my dns servers

推荐答案

您可以在任何telnet应用程序中尝试使用它:

You can try it with any telnet application:

telnet google.com 80

GET / HTTP/1.1
Host: stackoverflow.com

按两次Enter键结束您的请求.

End your request with double enter.

如果您收到html,则代理将使请求通过.

If you receive html then the proxy is letting the request pass.

这篇关于请求域,但要转到另一个主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆