Standard mDNS service on Windows

前端 未结 6 853
無奈伤痛
無奈伤痛 2021-02-02 10:31

Does Windows (some modern flavour) have an mDNS server installed and/or running by default? If so then how does one tell it, preferably dynamically, to start/stop advertising a

6条回答
  •  伪装坚强ぢ
    2021-02-02 10:57

    Starting with Windows 10, Microsoft made strides towards a native Windows implementation of mDNS and DNS-SD.

    While earlier iterations have been limited to UWP apps, a general Win32 API has been exposed from at least SDK version 10.0.18362.0 (1903/19H1, May 2019).

    Note: This implementation is currently confirmed working only for 64bit build targets, there is an open issue preventing compilation for 32bit targets.

    Outdated note from a previous version of this answer:

    Early iterations resulted in mDNS network flooding:

    Windows 10, in its default configuration, will spam its local networks by responding to all mDNS requests with null response packets.

    This issue was fixed in Windows 10 1511 (10586) and above

提交回复
热议问题