LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-09-2007, 01:29 AM   #1
nhaunold
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Rep: Reputation: 0
Limit DNS queries


Hi

I was wondering if it is possible to limit the number of DNS requests a Redhat server can make, per second.
We have had a number of occurrences were a redhat server (actually the Oracle software on that server) floods the network with DNS requests (about 400 a second). Each response is coming back successfull so there is nothing wrong with DNS.
It would be nice to be able to limit a host, to say 50 DNS queries a second.

Thanks
Nick
 
Old 07-09-2007, 02:18 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well that's going to presumably be somethign on the client machine itself, using the iptables limit module...

iptables -A INPUT -p udp -port 53 -m limit --limit 20/s -o eth0 -j ACCEPT

never used this myself, but i *think* this entry will only permit 20 udp/53 packets per second, so drop 380 of them on the client itself.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ipv6 queries to dns peacebwitchu AIX 0 11-10-2005 06:57 PM
DNS IPv6 Queries Fail kawauso-kun Debian 1 01-15-2005 05:31 PM
iptables - not broadcasting for dns queries raven02 Linux - Networking 1 06-08-2004 11:47 PM
DNS Queries lcplutz@wincor Linux - Networking 2 06-04-2004 06:59 AM
Some queries related to DNS(bind) coolamit78 Linux - Networking 1 12-19-2003 03:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration