文档捉虫大赛:人工智能与机器学习专题> HOT
文档中心 > 云解析 DNS > 操作指南 > 解析记录文件格式说明

解析记录导出

2. 在 “域名解析列表” 中,选择待导出解析记录的域名,单击更多 > 导出解析记录
3. 导出解析记录弹窗中,选择导出格式。如下图所示:n



导出格式

解析记录导出支持三种文件格式,分别是文本、表格、Zone 文件,以 domain.com 域名为例,导出结果如下:

文本格式

导出文件 domain.com.txt,查看内容如下:
主机 | 类型 | 线路 | 记录值 | MX优先级 | TTL | 备注
@t NS 默认t f1g1ns1.dnspod.net.t 0t 86400
@t NSt 默认t f1g1ns2.dnspod.net.t 0t 86400
wwwtAt 默认t 1.1.1.1 0t 600

表格格式

导出文件 domain.com.xls,如下图所示:n
excel



Zone 格式

Zone 文件是 DNS 服务器上存储的域名配置文件,根据 RFC 标准文档制定。n导出文件 domain.com.zip,解压后得到 domain.com.default_line.zone,使用文本编辑器打开,查看内容如下:
; Domain: domain.com
; Exported at:2019-08-16 15:02:32
;
; This file is intended for use for informational and archival
; purposes ONLY and MUST be edited before used on a production
; DNS server.
;
; For further information, please consult the BIND documentation
; located on the following website:
; http://www.isc.org/
;
; And RFC 1035:
; http://www.ietf.org/rfc/rfc1035.txt
;
; Use at your own risk.
;


$ORIGIN domain.com.


; SOA record
domain.com. 600 IN SOA f1g1ns1.dnspod.net. freednsadmin.dnspod.com. 1565938952 3600 180 1209600 180


; A records
@t600tINtAt1.1.1.1;


; NS records
@t86400tINtNStf1g1ns1.dnspod.net.;
@t86400tINtNStf1g1ns2.dnspod.net.;
说明
;部分表示注释内容。
如果解析进行了分线路,会按线路导出记录,例如:ndomain.com.default_line.zone
domain.com.sogou.zone