mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
fix: 根据SOA记录判断子域名托管有缺陷,改回手动配置子域名托管记录的方式
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import {assert} from 'chai'
|
||||
import {resolveDomainBySoaRecord} from "../src/util.js"
|
||||
describe('dns', () => {
|
||||
it('resolveDomainBySoaRecord', async () => {
|
||||
const resp = await resolveDomainBySoaRecord("a.corp.smartdeer.com")
|
||||
|
||||
assert.equal(resp, "smartdeer.com")
|
||||
|
||||
});
|
||||
|
||||
})
|
||||
Reference in New Issue
Block a user