LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-15-2010, 08:06 PM   #1
trueno_ray
LQ Newbie
 
Registered: Dec 2010
Posts: 5

Rep: Reputation: 0
DNS recursion impact sendmail


Dear All,

I have a server provided dns and sendmail service, dns keeping record for my public servers. I don't want my server to be open dns server,
so I just add recursion and forwarders option to named.conf, like:
allow-recursion {192.168.x.x/24; 123.123.x.x/28; 127.0.0.0/8;};
forwarders {publicDNSipA; publicDNSipB;};

After restart named, all sendmail user can't mail to other internet account (like xxxxx@gmail.com); but local account is ok

version:
sendmail - 8.9.3
bind - 8.2.3

Is there any problem on my config?

Thanks your help

Last edited by trueno_ray; 12-15-2010 at 08:08 PM.
 
Old 12-16-2010, 12:40 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,
Quote:
After restart named, all sendmail user can't mail to other internet account
You should give more details, like what's logged in /var/log/maillog, or what gives:
Code:
dig mx gmail.com
Anyway, use 127.0.0.1 instead of 127.0.0.0/8, as both bind and sendmail running on the same box, and see if it works.

Quote:
version:
sendmail - 8.9.3
bind - 8.2.3
You're running very old versions of both programs. Consider upgrading for security reasons.

Regards
 
Old 12-16-2010, 01:02 AM   #3
trueno_ray
LQ Newbie
 
Registered: Dec 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks bathory,

I just find out after config recursion and forwarders to named, everything work fine, but after about 1 hour named and smtp server response time is very long, 2 hour later, I can't send mail to internet mail accout as I said, it seems response time out.

In /var/log/message, every second i get too many "denied recursion query" from a range of internet IP
 
Old 12-16-2010, 02:29 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

It looks like your name server suffer from some kind of DDOS. You should setup your firewall to block incoming traffic to port 53 udp/tcp at least for these hosts.
And once again consider upgrading.

Regadrs
 
  


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
Problems with reverse DNS and recursion with IP delegation RFC2317 mangueJOE Linux - Server 1 09-24-2010 03:52 PM
DNS merge / intercept queries from zone file and recursion server jabaker Linux - Server 1 06-04-2010 07:54 PM
bind dns recursion, is this supposed to do that? sir-lancealot Linux - Server 1 08-30-2007 07:26 PM
BIND 9.3.3 split dns recursion disallow twantrd Linux - Software 2 12-15-2006 06:12 PM
tar: '--no-recursion' option doesn't prevent recursion Earl Parker II Slackware 12 08-17-2004 02:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:00 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