[PLUG] Assigning a name to local machines
Dick Steffens
dick at dicksteffens.com
Sat Mar 2 05:05:33 UTC 2019
On 3/1/19 8:50 PM, Russell Senior wrote:
> You can create host records (in /etc/config/dhcp) with mac, ip and name
> options and dnsmasq should use that to resolve DNS requests as well.
>
> https://openwrt.org/docs/guide-user/base-system/dhcp
>
> An example in /etc/config/dhcp would look like this:
>
> config host
> option mac xx:xx:xx:xx:xx:xx
> option ip 192.168.1.50
> option name myhostname
>
> You can do as many as you want, and that should give you stable ip address
> leases and hostname resolution.
Thanks.
--
Regards,
Dick Steffens
More information about the PLUG
mailing list