[Dnsmasq-discuss] [PATCH] --add-subnet custom values
Simon Kelley
simon at thekelleys.org.uk
Wed Aug 5 21:19:39 BST 2015
Patch applied, with trivial formating changes. Many thanks.
Thanks for including documentation updates.
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=1.2.3.4/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 anEd Bardsley <ebardsley at google.com>
> 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
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
More information about the Dnsmasq-discuss
mailing list