mDNS

最後更新: 2019-12-23

介紹

mDNS Network Discovery

mDNS = multicast DNS

It is a zero-configuration service

Network: 224.0.0.251:5353/UDP

It is implemented by the Apple Bonjour and open source Avahi software packages.


原理

1)

每個進入局域網的主機, 如果開啟了mDNS服務的話,都會向局域網內的所有主機組播一個消息,

我是誰,和我的IP地址是多少.

2)

然後其他也有該服務的主機就會響應, 也會告訴你, 它是誰, 它的IP地址是多少.

By default, mDNS exclusively resolves hostnames ending with the .local top-level domain (TLD).
i.e. nas.local

OS 支援

* Windows 10

* MACOS