mirror of https://github.com/certd/certd
				
				
				
			chore:
							parent
							
								
									6bca7333c9
								
							
						
					
					
						commit
						8f7b3f29ce
					
				|  | @ -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> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 xiaojunnuo
						xiaojunnuo