[Dnsmasq-discuss] [patch] Option to remove A-forA

Geert Stappers stappers at stappers.nl
Thu Jan 25 20:31:30 GMT 2018


On Thu, Jan 25, 2018 at 04:03:57PM +0100, Mattias Hellström wrote:
> Hi,
> I have made a patch to disable the A-for-A feature.
> I believe that the text portions can be made better by an actual DNS expert.
> 
> Given the following quote, and if that trend holds true, there are probably
> no significant A-for-A requests anymore.
> 
> The percentages of A-for-A seen by root servers reported in 2001, 2003, and
> 2008 was 12%???18%, 7.03%, and 2.7%, respectively. The decreasing trend
} 2008 was 12%, 7.03%, and 2.7%, respectively. The decreasing trend
> continues in our data collected in 2012, where A-for-A only contributes
> 0.4% of the traffic.
> 
> [[ http://cs.northwestern.edu/~ychen/Papers/DNS_ToN15.pdf ]]
> 
> 
> ---
> 
>  man/dnsmasq.8 | 3 +++
> 
>  src/dnsmasq.h | 3 ++-
> 
>  src/option.c  | 3 +++
> 
>  src/rfc1035.c | 2 +-
> 
>  4 files changed, 9 insertions(+), 2 deletions(-)
> 
> 
> diff --git a/man/dnsmasq.8 b/man/dnsmasq.8
> 
> index 6b914ec..40d531c 100644
> 
> --- a/man/dnsmasq.8
> 
> +++ b/man/dnsmasq.8
> 

FWIW
  after "unmengle what was mengled by email programm" still patch errors occure.


Find attached the unmengled patch, it will yield this 

patching file man/dnsmasq.8
Hunk #1 succeeded at 1908 with fuzz 1.
patching file src/dnsmasq.h
Hunk #1 FAILED at 250.
1 out of 1 hunk FAILED -- saving rejects to file src/dnsmasq.h.rej
patching file src/option.c
Hunk #1 FAILED at 160.
Hunk #3 succeeded at 498 with fuzz 2.
1 out of 3 hunks FAILED -- saving rejects to file src/option.c.rej
patching file src/rfc1035.c
Hunk #1 FAILED at 1570.
1 out of 1 hunk FAILED -- saving rejects to file src/rfc1035.c.rej


against git HEAD



Groeten
Geert Stappers
-- 
Leven en laten leven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unmengled.patch
Type: text/x-diff
Size: 3386 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20180125/ababb8e4/attachment.patch>


More information about the Dnsmasq-discuss mailing list