收藏文章 楼主

域名 显性 url 302转发解析

版块:linux   类型:普通   作者:小绿叶技术博客   查看:533   回复:0   获赞:0   时间:2021-07-13 12:10:02


DNS显性URL、隐性URL转发原理

需求

通过DNS的解析,访问heytool.com时跳转到www.heytool.com


标准的DNS协议中并无显性URL、隐性URL类型的记录



# curl -I http://heytool.com

HTTP/1.1 301 Moved Permanently # 301重定向

Date: Tue, 27 Aug 2013 08:24:21 GMT 

Cache-Control: max-age=120

Expires: Tue, 27 Aug 2013 08:26:21 GMT

Server: DNSPod URL V2.0 # DNSPod的服务器

Location: http://www.heytool.com # 跳转到www.heytool.com

Content-Length: 0

Connection: close

提供企业建站服务,免费网防系统,提交信息登录 http://yundun.ddoss.cn 邮箱: proposal@ddoss.cn 
回复列表
默认   热门   正序   倒序

回复:域名 显性 url 302转发解析

头像

用户名:

粉丝数:

签名:

资料 关注 好友 消息