[Dnsmasq-discuss] dnsmasq, give IP address a name
albert.aribaud at free.fr
Tue Nov 25 06:13:01 GMT 2014
Le Tue, 25 Nov 2014 02:36:14 +0000 (UTC), T o n g
<mlist4suntong at yahoo.com> a écrit :
> How can I give an IP address a name?
> We can use 'address=' to map name to IP, and 'alias=' to map IP to IP,
> but how to map IP to name?
> The reason that I need this is that, I'm adding a second IP address to my
> DNSmasq server using a virtual interface, see,
> but now I need to give such second IP address a name. How to do that?
See --host-record and --dhcp-host in the man page.
(I would suggest reading through the whole man page, btw)
More information about the Dnsmasq-discuss