I have a couple of nodes where they need to contact another node via the pc name.
I have resolved this by manually makings changes to the hosts file on each client.
Windows clients…
But now I have a node where this is not an option, so I need to set this elsewhere.
I have read that using IPFire as local dns and making the settings in “Network - Edit hosts” could do the trick.
And it seems to work on the IPFire box, here I can ping the client using “ping test” instead of “ping 192.168.1.3”, but on the clients it does not work.
The clients is set up using static IPs and the IPFire box as the only DNS.
Can anyone tell me what I’m missing?
I have found a comment about a missing line in /etc/unbound.conf to /etc/unbound/hosts.conf, this include line is present and the hosts.conf is updated when I enter info in “edit hosts” in the GUI.
I have changed it to .local
But same result.
I found out that I have a “real” dns record for test.jungersen.dk maybe this can cause some confusion, therefore I have changed it to test123.jungersen.local
Same result.
I can ping test123.jungersen.local but not test123
@anon79392304 I entered the info in the GUI (Network | Edit hosts).
But I noticed that the file /etc/unbound/hosts.conf is updated and contains the info you mention.