Thanks for this. I plan to return to it in a week or so, once the 2.74 bugfix release is done.
Cheers, Simon. On 25/07/15 03:36, Ed Bardsley wrote: > Hi folks - > > I wrote up some changes to --add-subnet to, in addition to the current > behavior, let you specify things like --add-subnet=184.108.40.206/24 to use > that specific address instead of the requestor's subnet. I've found > this particularly useful for testing in cases where you can control an > intermediate resolver but not the client, as well as in cases where > it's appropriate to lie to geo-aware DNS servers. :) > > Perhaps others will also find this useful. > > man/dnsmasq.8 | 32 +++++++++++++++++++++----------- > src/dnsmasq.h | 13 ++++++++++--- > src/option.c | 63 > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- > src/rfc1035.c | 38 +++++++++++++++++++++++++++++++------- > 4 files changed, 120 insertions(+), 26 deletions(-) > > Patch is attached. > > Ed > > > > _______________________________________________ > Dnsmasq-discuss mailing list > Dnsmasqfirstname.lastname@example.org > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > _______________________________________________ Dnsmasq-discuss mailing list Dnsmasqemail@example.com http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss