<div dir="ltr">Google Public DNS (8.8.8.8) attempts to identify and filter abuse, and while we think we're fairly effective for large attacks (eg, those above 1Mpps), it gets more challenging (due to risk of false positives) to adequately filter small attacks.  I should note that we generally see the attack traffic coming from botnets, or forwarding resolvers that blend the attack traffic with legitimate traffic.<div><br></div><div>Based on ISC BIND load-tests [0], a single DNS server can handle O(1Mpps).  Also, no domain should be served by a single DNS server, so O(1Mpps) seems like a safe lower-bound for small administrative domains (larger ones will have more redundancy/capacity).  Based on these estimates, we haven't treated mitigation of small attacks as a high priority.  If O(25Kpps) attacks are causing real problems for the community, I'd appreciate that feedback and some hints as to why your experience differs from the ISC BIND load-tests.  With a better understanding of the pain-points, we may be able to improve our filtering a bit, though I suspect we're nearing the limits of what is attainable.</div><div><br></div><div>Since it was mentioned up-thread, I'd caution against dropping queries from likely-legitimate recursives, as that will lead to a retry storm that you won't like (based on a few reports of authoritatives who suffered outages, the retry storm increased demand by 30x and they initially misdiagnosed the root cause as a DDoS).  The technically correct (if not entirely practical) mitigation for a DNS cache-busting attack laundered through open recursives is to deploy DNSSEC and issue NSEC/NSEC3 responses to allow the recursives to cache the non-existence of the randomized labels.</div><div><br></div><div>[0] <a href="https://www.isc.org/blogs/bind-performance-september-2023/">https://www.isc.org/blogs/bind-performance-september-2023/</a></div><div><br></div><div>Damian</div><div>-- </div><div>Damian Menscher :: Security Reliability Engineer :: Google :: AS15169</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Dec 3, 2023 at 1:22 PM Michael Hare via NANOG <<a href="mailto:nanog@nanog.org">nanog@nanog.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">John-<br>
<br>
This is little consolation, but at AS3128, I see the same thing to our downstream at times, claiming to come from both 13335 and 15169 often simultaneously at the tune of 25Kpps , "assuming it's not spoofed", which is pragmatically impossible to prove for me given our indirect relationships with these companies.  When I see these events, I typically also see a wide variety of country codes participating simultaneously.  Again, assuming it's not spoofed.  To me it just looks like effective harassment with 13335/15169 helping out.  I pine for the internet of the 1990s.<br>
<br>
Recent events in GMT for us were the following, curious if you see the same<br>
~ Nov 26 05:40<br>
~ Nov 30 00:40<br>
~ Nov 30 05:55<br>
<br>
Application agnostic, on the low $ end for "fixes", if it's either do something or face an outage, I've found some utility in short term automated DSCP coloring on ingress paired with light touch policing as close to the end host as possible, which at least keeps things mostly working during times of conformance.  Cheap/fast and working ... most of the time.  Definitely not great or complete at all, and a role I'd rather not play as an educational ISP/enterprise.<br>
<br>
So what are most folks doing to survive crap like this?  Nothing/waiting it out?  Oursourcing DNS?  Scrubbing appliance?  Poormans stuff like I mention above?<br>
<br>
-Michael <br>
<br>
> -----Original Message-----<br>
> From: NANOG <nanog-bounces+michael.hare=<a href="mailto:wisc.edu@nanog.org" target="_blank">wisc.edu@nanog.org</a>> On<br>
> Behalf Of John R. Levine<br>
> Sent: Sunday, December 3, 2023 1:18 PM<br>
> To: Peter Potvin <<a href="mailto:peter.potvin@accuristechnologies.ca" target="_blank">peter.potvin@accuristechnologies.ca</a>><br>
> Cc: <a href="mailto:nanog@nanog.org" target="_blank">nanog@nanog.org</a><br>
> Subject: Re: What are these Google IPs hammering on my DNS server?<br>
> <br>
> > Did a bit of digging on Google's developer site and came across this:<br>
> > <a href="https://developers.google.com/speed/public-" rel="noreferrer" target="_blank">https://developers.google.com/speed/public-</a><br>
> dns/faq#locations_of_ip_address_ranges_google_public_dns_uses_to_send_<br>
> queries<br>
> ><br>
> > Looks like the IPs you mentioned belong to Google's public DNS resolver<br>
> > based on that list on their site. They could also be spoofed though from a<br>
> > DNS AMP attack, so keep that in mind.<br>
> <br>
> Per my recent message, the replies are tiny so if it's an amplification<br>
> attack, it's a very incompetent one.  The queries are case randomized so I<br>
> guess it's really Google.  Sigh.<br>
> <br>
> If anyone is wondering, I have a passive aggressive countermeasure against<br>
> some overqueriers that returns ten NS referral names, and then 25 random<br>
> IP addresses for each of those names, but I don't do that to Google.<br>
> <br>
> R's,<br>
> John<br>
> <br>
> > ------------------------------------------------------------------------------<br>
> > *Accuris Technologies Ltd.*<br>
> ><br>
> ><br>
> > On Sun, Dec 3, 2023 at 1:51 PM John Levine <<a href="mailto:johnl@iecc.com" target="_blank">johnl@iecc.com</a>> wrote:<br>
> ><br>
> >> At <a href="http://contacts.abuse.net" rel="noreferrer" target="_blank">contacts.abuse.net</a>, I have a little stunt DNS server that provides<br>
> >> domain contact info, e.g.:<br>
> >><br>
> >> $ host -t txt <a href="http://comcast.net.contacts.abuse.net" rel="noreferrer" target="_blank">comcast.net.contacts.abuse.net</a><br>
> >> <a href="http://comcast.net.contacts.abuse.net" rel="noreferrer" target="_blank">comcast.net.contacts.abuse.net</a> descriptive text "<a href="mailto:abuse@comcast.net" target="_blank">abuse@comcast.net</a>"<br>
> >><br>
> >> $ host -t hinfo <a href="http://comcast.net.contacts.abuse.net" rel="noreferrer" target="_blank">comcast.net.contacts.abuse.net</a><br>
> >> <a href="http://comcast.net.contacts.abuse.net" rel="noreferrer" target="_blank">comcast.net.contacts.abuse.net</a> host information "lookup" "<a href="http://comcast.net" rel="noreferrer" target="_blank">comcast.net</a>"<br>
> >><br>
> >> Every once in a while someone decides to look up every domain in the<br>
> >> world and DoS'es it until I update my packet filters. This week it's<br>
> >> been this set of IPs that belong to Google. I don't think they're<br>
> >> 8.8.8.8. Any idea what they are? Random Google Cloud customers? A<br>
> >> secret DNS mapping project?<br>
> >><br>
> >>  172.253.1.133<br>
> >>  172.253.206.36<br>
> >>  172.253.1.130<br>
> >>  172.253.206.37<br>
> >>  172.253.13.196<br>
> >>  172.253.255.36<br>
> >>  172.253.13.197<br>
> >>  172.253.1.131<br>
> >>  172.253.255.35<br>
> >>  172.253.255.37<br>
> >>  172.253.1.132<br>
> >>  172.253.13.193<br>
> >>  172.253.1.129<br>
> >>  172.253.255.33<br>
> >>  172.253.206.35<br>
> >>  172.253.255.34<br>
> >>  172.253.206.33<br>
> >>  172.253.206.34<br>
> >>  172.253.13.194<br>
> >>  172.253.13.195<br>
> >>  172.71.125.63<br>
> >>  172.71.117.60<br>
> >>  172.71.133.51<br>
> >><br>
> >> R's,<br>
> >> John<br>
> >><br>
> ><br>
> <br>
> Regards,<br>
> John Levine, <a href="mailto:johnl@taugh.com" target="_blank">johnl@taugh.com</a>, Primary Perpetrator of "The Internet for<br>
> Dummies",<br>
> Please consider the environment before reading this e-mail. <a href="https://jl.ly" rel="noreferrer" target="_blank">https://jl.ly</a><br>
</blockquote></div>