<p dir="ltr">Well now I tried setting two dhcp-range ::1 to ::100 with infinite lease time, and ::101 to ::200 with ra-names</p>
<p dir="ltr">Also added enable-ra</p>
<p dir="ltr">My phone doesn't get an AAAA mapping neither an IPv6 address.</p>
<div class="gmail_quote">On 15-Oct-2014 1:16 am, "Simon Kelley" <<a href="mailto:simon@thekelleys.org.uk">simon@thekelleys.org.uk</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 14/10/14 19:33, Nilesh Govindrajan wrote:<br>
> On Tue, Oct 14, 2014 at 11:19 PM, Simon Kelley <<a href="mailto:simon@thekelleys.org.uk">simon@thekelleys.org.uk</a>> wrote:<br>
>> On 14/10/14 04:09, Nilesh Govindrajan wrote:<br>
>>> Hi list,<br>
>>><br>
>>> I'm playing with IPv6 after getting a tunnel from HE. I have<br>
>>> configured dnsmasq as:<br>
>>><br>
>>> domain-needed<br>
>>> resolv-file=/etc/resolv.dnsmasq<br>
>>> strict-order<br>
>>> interface=eth0<br>
>>> interface=lo<br>
>>> no-dhcp-interface=lo<br>
>>> bind-interfaces<br>
>>> expand-hosts<br>
>>> domain=lan<br>
>>> dhcp-range=192.168.0.11,192.168.0.254,255.255.255.0,24h<br>
>>> dhcp-range=<my ipv6 subnet>::, ra-advrouter<br>
>>> enable-ra<br>
>>> dhcp-option=option:router,192.168.0.1<br>
>>> dhcp-option=option:dns-server,192.168.0.10<br>
>>> dhcp-option=option6:dns-server<br>
>>> dhcp-option=option:domain-search,lan<br>
>>> dhcp-option=option:mtu,1472<br>
>>> dhcp-option=option6:domain-search,lan<br>
>>> dhcp-authoritative<br>
>>> cache-size=50000<br>
>>><br>
>>><br>
>>> All machines on my network get IPv6 addresses, but when I try to find<br>
>>> them via DNS request, it fails (doesn't return an AAAA record). But<br>
>>> the corresponding A records exist and they work properly.<br>
>>> This works if I set ra-names mode, but I don't want to use SLAAC.<br>
>><br>
>> You _are_ using SLAAC, that's what ra-advrouter does.<br>
>><br>
>> To use DHCPV6, use something like<br>
>><br>
>> dhcp-range=<my ipv6 subnet>::2, <my ipv6 subnet>::200<br>
>><br>
>><br>
>> That way your clients should get DHCPv6 leases, and from them, AAAA records.<br>
>><br>
>> Cheers,<br>
>><br>
>> Simon.<br>
>><br>
>>><br>
> I think with the current setup both SLAAC and DHCPv6 are being used<br>
> because I see two IPs on each machine.<br>
><br>
<br>
With the configuration you quote above, there will be no DHCPv6. SLAAC<br>
normally results in at least two addresses, one is derived from the MAC<br>
address of the interface, and the second is a random "privacy address".<br>
The later will be regularly replaced.<br>
<br>
IPv6 is a whole different world.<br>
<br>
You're right that Android can't do DHCPv6. That was the original<br>
motivation for the ra-names mode in dnsmasq.<br>
<br>
<br>
Cheers,<br>
<br>
Simon.<br>
</blockquote></div>