[Dnsmasq-discuss] [patch] Option to remove A-forA
Geert Stappers
stappers at stappers.nl
Fri Jan 26 08:38:34 GMT 2018
On Fri, Jan 26, 2018 at 09:03:07AM +0100, Mattias Hellström wrote:
> On Thu, Jan 25, 2018 at 9:31 PM, Geert Stappers 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.
> > >
> >
> > FWIW
> > after "unmengle what was mengled by email programm" still patch errors occure.
> >
> 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"
>
Yes, that patch applies cleanly.
I propose this commit message:
-----8<----8<-------8<----
Option to remove A-forA
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%, 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 ]]
Signed-of-by: Mattias Hellstrom <hellstrom.mattias at gmail.com>
-----8<----8<-------8<----
> > > 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.
+++ b/man/dnsmasq.8
+.TP
+.B --no-afora
+Do not treat A-for-A DNS requests special. I.e. do not duck type a FQDN to an IP.
+++ b/src/option.c
+ { LOPT_NO_AFORA, OPT_NO_AFORA, NULL, gettext_noop("Do not treat A-for-A special."), NULL },
Those text portions??
Groeten
Geert Stappers
--
Leven en laten leven
More information about the Dnsmasq-discuss
mailing list