[Dnsmasq-discuss] How to add extra names for a system - i.e. host aliases?

Simon Kelley simon at thekelleys.org.uk
Thu Jan 23 12:35:48 GMT 2014


On 23/01/14 12:31, Chris Green wrote:
> This sounds trivially simple but I can't actually find a straightforward
> answer anywhere.
>
> If I have a machine on my LAN that obtains its IP etc. by DHCP from a
> local dnsmasq server how do I give that machine multiple names?  E.g. I
> want my raspberrypi to be called both raspberrypi and pi (I'm fed up
> with repeatedly typing raspberrypi!).
>

Try

cname=pi,raspberrypi

Cheers,

Simon.



More information about the Dnsmasq-discuss mailing list