[Dnsmasq-discuss] multiple host names?
Eric Thibodeau
kyron at neuralbs.com
Wed Sep 17 14:38:48 BST 2008
From the dnsmasq manpage:
-H, --addn-hosts=<file>
Additional hosts file. Read the specified file as well
as /etc/hosts. If -h is given, read only the specified file. This option
may be repeated for
more than one additional hosts file.
So, simply define a addn-hosts=<file> to add a hosts-styled config file
and define the host in there. This is assuming you didn't want to put
that host definition in the /etc/hosts
Eric
AJ Weber wrote:
> Is there a way to resolve more than one hostname to a single host?
> Like an alias-feature? Analogous to putting a line in /etc/hosts with
> multiple names after the IP address? Then have dnsmasq resolve any of
> the names to the correct address?
>
> Thanks,
> AJ
> ------------------------------------------------------------------------
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20080917/e34d08b4/attachment.htm
More information about the Dnsmasq-discuss
mailing list