Skip to content

Commit

Permalink
update dnsmasq to git head
Browse files Browse the repository at this point in the history
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
Dave Taht committed Mar 29, 2012
1 parent 077622d commit c775606
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/dnsmasq/Makefile
Expand Up @@ -8,13 +8,13 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=dnsmasq
PKG_VERSION:=2.60-1-7-git
PKG_VERSION:=2.61-1-1-git
PKG_RELEASE:=2

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git://thekelleys.org.uk/dnsmasq.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=30cd96663fb0d20032ecd3bd443fbb64b6356f90
PKG_SOURCE_VERSION:=c8257540bc4f36757b73ced65ae49f3560375b7f
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz

#PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
Expand Down

0 comments on commit c775606

Please sign in to comment.