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

Chris Green cl at isbd.net
Thu Jan 23 12:55:11 GMT 2014


On Thu, Jan 23, 2014 at 12:35:48PM +0000, Simon Kelley wrote:
> 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
> 
Brilliant, thank you, I knew there had to be a really simple way to do
this.  :-)

-- 
Chris Green



More information about the Dnsmasq-discuss mailing list