You are not logged in.
Hi all,
I use dhcpcd for get the ISP router and go to the Internet, but I also have got a computer in my LAN (a Rasberry Pi) that has a little webserver (with picochess showing my chess games). I can reach that Rasberry via its numerical address, but (despite it is correctly registered with its name in the router), I'm not able to reach it with its name.
How can I do?
Last edited by Franco_64 (2021-12-27 05:31:24)
Offline
https://wiki.archlinux.org/title/Domain_name_resolution
Last edited by Zod (2021-12-26 16:31:39)
Offline
I just put the devices in my lan in my /etc/hosts.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
If you're … erheem… also using dhcpcd on the raspi, edit /etc/dhcpcd.conf and make sure to uncomment the "# hostname" line (then restart dhcpcd) to have it announce its hostname via dhcpcd so that iff the router also provides a DNS server, it can utilize that.
If there's no local DNS you'd have to resolve via avahi - or indeed just edit your /etc/hosts
Offline
I've resolved editing /etc/hosts on my Arch. Thanks to all.
Offline