pull/265/head
xiaojunnuo 2024-12-07 16:13:00 +08:00
parent 6bca7333c9
commit 8f7b3f29ce
1 changed files with 7 additions and 4 deletions

View File

@ -6,9 +6,8 @@
<div>1. 解析记录应该添加在{{ record.domain }}域名下</div>
<div>2. 要添加的是CNAME类型的记录不是TXT</div>
<div>3. 核对记录值是否是:{{ record.recordValue }}</div>
<div>
4. 运行命令 <a-tag color="green">nslookup -qa=txt {{ record.hostRecord }}.{{ mainDomain }}</a-tag>
</div>
<div>4. 运行下面的命令,查看解析是否正确 <fs-copyable :style="{ color: '#52c41a' }" :model-value="nslookupCmd"></fs-copyable></div>
<div>5. 如果以上检查都没有问题则可能是DNS解析生效时间比较慢某些提供商延迟可能高达几个小时</div>
</div>
</template>
<fs-icon class="ml-5 pointer" icon="mingcute:question-line"></fs-icon>
@ -22,9 +21,13 @@ const props = defineProps<{
record: any;
}>();
const mainDomain = computed(() => {
if (props.record.domain) {
if (props?.record?.domain) {
return psl.parse(props.record.domain).domain;
}
return "";
});
const nslookupCmd = computed(() => {
return `nslookup -qa=txt ${props.record.hostRecord}.${mainDomain.value}`;
});
</script>