[Dnsmasq-discuss] NODATA-reply on AAAA-CNAME-queries where no A-record exists
Simon Kelley
simon at thekelleys.org.uk
Thu May 5 14:24:27 BST 2011
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. 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.
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