1 |
On Sat, Jan 15, 2022 at 2:35 PM Raphael Mejias Dias <raphaxx@×××××.com> wrote: |
2 |
>> |
3 |
>> You might want to look into whether it solves your problems |
4 |
>> out-of-the-box without the need to run internal DNS. The latter still |
5 |
>> has certain advantages, but mDNS obviously benefits from simplicity. |
6 |
>> |
7 |
>> |
8 |
> This solution, change hosts file, that Avahi suggests, is the easy solution without DNS local server? |
9 |
> |
10 |
> I never realized about the host file |
11 |
|
12 |
Are you talking about the nsswitch.conf file? If so, then yes. If |
13 |
you run the avahi daemon and configure nsswitch.conf so that the |
14 |
resolver includes it, then any host on the network that supports |
15 |
zeroconf should be accessible via hostname.local. Most stuff does |
16 |
these days. Obviously there is more you can do with full-blown |
17 |
DNS/DHCP, but if all you care about is that your printer shows up at |
18 |
printer.local or whatever, and so on, then you're fine. Likewise your |
19 |
gentoo box would be available to anything else on the network via its |
20 |
hostname.local. |
21 |
|
22 |
Oh, and if you want to prefer IPv4 then use mdns4_minimal and mdns4 in |
23 |
the config. |
24 |
|
25 |
-- |
26 |
Rich |