Understanding/setting up a DNS or using hosts file

Cheetoz

[H]ard|Gawd
Joined
Mar 3, 2003
Messages
1,972
I would to be able to access the computers in my network by its name, like editing the /etc/hosts file and adding the name and IP of the computers. Is the only way editing the host file of every computer, or can I can just use one computers host file and have others ask it for the IP address?

I want a DNS like setup, without domains. Setting up BIND9, it requires (a lot of work) and a domain name, or have it blank and always need a dot at the end of names to access it.

I had this when I was using a router with DD-WRT. Don't know how they set it up.
 
Normally a home grade router handing out DHCP will keep track of the DNS also to resolve PC names. Sometimes this isnt the case though.

You can't share host files, you would have to edit each host file, and make sure your PC's are on static ips or they could change
 
What is your make/model router? As hinted above...many do have a local hosts table/dns service. Sometimes gotta turn that feature on.
 
Back
Top