[Dnsmasq-discuss] IPv6 ra-advrouter mode doesn't create the appropriate AAAA records

Simon Kelley simon at thekelleys.org.uk
Tue Oct 14 18:49:01 BST 2014


On 14/10/14 04:09, Nilesh Govindrajan wrote:
> Hi list,
> 
> I'm playing with IPv6 after getting a tunnel from HE. I have
> configured dnsmasq as:
> 
> domain-needed
> resolv-file=/etc/resolv.dnsmasq
> strict-order
> interface=eth0
> interface=lo
> no-dhcp-interface=lo
> bind-interfaces
> expand-hosts
> domain=lan
> dhcp-range=192.168.0.11,192.168.0.254,255.255.255.0,24h
> dhcp-range=<my ipv6 subnet>::, ra-advrouter
> enable-ra
> dhcp-option=option:router,192.168.0.1
> dhcp-option=option:dns-server,192.168.0.10
> dhcp-option=option6:dns-server
> dhcp-option=option:domain-search,lan
> dhcp-option=option:mtu,1472
> dhcp-option=option6:domain-search,lan
> dhcp-authoritative
> cache-size=50000
> 
> 
> All machines on my network get IPv6 addresses, but when I try to find
> them via DNS request, it fails (doesn't return an AAAA record). But
> the corresponding A records exist and they work properly.
> This works if I set ra-names mode, but I don't want to use SLAAC.

You _are_ using SLAAC, that's what ra-advrouter does.

To use DHCPV6, use something like

dhcp-range=<my ipv6 subnet>::2, <my ipv6 subnet>::200


That way your clients should get DHCPv6 leases, and from them, AAAA records.

Cheers,

Simon.

> 
> I'm using DNSMasq v2.72 installed from debian unstable repository.
> 
> I'm quite new to IPv6, so don't assume things :)
> 
> _______________________________________________
> 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