<div dir="ltr"><div>I had had a lot of hope for DNAMEs, but they were shot down in the ietf years ago. Vestiges survive in "bind", at least, but I suspect there is little application support.<br><br></div>I would not mind an attempt to resurrect them. Naming in the face of being renumbered all the time by various ipv4 and ipv6 providers is a real PITA.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 16, 2015 at 6:33 PM, Adrian Lewis <span dir="ltr"><<a href="mailto:adrian@alsiconsulting.co.uk" target="_blank">adrian@alsiconsulting.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Would it be fair to assume that there is no trick to this and if so, is<br>
there any interest in a feature request for supporting DNAME records?<br>
Unfortunately I'm simply a (very grateful) freeloader with no programming<br>
skills whatsoever. I have no idea whether implementing this would be<br>
something really simple or the opposite.<br>
<br>
Many thanks,<br>
<br>
Adrian<br>
<div class="HOEnZb"><div class="h5"><br>
-----Original Message-----<br>
From: Adrian Lewis [mailto:<a href="mailto:adrian@alsiconsulting.co.uk">adrian@alsiconsulting.co.uk</a>]<br>
Sent: 11 March 2015 19:06<br>
To: '<a href="mailto:dnsmasq-discuss@lists.thekelleys.org.uk">dnsmasq-discuss@lists.thekelleys.org.uk</a>'<br>
Subject: DNAME or domain to domain transltion?<br>
<br>
Hi,<br>
<br>
I've tried to find this out through reading and googling and I can't find<br>
any obvious solution so I was hoping someone might know a trick that would<br>
help me. I'm trying to do some sort of domain to domain translation so<br>
that when a query for the a record of host1.firstdomain.tld is received,<br>
dnsmasq does a lookup for host1.seconddomain.tld and returns the IP as if<br>
the client had asked for host1.seconddomain.tld.<br>
<br>
For an individual host this is much the same as a CNAME record but I need<br>
to be able to specify the hostname dynamically so that<br>
%anything%.firstdomain.tld is a CNAME for %anything%.seconddomain.tld.<br>
Wildcards don't help either as this is not a case of<br>
%anything%.firstdomain.tld being a CNAME for<br>
specifichost.seconddomain.tld.<br>
<br>
>From what I gather, this is what a DNAME record will do although support<br>
for this type of record seems a little scarce and dnsmasq doesn't support<br>
these directly. The purpose is not nefarious and it is all being done for<br>
internal to internal translation. I've not gone into why I need this in<br>
any great detail but it's nothing dodgy.<br>
<br>
The --synth-domain feature suggests that there is some sort of engine to<br>
create dynamic replies based on the query but I need the equivalent of:<br>
--synth-domain=firstdomain.tld,seconddomain.tld<br>
<br>
Can anyone help?<br>
<br>
TIA,<br>
<br>
Adrian<br>
<br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Dave Täht<br>Let's make wifi fast, less jittery and reliable again!<br><br><a href="https://plus.google.com/u/0/107942175615993706558/posts/TVX3o84jjmb" target="_blank">https://plus.google.com/u/0/107942175615993706558/posts/TVX3o84jjmb</a><br></div>
</div>