阅读:2284回复:9
有没有插件支持设置某个域名固定IP地址的插件
不是修改host文件那种
我想要做泛解析. 类似于*.abc.com 只要是abc.com域名的.都指定本地或者某个IP 这样的插件有么? 我找了两天也没有找到 |
|
|
1楼#
发布于:2014-07-12 10:35
搜索了一下,没有找到,可能没人做吧。尝试用外部软件吧,像是 Acrylic DNS Proxy。
|
|
2楼#
发布于:2014-07-12 11:19
没见到,有这样扩展在官方中心估计也无法上线把
|
|
|
3楼#
发布于:2014-07-12 13:00
重定向扩展?
|
|
4楼#
发布于:2014-07-14 17:31
Auto Proxy这类型的代理软件不就可以吗, 只有把代理服务器设置为你要的ip, 端口为80就ok了。
|
|
5楼#
发布于:2014-07-15 09:37
|
|
|
6楼#
发布于:2014-07-15 14:44
Acrylic DNS Proxy 可以实现通配符指定ip
|
|
7楼#
发布于:2014-07-19 09:39
google chrome 有 --host-resolver-rules 和 --host-rules 参数
firefox 目前没有可以直接修改 dns 解析结果的方法 监听 http-on-modify-request 替换 httpChannel 大概是一种 workaround 见 http://stackoverflow.com/questions/5205672/modify-url-before-loading-page-in-firefox 但是我没测试成功 |
|
|
8楼#
发布于:2014-07-19 09:43
|
|
|
9楼#
发布于:2014-07-19 09:49
hzhbest:不是这个意思,楼主要的是只属于Firefox用的Host文件相当的功能。回到原帖试了下 http 的确实可以直接走代理 ip:80 来访问 auto proxy 可能不行吧 得 foxyproxy 这种支持调度的才行 https 的不行 示例: >curl bbs.operachina.com -x 59.151.106.253:80 -I HTTP/1.1 200 OK Server: nginx Date: Sat, 19 Jul 2014 01:46:03 GMT Content-Type: text/html; charset=UTF-8 Connection: keep-alive Vary: Accept-Encoding X-Powered-By: PHP/5.3.8 Set-Cookie: cookiexxx Expires: 0 Pragma: no-cache >curl bbs.operachina.com -x 59.151.113.208:80 -I HTTP/1.1 302 Found Server: Tengine Date: Sat, 19 Jul 2014 01:46:39 GMT Content-Type: text/html Content-Length: 258 Connection: keep-alive Location: http://www.oupeng.com/ >curl wiki.operachina.com -x 59.151.106.253:80 -I HTTP/1.1 301 Moved Permanently Server: nginx Date: Sat, 19 Jul 2014 01:48:43 GMT Content-Type: text/html; charset=utf-8 Connection: keep-alive X-Powered-By: PHP/5.3.8 Vary: Accept-Encoding, Cookie Expires: Thu, 01 Jan 1970 00:00:00 GMT Cache-Control: private, must-revalidate, max-age=0 Last-Modified: Sat, 19 Jul 2014 01:48:43 GMT Location: http://wiki.operachina.com/%E9%A6%96%E9%A1%B5 |
|
|