SRV 记录查询
查找特定服务的服务定位(SRV)记录
SRV records specify the location of services, including hostname, port, priority, and weight for load balancing.
服务查询
输入域名并选择服务,查找其 SRV 记录
什么是 SRV 记录?
SRV (Service) records specify the location of services within a domain. They define the hostname, port number, priority, and weight for services, enabling automatic service discovery and load balancing.
SRV 记录的组成部分:
- 服务:服务名称(例如 _sip、_http、_xmpp)
- 协议:使用的协议(_tcp 或 _udp)
- 优先级:数值越小优先级越高
- 权重:相同优先级下的负载均衡权重
- 端口:服务运行的端口号
- 目标:提供服务的主机名
常见使用场景:
- VoIP 服务:SIP 服务器发现
- 即时通讯:XMPP 服务器位置
- 邮件服务:IMAP、POP3、SMTP 服务器发现
- 游戏服务器:Minecraft 服务器发现
- Web 服务:API 端点发现
SRV 记录格式:
_service._protocol.domain. TTL IN SRV priority weight port target.
