RFC 协议下载方法
一、RFC官方网站:
RFC文档列表:http://www.rfc-editor.org/rfc/
二、与DNS相关的RFC文档:
三、官方查询及同步方法
Search, show and print documents
Download the latest documents
Rsync access to various document archives:
• Unpurged IETF drafts repository:
To list the content, do:
rsync rsync.tools.ietf.org::tools.id
To sync the content, do:
rsync -avz rsync.tools.ietf.org::tools.id ./id
• Currently available htmlized drafts and RFCs:
To list the content, do:
rsync rsync.tools.ietf.org::tools.html
To sync the content, do:
rsync -avz rsync.tools.ietf.org::tools.html ./html
• For a full list of the various rsync sources at tools.ietf.org, do:
rsync rsync.tools.ietf.org::
可以使用以上命令,写脚本进行批量下载。
举例说明
RFC7230是HTTP 1.1协议,此文档的URL为:http://tools.ietf.org/html/rfc7230
下载PDF: wget https://tools.ietf.org/pdf/rfc1990.pdf
你仅仅要把URL最后的4位数字替换为你要下载的文档的编号就能够打开下载页面了,
在下载页面上提供文档的多种格式以对于下载。