[Dnsmasq-discuss] NODATA-reply on AAAA-CNAME-queries where no A-record exists

Tom Fernandes anyaddress at gmx.net
Thu May 5 14:54:43 BST 2011


H Simon,

On Thursday 05 May 2011 15:24:27 Simon Kelley wrote:
> Tom Fernandes wrote:
> > This behaviour may even be RFC-conform as there is no A-record for
> > media.foo.bar.local.
> 
> I disagree: it looks like a bug to me: pure and simple. 

I stumbled over http://support.microsoft.com/kb/815768 . At least it explains 
why the MS-DNS-Server is acting like this.

> The problem is
> that cnames aren't checked in check_for_local_domain() in rfc1035.c. It
> looks like naptr records got missed to, but I doubt anyone his tripped
> over that one!
> 
> > So I see two possible solutions to this issue for me:
> > - tell dnsmasq to return NODATA instead of NXDOMAIN-IPv6 to the request
> > of the
> > 
> >   CNAME of media.foo.bar.local or
> > 
> > - dynamically create an A-record for media.foo.bar.local which points to
> > the
> > 
> >   same IP-address as the A-record for foo.bar.local. I would need to do
> >   this dynamically because I don't want to configure IP-address anywhere
> >   manually.
> > 
> > Any ideas?
> 
> If you're happy to run test code, (I'm running it in production) I can
> have a new test release which fixes this available in an hour or so. If
> you want a patch to a stable release, the fix will be trivial to backport.

I'd rather continue using a stable release (2.57). The patch would be very 
much appreciated!

thanks for the fast reply,


Tom

> 
> 
> Cheers,
> 
> Simon.
> 
> > regards,
> > 
> > 
> > Tom
> > 
> > _______________________________________________
> > Dnsmasq-discuss mailing list
> > Dnsmasq-discuss at lists.thekelleys.org.uk
> > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss



More information about the Dnsmasq-discuss mailing list