docs: 添加文章内容(2013 ~ 2023)
This commit is contained in:
36
docs/content/query-domain-srv-records.md
Normal file
36
docs/content/query-domain-srv-records.md
Normal file
@@ -0,0 +1,36 @@
|
||||
---
|
||||
title: 在 Linux Windows 查询域名的 SRV 记录
|
||||
date: 2025-03-16T16:03:27Z
|
||||
lastmod: 2025-03-16T16:03:47Z
|
||||
tags: [Windows,Linux,域名,命令]
|
||||
---
|
||||
|
||||
# 在 Linux Windows 查询域名的 SRV 记录
|
||||
|
||||
## Linux(使用 dig 命令)
|
||||
|
||||
例如查询域名 `mc.frost-zx.top` 的用于 Minecraft 服务器的 SRV 记录:
|
||||
|
||||
```text
|
||||
dig _minecraft._tcp.mc.frost-zx.top srv
|
||||
```
|
||||
|
||||
## Windows(使用 NSLOOKUP 命令)
|
||||
|
||||
例如查询域名 `mc.frost-zx.top` 的用于 Minecraft 服务器的 SRV 记录:
|
||||
|
||||
方式一
|
||||
|
||||
```text
|
||||
NSLOOKUP -type=SRV _minecraft._tcp.mc.frost-zx.top
|
||||
```
|
||||
|
||||
方式二
|
||||
|
||||
```text
|
||||
NSLOOKUP
|
||||
set type=SRV
|
||||
_minecraft._tcp.mc.frost-zx.top
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user