Hi, I've tried to find this out through reading and googling and I can't find any obvious solution so I was hoping someone might know a trick that would help me. I'm trying to do some sort of domain to domain translation so that when a query for the a record of host1.firstdomain.tld is received, dnsmasq does a lookup for host1.seconddomain.tld and returns the IP as if the client had asked for host1.seconddomain.tld.
For an individual host this is much the same as a CNAME record but I need to be able to specify the hostname dynamically so that %anything%.firstdomain.tld is a CNAME for %anything%.seconddomain.tld. Wildcards don't help either as this is not a case of %anything%.firstdomain.tld being a CNAME for specifichost.seconddomain.tld. >From what I gather, this is what a DNAME record will do although support for this type of record seems a little scarce and dnsmasq doesn't support these directly. The purpose is not nefarious and it is all being done for internal to internal translation. I've not gone into why I need this in any great detail but it's nothing dodgy. The --synth-domain feature suggests that there is some sort of engine to create dynamic replies based on the query but I need the equivalent of: --synth-domain=firstdomain.tld,seconddomain.tld Can anyone help? TIA, Adrian _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss