dns-sd._udp.<domain>. 域名发现 本质和MDNS同
DNS Service Discovery is a way of using standard DNS programming interfaces, servers, and packet formats to browse the network for services.
If you think the picture below looks a lot like the old Macintosh AppleTalk “Chooser”, that’s no coincidence. As we move away from AppleTalk to an all-IP world, we don’t want to have to give up the convenience and ease of use that made AppleTalk popular, and made AppleTalk continue to be popular long after it should rightfully have been retired.
DNS Service Discovery is compatible with, but not dependent on, Multicast DNS.
Domain enumeration
When a user browes a domain he gets results based on what services are advestised in the
domain he browses. On a local basis it is pretty logical what domain is being browsed,
but in a wider perspective, something is needed to select a domain to browse. Of course
the user could do this, but that contradicts the zero configuration bit in zero configuration.
This leads us to Domain Enumeration. DNS-SD performs five queries of Domain
Enumeration:
• Where are interesting domains to browse
b._dns-sd._udp.<domain>.
• What is the recommended domain in that list
db._dns-sd._udp.<domain>.
• Where are recommended places to register my services
r._dns-sd._udp.<domain>.
• What is the recommended domain in that list of places
dr._dns-sd._udp.<domain>.
• Are there any additional domains in addition to the local domain (for legacy users)
17
lb._dns-sd._udp.<domain>.
By learning pieces of information about the network topology from the configuration it
has been assigned, (DHCP, DNS, Netmask etc) the client builds its DNS-SD Domain Enumeration
queries and checks for answers to the questions above.
参考:http://www.dns-sd.org/
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· DeepSeek 开源周回顾「GitHub 热点速览」