Gui Iribarren wrote on Thu, Jul 05, 2012 : > I'm currently using the "config rdnss" feature of radvd so that SLAAC > hosts also get a DNS server entry, again independent of dhcpv4. I > assume that's also possible with this new scheme, right? > i could search about it on dnsmasq documentation , but you seem to > have immersed in the subject much more than i could achieve right now.
I'll have to say I haven't used this yet, so none of my clients had a rnssd running :) Nevertheless, the documentation is good enough (I'm using http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html ) It states: --enable-ra [...] If provided, the DHCPv6 options dns-server and domain-search are used for RDNSS and DNSSL. As well as: IPv6 options are specified using the option6: keyword, followed by the option number or option name. The IPv6 option name space is disjoint from the IPv4 option name space. IPv6 addresses in options must be bracketed with square brackets, eg. --dhcp-option=option6:ntp-server,[1234::56] As far as experiments go, without any option dnsmasq advertises the router local address, but my resolvconf doesnt add it to /etc/resolv.conf Also, adding a line like this works as expected: "--dhcp-option=option6:dns-server,[2001:dead:beef::1]" I couldn't get it to accept a domain-search, but I'm not quite sure if rnssd supports it anyway :) Given the openwrt conf sytax already supports dhcp-options, adding a few lines in the conf should work: config 'dhcp' option 'interface' 'lan' list 'dhcp_option' 'option6:dns-server,[2001:dead:beef::1]' which ends up like: dhcp-option=lan,option6:dns-server,[2001:dead:beef::1] so no further init script change needed! Regards, -- Asmadeus | Dominique Martinet late for work :D _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel