域名遭ISP运营商劫持302跳转到localhost无法访问

1月 10, 2019 by · 5 Comments 

忽然发现自己的博客打不开了是一种怎样的体验?无论如何刷新重新访问总是跳转到loalhost。

造成这种问题的可能性比较多,比如本地浏览器遭遇病毒、服务器端文件被篡改,或者dns解析出错,当然还可能是遭运营商ISP劫持域名。

傅老师逐一做了以下排除:

1、cmd->ping www.mr-fu.com
DNS解析是正确的

2、使用VPN用国外IP访问
没有跳转,网页显示正常

3、本地分别换用电信、移动、联通访问,并分别使用firefox、ie、chrome等不同浏览器访问
故障依旧,总会302跳转到http://localhost

4、使用手机访问
只要是走本地wifi环境就会302跳转到localhost。
只要是走VPN访问就正常

5、FTP看了下博客代码,没有被篡改的迹象。

使用浏览器审查元素发现访问博客的ip和端口都正确,但就是会302跳转到http://localhost。初步怀疑是无耻的ISP运营商劫持了域名。为了证实它,傅老师新建了一个二级域名test.mr-fu.com,并做A记录到IP:123.125.115.110(百度的一个IP节点)。

域名解析很快就生效了:

接下来网页打开http://test.mr-fu.com审查元素:

这个页面被劫持后302跳转到了localhost,一目了然,运营商真tmd黑。再用linux来看看:

原本为了对抗小米360这类垃圾公司,傅老师早想上https的,无奈一直忙于其他事务无暇顾及,这次看来是找不到借口再拖了!

2019.5.25晚10:42更新:
终于加上了SSL证书,不怕小米360之流了!

——本文最后由傅老师于2019-05-25编辑过

使徒行者2中的BBC Bank(www.bbcbank.com.hk)是个什么银行?

10月 9, 2017 by · Leave a Comment 

国庆节最后两天复习了一遍《使徒行者》,没想到《使徒行者2》就在国庆节前开播了,目前已经更新到20级。

有的同学可能没看过《使徒行者》,因此觉得《使徒行者2》“看不懂”,其实第二部和前一部的衔接点就是覃欢喜的警队被黑手删除那个细节,虽然《使徒行者2》中有个“2”,但这并不是前一部的续集,而是前篇,明白了这个意思,看起来就一目了然了。其实《使徒行者2》的英文名字已经清楚告诉你了,第二部的真实名字是“使徒行者-前篇”:Line Walker: The Prelude

在《使徒行者2》的第20集13分钟出现了一个给Mr. White转账的网上银行,网址是http://www.bbcbank.com.hk。

查了一下,好像不存在一个叫做BBC Bank的银行,www.bbcbank.com.hk这个域名也从未被注册过!




再深究一下发现,香港域名中含有bank字样的话要注册还需要提交一些材料:

To register domain names contain ‘bank’ or related words, the registrant should be a licensed bank registered in Hong Kong or having the written consent by Monetary Authority. For details, please refer to Clause 7.5 of HKIRC Domain Name Registration Policies, Procedures and Guidelines.

——本文最后由傅老师于2017-10-09编辑过

Godaddy狗爹中国本地化搞得不错了,不过并不是在中国大陆

2月 4, 2016 by · Leave a Comment 

现在打开godaddy的官网:www.godaddy.com,它会自动为你展示中文网页,稍微浏览一下,其内容和以前相比都本地化了,除了中文的页面,还有中国大陆本土的400的联系方式(+86)的,邮件上说现在godaddy还有中文客服(注意不是“中国客服”)能够接听电话,乍一看像是godaddy来华投资捞金了。

当然其实godaddy并未来华(当然即便是它想来,中国也未必容得下),godaddy借用其新加坡团队搞的,傅老师记得去年还是前年的时候godaddy推出了新加坡主机,当然速度并不咋地,看来godaddy开始重视中国网络从业者的域名注册需求了。

Godaddy是什么?
Godaddy是全球最大的域名注册商,中国业内取其昵称“狗爹”。

Godaddy遭屏蔽
在谷歌退华之前,Godaddy的域名解析服务器就遭遇大面积屏蔽,以至当时不少国内的用户将DNS服务器转至DNSPOD,甚至转移注册商。现在的情况要好一点了。

Godaddy的域名服务
马云家的net.cn和godaddy相比根本就不是一个档次上的注册商(当然cn类域名不算),这样描述相信业外人士也心里有底了。
从域名解析上来讲,好像godaddy没有开放其“Godaddy DNS API”,至少傅老师还没在其官网上找到,这一点DNSPOD要比它好。
另外Godaddy的域名whois保护太贵了。

Godaddy的虚拟主机服务
Godaddy给每一个注册的域名都都赠送一个免费的虚拟主机,而且它的虚拟主机也是很强悍的。
Godaddy的VPS太贵了,真心不划算!

国际顶级域名一览

——本文最后由傅老师于2016-02-04编辑过

域名一览:包括国际顶级域名,国别域名和中国地方行政域名

1月 27, 2016 by · Leave a Comment 

最近一个项目需要用到所有的顶级域名后缀,于是傅老师花了6分钟整理了一下,包括了最新的.dog, .love这样的域名,但是不包括非字母的域名,例如“.中国”、“.移动”这样的。可能还有不足,敬请帮助补充。

.cn
.com.cn
.net.cn
.org.cn
.gov.cn
.ac.cn
.bj.cn
.sh.cn
.tj.cn
.cq.cn
.he.cn
.sx.cn
.nm.cn
.ln.cn
.jl.cn
.hl.cn
.js.cn
.zj.cn
.ah.cn
.fj.cn
.jx.cn
.sd.cn
.ha.cn
.hb.cn
.hn.cn
.gd.cn
.gx.cn
.hi.cn
.sc.cn
.gz.cn
.yn.cn
.xz.cn
.sn.cn
.gs.cn
.qh.cn
.nx.cn
.xj.cn
.tw.cn
.hk.cn
.mo.cn
.com
.com.hk
.com.cm
.co.uk
.co.kr
.co.in
.net
.org
.me
.de
.lu
.biz
.name
.asia
.info
.mobi
.ac
.ag
.am
.at
.be
.bz
.ca
.cc
.ch
.cm
.cn.com
.co
.com.co
.net.co
.cx
.cz
.dk
.es
.eu
.fm
.fr
.gd
.gs
.hk
.hn
.ht
.im
.in
.io
.it
.jp
.ki
.la
.lc
.li
.lt
.md
.mn
.ms
.mu
.mx
.nl
.nu
.pe
.pl
.re
.ru
.sc
.se
.sg
.sh
.tc
.tk
.tl
.tm
.tv
.tw
.us
.vc
.vg
.as
.to
.af
.cl
.tt
.se.com
.no.com
.qc.com
.sa.com
.za.com
.com.sb
.net.sb
.org.sb
.gg
.je
.lv
.ro
.com.cm
.gl
.ws
.com.ht
.net.ht
.tel
.com.im
.so
.com.so
.net.so
.gy
.mg
.com.de
.ph
.ec
.com.sg
.pt
.pw
.is
.co.za
.sx
.bike
.clothing
.guru
.singles
.holdings
.academy
.berlin
.blue
.builders
.buzz
.cab
.camera
.camp
.careers
.center
.ceo
.coffee
.company
.computer
.construction
.contractors
.diamonds
.directory
.domains
.education
.email
.enterprises
.equipment
.estate
.florist
.gallery
.gift
.glass
.graphics
.guitars
.holiday
.house
.institute
.international
.kim
.kitchen
.land
.limo
.link
.management
.marketing
.menu
.photo
.photography
.photos
.pics
.pink
.plumbing
.recipes
.red
.repair
.ruhr
.sexy
.shiksha
.shoes
.solar
.solutions
.support
.systems
.tattoo
.technology
.tips
.today
.training
.uno
.ventures
.voyage
.club
.best
.cool
.zone
.bid
.boutique
.build
.cheap
.codes
.condos
.cruises
.dance
.dating
.democrat
.events
.expert
.exposed
.farm
.flights
.futbol
.immobilien
.investments
.jetzt
.kiwi
.lighting
.luxury
.maison
.ninja
.partners
.productions
.properties
.qpon
.reisen
.rentals
.reviews
.social
.viajes
.villas
.watch
.webcam
.wiki
.works
.xyz
.cards
.archi
.ink
.nagoya
.tienda
.vacations
.moe
.wtf
.wien
.website
.voting
.vodka
.vision
.vet
.versicherung
.vegas
.university
.trade
.toys
.town
.tools
.tokyo
.tax
.surgery
.surf
.supplies
.soy
.services
.scot
.schule
.rodeo
.rocks
.rest
.republican
.report
.reise
.pub
.press
.place
.pictures
.parts
.okinawa
.nz
.nyc
.moda
.media
.london
.loans
.loan
.limited
.life
.lease
.koeln
.kaufen
.juegos
.insure
.industries
.host
.horse
.hiphop
.healthcare
.haus
.hamburg
.guide
.gripe
.gratis
.global
.furniture
.fund
.foundation
.fitness
.fishing
.fish
.financial
.finance
.fail
.exchange
.engineering
.discount
.direct
.digital
.dental
.deals
.creditcard
.credit
.country
.cooking
.consulting
.community
.cologne
.co.com
.clinic
.cleaning
.claims
.city
.church
.christmas
.catering
.career
.care
.cash
.capital
.blackfriday
.bio
.beer
.bayern
.bargains
.bar
.audio
.associates
.agency
.actor
.accountants
.quebec
.attorney
.capetown
.durban
.engineer
.gifts
.market
.lawyer
.mortgage
.restaurant
.joburg
.hosting
.wang
.net.mu
.net.vc
.how
.adult
.aaapro
.aero
.apartments
.auction
.avocatpro
.band
.barpro
.bingo
.black
.brussels
.business
.cafe
.casa
.casino
.chat
.click
.cnidn
.cnregional
.coach
.cobz
.cocm
.cogl
.colc
.college
.coms
.conl
.cricket
.date
.degree
.delivery
.dentist
.design
.diet
.dpmlpub
.dpmlzone
.energy
.engpro
.express
.faith
.fashion
.fit
.flowers
.football
.forsale
.garden
.gives
.gold
.golf
.grcom
.green
.help
.hiv
.immo
.innet
.irish
.jewelry
.jobs
.jpidn
.jurpro
.kiwinz
.legal
.lgbt
.ltda
.markets
.memorial
.money
.myidn
.nameemail
.namesld
.network
.news
.ngo
.nrw
.osaka
.paris
.party
.pizza
.plus
.poker
.porn
.property
.pro
.radioam
.rechtpro
.rehab
.review
.rip
.ryukyu
.sale
.sarl
.school
.science
.show
.site
.software
.space
.style
.sucks
.supply
.team
.tech
.tires
.top
.tours
.travel
.twidn
.us.org
.video
.vlaanderen
.vote
.wedding
.work
.world
.xxx
.yoga
.ong
.pm
.yt
.wf
.love
.dog

——本文最后由傅老师于2016-02-10编辑过

苹果更换了虹桥路站换乘通道的广告图片,显现其互联网域名布局不足

3月 16, 2015 by · Leave a Comment 

原本3/4号线和10号线虹桥路站的换乘通道上是苹果公司ipad的大幅图片广告,最近换成了苹果iphone 6的广告:

用 iPhone6 拍摄
apple.com/cn/worldgallery

“专业敏感”告诉傅老师,苹果公司这个广告好像差了点儿什么?稍微再看了一下,原来是下面的网址太长了。
网址本来应为http://www.apple.com/cn/worldgallery,估计苹果公司在发布这个广告的时候也觉得太长了,于是将不必要的部分省掉了,就成了apple.com/cn/worldgallery,而且居然没有给个二维码。

靠谱地说一句,这个网址若能换成:ap.pl/gallery,那就霸气多了,业内称之为“短网址”。

显然苹果公司并未拿下ap.pl这个域名,目前这个域名是一个波兰网站,看上去像是卖苹果及周边电子、数码产品的,访问量超低,恐怕几乎无人问津吧,如果苹果公司想要的话,说不定随便砸个几万美金就到手了。

作为对照,谷歌老早就拿下了goo.gl这一域名,这就是差距呵。


顺便提一下,傅老师拍了2张照片后,忽然有身着制服的地铁工作人员前来“劝阻”,但并非“制止”,说这个是站上的规定,要拍照的话必须要到地铁站上去“申请”。

必须要说,这是一个很奇葩的规定,于是傅老师走上前去:

“为什么不能拍呢?”
“这个是站上的规定。”
“苹果手机拍照不错的,我正准备买一部,我想苹果公司不会不允许我拍照吧?”
“这个不是苹果公司的规定,是站上的要求,要拍照的话你要先到站里面去申请。”
“我看这些照片拍得不错,所以想拍下来。”傅老师收起手机,走了几步:“这个……加特效了吧?”
“啊?什么?”
“这些照片加特效了吧?”
“没有加特效!”
“呵呵……”

最后傅老师从互联网角度总结一下苹果这次广告的失败之处:
1、网址太长,失败!
2、没有二维码,失败!
3、无法跟踪访问指标,失败!(包括:多少人、在什么时候、使用什么设备、通过什么网络访问了该worldgallery链接)

——本文最后由傅老师于2015-03-16编辑过

谷歌域名服务改善用户体验:动态DNS是亮点

1月 15, 2015 by · Leave a Comment 

今天收到了google domain的邮件说其有数项更新以提高用户体验:

  • Google Domain has improved the search and suggestion experience because you requested help finding the perfect domain name.
  • Google Domain has added over 60 new domain name endings like .company, .florist and .coffee because you requested more choices as you search.
  • Google Domain has created a simple dashboard to manage your domain, website and email settings because you requested these actions be only one click away.
  • Google Domain has integrated with Blogger so you can create a blog and easily connect it to your domain because you requested more options as you start building your web presence.
  • Google Domain has improved integration with website builders so you can quickly view and compare themes and plans because you wanted to know more about the available options before signing up.
  • Google Domain has added dynamic DNS so you can setup your domain and keep it pointing to the same computer even when the IP address changes because you requested this for your business.

值得注意的是其最后一项新增功能是动态DNS,目前市场上大多数提供的动态DNS服务都是要收费的(如花生壳),至于那些不收费的大多不靠谱。谷歌这次在域名服务中推出动态DNS,值得一试。

——本文最后由傅老师于2015-01-15编辑过

谷歌域名Google Domains终于发来邀请码了

8月 14, 2014 by · Leave a Comment 

谷歌域名(Google Domains)目前属于内测阶段,需要邀请注册使用。

You requested to join the Google Domains invite-only beta and today we’re excited to offer you an invitation to join.

As you begin to buy, transfer and manage your domains with us or if you try out one of our website building providers, we would love to hear what you think. We welcome all questions and feedback.

Follow the directions to get started:

Click the button below to launch Google Domains.
Enter your unique invitation code: —- —- —- —- —-
Please note that our current beta is U.S. only.

目前谷歌支持的顶级域名(TLD)并不多,所以想和godaddy、name.com和namecheap等老牌域名网站竞争任重而道远。
价格方面并无明显优势,.com域名12美元赠送“私有化注册”(Private registration)。

域名 注册价格(美元)
  .biz     $12
  .cc     $20
  .center     $20
  .com     $12
  .company     $20
  .email     $20
  .guru     $28
  .info     $12
  .net     $12
  .org     $12
  .photography     $20
  .solutions     $20
  .technology     $20
  .tips     $20
  .today     $20
  .us     $12

——本文最后由傅老师于2015-01-15编辑过

.com域名进入赎回期Redemption Period怎么办?

7月 16, 2014 by · Leave a Comment 

今日上海外教网旗下某.com域名无法访问了,经测试域名无法解析。该域名注册于Godaddy,登录面板后发现域名不见了,查whois后发现域名并未过期(已缴费至2015年),但是已经进入赎回期“Status:redemptionPeriod”。

发ticket到support@godaddy.com,回复也很快:

Dear GoDaddy Customer,
We received your inquiry, but need you to resubmit your request through one of these other methods:

• Visit: support.godaddy.com for help articles and more
• Call: 24/7 Support at (480) 505-8877

You should not expect to receive a response to your previous email.
Thanks,
GoDaddy Support Team

找了半天没发现解决方案,于是只好电话技术支持了。

移动有一个新干线,价格比较便宜,这样拨:125930014805058877。进去后会先让你输入custom #,然后一串英文菜单,随便选择,记得最后要转人工(talk to someone)。5年前傅老师打godaddy的电话还是非常忐忑的,听不懂啊,现在表示无压力。godaddy客服先问你信用卡后8位数字,确认之后就问你“How can I help you?”然后报域名,报现象,客服查询了一下,表示该域名并未到期,但是于6月份被人工删除(manually deleted in June, and now it’s in redemption period)。

“I wanna keep that domain. What shall I do?”
“Well, you’ll need to pay a redemption fee $80 and then you’ll get it back.” (美帝抢钱啊,没办法)
“!@#$%&*, well, that’s fine. what’s the next step?”
“I have your credit card info so I can help you place the order on phone. Do you want me to do that?”
“Can I do it online? Maybe that’s safer?”
“I won’t have your pin code and you don’t need to type it on the phone either. It can be done automatically.”
“ok, let’s do it!”
“Great. Let’s do it the fastest way. You’ll see your domain within an hour”(这话还没说完,银行已经短信提醒说已经境外支付80美刀)
然后,域名回来了。

下一步,修改密码!

这说明域名进入赎回期并不一定是域名过期了,从后台删除也会导致域名进入赎回期。

——本文最后由傅老师于2014-07-19编辑过