On 31/05/2011 15:20, Aman Gujaria wrote: > Hi, > > My test setup has a client that tries to open www.mysitexyz.com > <http://www.mysitexyz.com/>, but this inturn needs to be mapped to > abc.def.com <http://abc.def.com> which is the actual domain name for my > server. Is there any way to do this mapping using dnsmasq? > > Any ideas would be greatly appreciated.
In dns terms, such an alias is called a CNAME. I don't use this feature of dnsmasq, but I believe you can make it serve such records using the --cname command, eg see here: http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html Good luck Ed W