Re: [lime] How to propagate a 'server' name?

Delete this message

Reply to this message
Autore: Ilario
Data:  
To: libremesh
Oggetto: Re: [lime] How to propagate a 'server' name?
Dear Kevin,
I suspect that shared-state-publish_dnsmasq_hosts should spread the
content of that file, or at least this seems looking at this line:
https://github.com/libremesh/lime-packages/blob/361645ee5c8ca19a0a60cbea5246708049b582cd/packages/shared-state-dnsmasq_hosts/files/usr/bin/shared-state-publish_dnsmasq_hosts#L23

All the documentation I found on that package just says: "Syncronize
dnsmasq hosts beween nodes".
Check if you have that package installed.
So, it seems that you can add the line in /etc/hosts, as suggested by
Moacir, and then the shared-state-publish_dnsmasq_hosts should propagate
this line to all the network.

G10h4ck can you confirm?

Ciao,
Ilario



On 12/27/23 19:36, Moacir Neto via LibreMesh wrote:
> You can put your servers' IP in /etc/hosts and link it to a local domain.
>
> I do this on my network with libremesh.
>
> I'm not sure if you would need to put it on all routers or just one, I
> just put it on my edge router and it works.
>
> Att
>
> Em sáb., 23 de dez. de 2023 08:52, Kevin (UTC+0) via LibreMesh
> <libremesh@??? <mailto:libremesh@krutt.org>> escreveu:
>
>     If I run a service on a node, is there a way to propagate a unique
>     hostname for that service, seperate from the node's hostname?

>
>     What about running the service on a static IP on a non-mesh node
>     (plugged into a LAN port) ?

>
>     I've observed that the hostname used in client's DHCP queries gets
>     propagated - is that what existing networks do for servers?

>
>     My community network isn't connected to the Internet, so there's no
>     central DNS to add names to.

>
>     Thanks in advance
>     -Kevin
>     -- 
>     LibreMesh mailing list
>     LibreMesh@??? <mailto:LibreMesh@krutt.org>
>     https://www.autistici.org/mailman/listinfo/libremesh
>     <https://www.autistici.org/mailman/listinfo/libremesh>

>
>


--
Ilario
iochesonome@???
ilario@???