[ubuntu-uk] Network Hostnames

Simon Greenwood sfgreenwood at gmail.com
Tue Jul 12 14:21:49 UTC 2016


On 12 July 2016 at 15:10, Nigel Verity <nigelverity at hotmail.com> wrote:

> Hi
>
> I'm after a bit of enlightenment from anybody who knows more about
> networking than I do - which is probably most of you...
>
> I have a home network which connects to a radio-based broadband service
> (very reliable, incidentally). The data goes from the transceiver into a
> router which feeds several devices directly over wired ethernet. One of
> these is a switch which services other devices requiring wi-fi.
>
> When using Filezilla or command line SSH to connect one device to another,
> I find that some require the addition of ".local" to the remote hostname
> before it's recognised while others don't. For example my desktop is only
> recognised as "myDesktop.local", while my RPi2 is only recognised as
> "myRPi2", yet both use direct wired ethernet back to the router.
>
> Can anybody explain, please?
>
>
​Linux uses zeroconf/Bonjour for local network discovery. This uses the
pseudodomain .local ​for resolution within a network. The Linux
implementation is called

​Avahi, for reference. ​
​You may find that your Pi has the line 'search .local' in /etc/resolv.conf
whereas Ubuntu doesn't include it by default​. You can add it in the
network config if you want to standardise.

​s/​

-- 
Twitter: @sfgreenwood
"TBA are particularly glib"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20160712/353803a4/attachment.html>


More information about the ubuntu-uk mailing list