North American Network Operators Group

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

Re: DNS Blocking

  • From: Duane Wessels
  • Date: Thu Aug 19 16:13:15 2004

> > [email protected] ("Dan Mahoney, System Admin") writes:
> >
> >> What I was basically asking for was a "silently drop queries for X-domain"
> >> option.  But one doesn't exist in bind.
> >
> > take a look at www.as112.net to see what happens to queries for
> > 10.in-addr.arpa and its brothers.  you can easily set up a zone
>
> There weren't rfc1918.

Doesn't matter.  But in order for this trick to work:

  - The things sending you queries must be able to receive your
    replies.  I believe you said that source addresses are spoofed,
    so this may not be the case.

  - The things sending you queries must be smart enough to follow
    the NS referral in the response.

If I wanted to silently drop DNS queries based on the query name,
I might use FreeBSD's divert socket and a Perl script to examine
the queries.  Not sure well that would scale though.

Duane W.