百度 DNS 真是够了

2016-09-06 10:17:43 +08:00
 ajan
百度 DNS 这个流氓,居然悄悄的屏蔽了 我在用的 https://letsgg.tk/ ,前个礼拜还能用,在家里用也是正常的,公司就突然打不开了,今天看了下网络配置里 DNS,填了百度 DNS, 去掉就了能打开,这个配置一值填着,之前也能正常打开。

Last login: Fri Sep 2 09:45:45 on console
JxxxMacBook-Pro:~ Jxxx$ ping letsgg.tk
PING letsgg.tk (8.7.198.45): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4

再一次重新鄙视“百度”! 114 也是一个 B 样!

PS: 我 TM 就想用一下 Google
8188 次点击
所在节点    宽带症候群
30 条回复
QQmlgb
2016-09-06 18:02:19 +08:00
百度:???
AASW2ss
2016-09-07 06:53:47 +08:00
习惯性帅锅给百毒( ̄_, ̄ )
bclerdx
2016-09-07 15:21:34 +08:00
@shiji 这个网站是干嘛用的?
bclerdx
2016-09-07 15:35:22 +08:00
我翻墙可以访问。
lslqtz
2016-09-07 16:00:56 +08:00
@thought www.acgn.ren
其实我也很怕 DNS 污染,用的国内的 CDN 。
thought
2016-09-07 17:07:02 +08:00
@lslqtz 话说怎么用自己的域名访问谷歌啊
lslqtz
2016-09-07 18:57:21 +08:00
@thought 给你个反代配置文件吼不吼啊
thought
2016-09-07 19:00:33 +08:00
@lslqtz 我是滋此的,哈哈,百度了一下好像有,有空试试。
URgoy
2016-09-08 15:35:58 +08:00
那你为啥不用。。
lslqtz
2016-09-09 01:03:33 +08:00
@thought
#user nobody;
#worker_processes 1;

events {
worker_connections 10240;
}

http {
include mime.types;
default_type application/octet-stream;

sendfile on;
keepalive_timeout 60;
client_max_body_size 2m;
server_names_hash_bucket_size 128;

gzip on;
gzip_comp_level 9;
gzip_types text/plain text/css application/javascript;

proxy_cache_path /etc/nginx/tmp levels=1:2 keys_zone=content:128m inactive=1d max_size=30g;

server {
listen 80;
return 403;
}

server {
listen 80;
server_name acgn.ren;
return 301 http://www.acgn.ren$request_uri;
}

server {
listen 80;
server_name www.acgn.ren;

location / {
proxy_cache content;
proxy_cache_valid 200 302 1h;
proxy_cache_valid 404 1m;
proxy_cache_key $host$uri$is_args$args;
proxy_cookie_domain google.com.hk acgn.ren;
proxy_pass https://www.google.com.hk;
proxy_redirect https://www.google.com.hk/ /;
proxy_set_header Accept-Encoding "";
proxy_set_header Accept-Language "zh-CN";
proxy_set_header Cookie $http_cookie;
proxy_set_header Host "www.google.com.hk";
proxy_set_header User-Agent $http_user_agent;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
sub_filter www.google.com.hk www.acgn.ren;
sub_filter www.google.com www.acgn.ren;
sub_filter www.gstatic.com www.acgn.ren/gstatic;
sub_filter ssl.gstatic.com www.acgn.ren/gstatic;
sub_filter id.google.com.hk www.acgn.ren/id;
sub_filter_once off;
}
location /id/ {
proxy_cache content;
proxy_cache_valid 200 302 1h;
proxy_cache_valid 404 1m;
proxy_cache_key $host$uri$is_args$args;
proxy_pass https://id.google.com.hk;
proxy_redirect https://id.google.com.hk/ /;
proxy_set_header Accept-Encoding "";
proxy_set_header Accept-Language "zh-CN";
proxy_set_header Cookie $http_cookie;
proxy_set_header Host "id.google.com.hk";
proxy_set_header User-Agent $http_user_agent;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
sub_filter www.google.com.hk www.acgn.ren;
sub_filter www.google.com www.acgn.ren;
sub_filter_once off;
}
location /gstatic/ {
proxy_cache content;
proxy_cache_valid 200 302 1h;
proxy_cache_valid 404 1m;
proxy_cache_key $host$uri$is_args$args;
proxy_pass https://www.gstatic.com;
proxy_redirect https://www.gstatic.com/ /;
proxy_set_header Accept-Encoding "";
proxy_set_header Accept-Language "zh-CN";
proxy_set_header Cookie $http_cookie;
proxy_set_header Host "www.gstatic.com";
proxy_set_header User-Agent $http_user_agent;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
sub_filter www.google.com.hk www.acgn.ren;
sub_filter www.google.com www.acgn.ren;
sub_filter_once off;
}
}

server {
listen 80;
server_name w.acgn.ren;

location / {
proxy_cache content;
proxy_cache_valid 200 302 1h;
proxy_cache_valid 404 1m;
proxy_cache_key $host$uri$is_args$args;
proxy_cookie_domain wikipedia.org acgn.ren;
proxy_pass https://zh.wikipedia.org;
proxy_redirect https://zh.wikipedia.org/ /;
proxy_set_header Accept-Encoding "";
proxy_set_header Accept-Language "zh-CN";
proxy_set_header Cookie $http_cookie;
proxy_set_header Host "zh.wikipedia.org";
proxy_set_header User-Agent $http_user_agent;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
sub_filter zh.wikipedia.org w.acgn.ren;
sub_filter zh.m.wikipedia.org w.acgn.ren/m;
sub_filter_once off;
}
location /m/ {
proxy_cache content;
proxy_cache_valid 200 302 1h;
proxy_cache_valid 404 1m;
proxy_cache_key $host$uri$is_args$args;
proxy_cookie_domain wikipedia.org acgn.ren;
proxy_pass https://zh.m.wikipedia.org;
proxy_redirect https://zh.m.wikipedia.org/ /;
proxy_set_header Accept-Encoding "";
proxy_set_header Accept-Language "zh-CN";
proxy_set_header Cookie $http_cookie;
proxy_set_header Host "zh.m.wikipedia.org";
proxy_set_header User-Agent $http_user_agent;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
sub_filter zh.wikipedia.org w.acgn.ren;
sub_filter zh.m.wikipedia.org w.acgn.ren/m;
sub_filter_once off;
}
}

server {
listen 80;
server_name loli.wiki www.loli.wiki;
return 301 https://www.loliwiki.org$request_uri;
}

server {
listen 80;
server_name acgvideo.cn;
return 301 http://www.acgvideo.cn$request_uri;
}

server {
listen 80;
server_name www.acgvideo.cn;
return 301 http://www.sora.top$request_uri;
}

server {
listen 80;
server_name acgvideo.me;
return 301 http://www.acgvideo.me$request_uri;
}

server {
listen 80;
server_name www.acgvideo.me;
return 301 http://www.sora.top$request_uri;
}

server {
listen 80;
server_name hardware.name www.hardware.name;
return 301 http://www.hardwareunion.com$request_uri;
}

server {
listen 80;
server_name oreimo.cn oreimo.tech www.oreimo.cn www.oreimo.tech;
return 301 http://www.oreimo.cc$request_uri;
}

server {
listen 80;
server_name osu.pink;
return 301 http://www.osupink.org$request_uri;
#return 301 http://www.osu.pink$request_uri;
}

server {
listen 80;
server_name www.osu.pink;
return 301 http://www.osupink.org$request_uri;
#index index.php index.htm index.html;
#root /var/www/html/osu;

#location ~ .*\.(php|php5)?$ {
#fastcgi_pass unix:/var/run/phpfpm.sock;
#fastcgi_index index.php;
#include fastcgi.conf;
#}
}

server {
listen 80;
server_name ~^(.+).new.osu.pink$;
return 301 https://$1.new.osupink.me;
}

server {
listen 80;
server_name ~^(.+).osu.pink$;
return 301 http://$1.osupink.me;
}

server {
listen 80;
server_name kaba.cx kaba.lol xiankaba.cx xiankaba.com.cn xiankaba.net www.kaba.cx www.kaba.lol www.xiankaba.cx www.xiankaba.com.cn www.xiankaba.net;
return 301 http://www.kaba.tech$request_uri;
}

server {
listen 80;
server_name kaba.tech;
return 301 http://www.kaba.tech$request_uri;
}

server {
listen 80;
server_name www.kaba.tech;
index index.htm index.html;
root /var/www/html/kaba;
}

server {
listen 80;
server_name acgn.xyz;
return 301 http://www.acgn.xyz$request_uri;
}

server {
listen 80;
server_name www.acgn.xyz;
index index.htm index.html;
root /var/www/html/acgn;
}

server {
listen 80;
server_name asd.front.dog;

#location / {
#return 301 https://asd.front.dog;
#}
#location /ncr {
#return 301 http://asd.front.dog/ncr/;
#}
#location /ncr/ {
index index.htm index.html;
root /var/www/html/front;
#}
}

#server {
#listen 443 ssl;
#server_name asd.front.dog;
#index index.htm index.html;
#root /var/www/html/front;
#
#ssl_prefer_server_ciphers on;
#ssl_session_cache shared:SSL:10m;
#ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
#ssl_ciphers EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5;
#ssl_certificate /etc/nginx/2.crt;
#ssl_certificate_key /etc/nginx/2.key;
#
#location /ncr/ {
#return 404;
#}
#}
}

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/304226

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX