Using pi hole to name the computers on my network


#1

I want to name my raspberry pi computer so I can use a name for it. I’m going to use it to run a few little internal servers(well just an ftp one to begin with).

I got the ftp server up I just want to be able to call it something like pi.sentinel instead of 192.x.x.x

where do I add that info?


#2

This happens in the /etc/hosts file on your Pi-Hole host device. Edit and save the file (sudo nano /etc/hosts) leaving all existing entries intact, and add a single line for each client you want to name. Format is IP address, followed by at least one space, then the client name you want with no spaces. Example:

192.168.0.102 printer