[OpenWrt-Devel] [PATCH RESEND] dnsmasq: add config option for ra_names
asmadeus at codewreck.org
Mon Jan 4 05:10:38 EST 2016
Felix Fietkau wrote on Sun, Jan 03, 2016:
> It seems to me that configuring this manually limits its use. Wouldn't
> it be better to integrate it with OpenWrt's prefix delegation support?
> this would make it work with dynamically assigned prefixes.
> When the init script runs, it could query netifd for assigned prefixes
> belonging to that particular interface, and use those for ra_names.
I actually hadn't upgraded yet when I sent this, it looks like there has
been alot of work towards integrating IPv6 more generally since I had
written this patch. I agree we can do better nowadays, I'll take a look
at it... Except that I noticed dnsmasq is compiled with no-dhcpv6?
What is the reasoning for it?
This breaks both the patch I've just resubmit (sorry for not checking
beforehand) and these two lines that my config used to have (which are
also used for RDNSS and DNSSL router advertisements, but require dhcpv6
to be parsed I guess):
Without these, an ipv6-only device can not pickup a dns server and
I also have backported the qos ipv6 patch Ilkka Ollakka made a couple of
years ago that hadn't been picked, I'll resend this as soon as I've
confirmed I'm happy with it myself (there's been a change with locking
in iptables and -w doesn't seem to cut it, I'll need to take some time
to debug a bit)
Dominique Martinet | Asmadeus
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel