Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
awesome notes from simon: The AAAA-from-DHCPv4 is working well. I was concerned that It might miss getting a valid ping reply without aggressive retries But in fact my Android phone has never faield to confirm the AAAA record within 20s or so of getting a DHCPv4 lease when ever I arrive home. I figure that's a good test as the phone is passing through marginal signal strength first and is partially shielded in my pocket. Once the DHCPv4 lease is done, dnsmasq is sending RAs every 5-10s for a minute, and pings with exponential backoff, 1s ,2s, 4s, etc. It bottoms out at a ping every 2048s which is trivial load for hosts which are never going to reply (No IPv6, privacy extensions, etc) but will still eventually find hosts which do. The latest git head also implements one-line stateless DHCPv6 dhcp-range=<subnet>,ra-stateless will enable DHCPv6 and RA with A and O bits set, M bit reset. The first time I enabled it on my production network, within five seconds my daughter's Win 7 laptop had picked up the RA, done a DHCP information request, got an IPv6 address for its recursive nameserver, and started talking the DNS-forwarder part of dnsmasq via IPv6. The dnsmasq code in git now supports a lease/route advertisement lifetime of "deprecated" which leaves the valid lifetime at the default, and the prefered lifetime as zero. It worked great for with SLAAC. I didn't have time to work out if any DHCPv6 client can be configured, when it renews a lease and gets preferred lifetime zero, to request a new lease on a new IAID and run the two concurrently.
- Loading branch information