hostname
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
hostname [2014/10/15 08:10] – créée luc | hostname [2018/10/13 20:32] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | nmb(d) est fourni par samba ? | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | Is it possible to connect to a device using its hostname? | ||
+ | |||
+ | |||
+ | On some networks – yes. But on your everyday TCP/IP network, the hostname must be translatable to an IP address, otherwise clients will not know what to connect to. | ||
+ | |||
+ | There are several existing protocols for local name lookup, though: | ||
+ | |||
+ | Windows uses NetBIOS name services for resolving hostnames of other computers in the same LAN, using UDP broadcasts. Your server will need to run the nmbd component of Samba to be discoverable using NetBIOS. | ||
+ | |||
+ | (Recent Windows versions also support LLMNR, which is similar to mDNS but has fewer features and requires IPv6. On Linux, systemd-resolved will have a LLMNR client. No idea about other operating systems. Probably not worth considering.) | ||
+ | |||
+ | OS X uses mDNS (" | ||
+ | |||
+ | (Also, Windows can resolve mDNS names if Bonjour is installed (typically as part of iTunes), and OS X should support NetBIOS if " | ||
+ | |||
+ | Desktop-oriented Linux systems often come with both NetBIOS and mDNS resolvers preconfigured. (That is, they run both nmbd and avahi-daemon, | ||
+ | |||
+ | Finally, most "home routers" | ||
+ | |||