> On Jan 5, 2023, at 13:06, Peter Tirsek <pe...@tirsek.com> wrote: > > On Wed, 4 Jan 2023, Olaf Hering wrote: > >> ignore AAAA responses for a specific domain during DNS lookup. This allows >> it to continue with IPv6 for other connections, and use IPv4 only for such >> DNS domains. >> >> Unfortunately dnsmasq apparently lacks such feature. > > Hi everyone, new subscriber here. :-) > > What a coincidence: I have had the same need for quite a while, and tonight I > decided to finally sit down and implement it. > > […] > > I think I have a patch that allows dnsmasq to do this. I've implemented it as > an extension to the --address option, similar to how you can use > --address=/domain.com/# to respond with the all-zeroes addres, I suggest > using --address=/domain.com/!6 to block AAAA queries, or .../!4 to block A > queries for the specified domain name(s). Dnsmasq will then respond with > NXDOMAIN for the requested records. > > I'm not 100% happy with the patch, but I hope to be able to submit it > tomorrow to get some suggestions and feedback. > > -- > Peter Tirsek
Hi Peter, Just found this email thread from my inbox. Did you forget to attach your patch(es) or sent them off-list? I don’t see any attachments on this thread. Best, RY _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss