[Dnsmasq-discuss] dnsmasq, give IP address a name
Albert ARIBAUD
albert.aribaud at free.fr
Tue Nov 25 06:13:01 GMT 2014
Hi T,
Le Tue, 25 Nov 2014 02:36:14 +0000 (UTC), T o n g
<mlist4suntong at yahoo.com> a écrit :
> Hi,
>
> 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,
> http://sfxpt.wordpress.com/2011/02/21/the-best-ad-blocking-method/
> #Discussion_about_using_the_Pixelserv_server
> 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)
> Thanks
>
> tong
Amicalement,
--
Albert.
More information about the Dnsmasq-discuss
mailing list