[Dnsmasq-discuss] Simple question how to give multiple names to one host?

Simon Kelley simon at thekelleys.org.uk
Sun Feb 7 20:16:42 GMT 2010


Chris G wrote:
> I have a dnsmasq.conf file with the following at the end:-
> 
>     dhcp-host=chris,192.168.1.4
> 
> How do I get 192.168.1.4 to have some other names as well (for apache2
> virtual hosting)?
> 
Equally simple answer:

cname=<some other name>,chris

You can have as many CNAMEs as you like for the primary name.


HTH

Simon.



More information about the Dnsmasq-discuss mailing list