Universal local network name resolution method without DNS?
Asked Answered
P

1

3

I'm writing TCP/IP code for a DHCP enabled network device. Is there a universal way this device can announce its hostname in-the-wild that pretty much all web browsers (on osx/linux/win) can access it by name? (e.g. http://mydevice/index.htm)

A solution that allows the end-user to use their "stock" computer without stringent requirements like installing packages such as bonjour for windows, have a dns server on their network, etc.

zeroconf/dns-sd doesn't work on windows machines that don't have bonjour (or similar) service installed and LLMNR doesn't work on osx machines out of the box.

If there is no single way of doing this, would conforming to both dns-sd and LLMNR cover most of the installed OS base out there?

Parkman answered 20/9, 2011 at 15:27 Comment(0)
P
1

From what I can gather, in order to cover hostname resolution in a dns-less network, ZeroConf/mDns/Dns-Sd and NetBios (NetBt) are required to cover windows based, and Osx based system (most linux systems also suppor ZeroConf).

NetBt doesn't support IpV6, and LLMNR is supported by Vista and onwards Microsoft developed operating systems. So a "universal" name resolution method might have to implement all three.

Parkman answered 27/9, 2011 at 13:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.