name.conf文件必备参数详解
1、options

options中的值表示全局变量
名称 | 含义 | 备注 |
---|---|---|
directory | 表示当前工作目录,下面所有的地址都使用相对地址 |
2、密钥

3、zone root

zone后面跟的字段 代表被定义的域名,途中的 "." 代表DNS根区域,同时是一个IN(internet)的区域类别(class)。
名称 | 含义 | 备注 |
---|---|---|
type | 服务器种类 | hint代表根域名 |
file | 表示这个区域解析记录文档存放位置 |
4、zone其他域名
解析一个test.com

然后配置test.com

运行测试:

网友评论