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

Mattias Hellström hellstrom.mattias at gmail.com
Fri Jan 26 08:03:07 GMT 2018


Looks like I invoked a whitespace problem in the copy paste. Here is the
patch as attachment.
The relevant parts are equal to the unmengled if I test with "diff -bB"


On Thu, Jan 25, 2018 at 9:31 PM, Geert Stappers <stappers at stappers.nl>
wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20180126/ca2862a3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dnsmasq.afora.patch
Type: application/octet-stream
Size: 2780 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20180126/ca2862a3/attachment.obj>


More information about the Dnsmasq-discuss mailing list