【文件属性】:
文件名称:caa:rfc6844-符合CAA记录查找和验证
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-14 05:17:40
nodejs dns letsencrypt tls module
a
符合CAA记录查找和验证
用法
npm i caa
import caa from 'caa' ;
await caa ( 'subdomain.example.com' ) ;
// => [{flags: 0, tag: 'issue', value: 'letsencrypt.org', issuerCritical: false}]
await caa . matches ( 'subdomain.example.com' , 'letsencrypt.org' ) ;
// => true
原料药
caa(name, [options])
检索适用于name的CAA记录。 返回一个。
caa.matches(name, ca, [options])
测试name的CAA记录是否与证书颁发机构ca相匹配。
options
servers :要使用的DNS服务器。 默认
【文件预览】:
caa-master
----.gitignore(85B)
----.eslintrc(31B)
----package.json(835B)
----Makefile(620B)
----LICENSE(1KB)
----index.js(5KB)
----test.js(2KB)
----.github()
--------workflows()
----README.md(1KB)
----.gitattributes(19B)
----.editorconfig(192B)