[PLUG] Assigning a name to local machines
Dick Steffens
dick at dicksteffens.com
Fri Mar 1 23:11:13 UTC 2019
On 3/1/19 2:53 PM, Tomas Kuchta wrote:
> If your router can answer dns request ( many routers run dnsmasq service )
> then you could have local name resolution working on all machines just by
> pointing to your router for Dns.
>
> If your router does that - just configure it that it hand out its own IP as
> Dns during DHCP. You should also configure all the PCs not to change their
> names by DHCP unless you want that. After that names should work for all
> machines using DHCP for IP assignment.
>
> The advantage here is that you do not have to hand maintain list of all
> your machines and their IPs on all host all the time. If you use DHCP IPs
> change every time you reboot/update router.
Sounds worthwhile. I do have a Buffalo router running OpenWRT, and I do
have it set to always assign specific IP addresses based on the MAC
address. I'll look into how to assign host names there. But since there
are only four machines involved, I've already added the info to each
hosts file, and it's doing what I want. It's not likely I'll be adding
additional hosts anytime soon.
Thanks.
--
Regards,
Dick Steffens
More information about the PLUG
mailing list