Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: how to deny DNS abuse
PostPosted: Sat Nov 29, 2008 7:18 pm 
Offline

Joined: Sat Sep 20, 2008 4:54 pm
Posts: 1
How to deny query DNS server by external hosts and allow only short list of hosts query server. Solution has to be completed for hosts with dynamic IP
Code:
allow-recursion { address_match_list };
seems to solve the problem however I can't see the way to use hostname instead IP address (ie. dynamic IP registered with dyndns.com server)


Top
   
 Post subject:
PostPosted: Sat Nov 29, 2008 8:52 pm 
Offline
Linode Staff
User avatar

Joined: Sat Jun 21, 2003 2:21 pm
Posts: 160
Location: Absecon, NJ
I've never heard of a DNS daemon that does what you want out of the box, but there are a few roundabout ways you may be able to approximate the behavior.

The easiest way I can think of is to use a VPN or SSH tunnel to route DNS queries through. Unfortunately, it adds an extra step in setup and adds latency to your connections--but it at least would achieve the goal.

Without knowing more about what you're trying to achieve and the sort of clients you want to serve, it's difficult to give a better answer.

James


Top
   
 Post subject:
PostPosted: Thu Feb 05, 2009 12:38 am 
Offline
Newbie
User avatar

Joined: Thu Feb 05, 2009 12:35 am
Posts: 4
Website: http://cretaceouslabs.com/blog
Location: Toronto, Canada
dnscache, found in the djbdns software package[1], is able to restrict which IP addresses and IP address ranges are allowed to query the DNS server.

[1] http://cr.yp.to/djbdns.html

Cheers,
Nick


Top
   
 Post subject:
PostPosted: Thu Feb 05, 2009 8:59 am 
Offline
Senior Member

Joined: Sun Aug 31, 2008 4:29 pm
Posts: 177
You might also look to see what network ranges dyndns.com uses, then use iptables to allow those networks access to port 53 (denying everything else). Far from a perfect solution but it would narrow it down a lot.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group