BugTraq
DNS query spam Nov 27 2005 10:30PM
Piotr Kamisiski (rotunda ktd krakow pl) (4 replies)
Re: DNS query spam Nov 29 2005 04:42PM
Florian Weimer (fw deneb enyo de) (2 replies)
Re: DNS query spam Nov 30 2005 12:49PM
Jim Pingle (jim hpcisp com)
Re: DNS query spam Nov 29 2005 04:57PM
Piotr Kamisiski (rotunda ktd krakow pl)
Re: DNS query spam Nov 29 2005 06:52AM
Alexander Lourier (aml rulezz ru)
Re: DNS query spam Nov 29 2005 06:50AM
Josep Ma Castells (jcb kastells com) (2 replies)
Re: DNS query spam Nov 30 2005 09:20AM
Florian Weimer (fw deneb enyo de)
Re: DNS query spam Nov 30 2005 03:23AM
Joe (joe hostpc com)
Re: DNS query spam Nov 29 2005 12:37AM
Antone Roundy (antone geckotribe com) (1 replies)
Re: DNS query spam Nov 30 2005 04:41AM
Stephen Stuart (stuart tech org)
> Assuming you use Bind, can edit your named.conf file, only wish to
> provide recursive DNS services (ie. handle queries for domains that
> you are not authoritative for) to a known range of IP addresses, and
> the query is for a domain that you're not authoritative for, you can
> solve the problem by adding something like this to named.conf:
>
> options {
> allow-recursion { 127.0.0.1/32; };
> };
>
> That particular setting would cause Bind to ignore recursive queries
> from all IP addresses except 127.0.0.1 (localhost). My DNS server
> only provides recursive queries for itself, so the setting was easy
> for me. After I started blocking recursive queries, it took a week
> or so for the bogus traffic to stop. But in the mean time, since I
> wasn't sending responses, the amount of my bandwidth that was wasted
> decreased dramatically.

Small correction: that will cause BIND to not perform recursive
queries from any IP address except 127.0.0.1. You will still answer
queries from cache for all comers, unless you also restrict queries in
general to 127.0.0.1/32:

options {
allow-query { 127.0.0.1/32; };
};

Stephen

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus