Mail Server Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationMail Server Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 8th, 2003, 11:16 AM
johnmurray johnmurray is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 13 johnmurray User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
sendmail/postfix dns issue...

Hi,

I'm having trouble figuring out why my smtpd keeps on hitting one of my dns servers. I removed the dns entry from the hosts file and the resolve.cfg file. When I tail the message file, I constantly see failed request to the destination dns. Is there another place the dns entry might be inserted?

--john

Reply With Quote
  #2  
Old December 8th, 2003, 03:25 PM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
Quote:
I'm having trouble figuring out why my smtpd keeps on hitting one of my dns servers.

By "hitting" do you mean "attempting to do recursive DNS lookups against"?
Quote:
I removed the dns entry from the hosts file and the resolve.cfg file.

What DNS entry? Do you mean the nameserver entry in /etc/resolv.conf?
Quote:
When I tail the message file

Which message file? Please provide unedited samples from this file that illustrate the problem you're having.
Quote:
Is there another place the dns entry might be inserted?

Your DNS resolvers are defined in /etc/resolv.conf. Various applications on your system will use the nameserver entries in this file to perform DNS lookups. (Exception: dig and other DNS diagnostic tools can be instructed to send their queries directly to certain DNS servers.)
__________________
Alex
(http://www.alex-greg.com)

Reply With Quote
  #3  
Old December 8th, 2003, 04:35 PM
johnmurray johnmurray is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 13 johnmurray User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
When I do netstat -uap, I can see the following entry:
udp 0 0 mailserver.c:40794 192.168.0.50:domain ESTABLISHED 26945/smtpd

The 192.168.0.50 is one of 3 name servers I have. How do I stop smtpd from looking at the above DNS?

--john

Reply With Quote
  #4  
Old December 8th, 2003, 04:38 PM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
Assuming you've removed it from /etc/resolv.conf, you could try restarting smtpd

Reply With Quote
  #5  
Old December 8th, 2003, 04:48 PM
johnmurray johnmurray is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 13 johnmurray User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
yeah... I already removed it from the resolv.conf. I even rebooted the server. I'm really stuck on this becuase netstat shows me that it's still looking and my /va/log/message is show all sorts of errors because that box no longer exist. Any other ideas why it's still looking at that IP?

--john

Reply With Quote
  #6  
Old December 8th, 2003, 05:46 PM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
You'll have to post some of the actual log file messages if you want help.

What SMTP server are you running?

Reply With Quote
  #7  
Old December 8th, 2003, 09:13 PM
johnmurray johnmurray is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 13 johnmurray User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Here is the error in the /var/log/message. It's erroring out because the PIX is denying it. I need to figure out why smtpd and smtp is looking up the one deleted DNS entry. Feel free to ask for any other info because I'm really stuck at this point.

Dec 8 18:50:02 192.168.0.1 %PIX-3-106011: Deny inbound (No xlate) udp src inside:172.25.0.13/46205 dst inside:192.168.0.50/53

--john

Reply With Quote
  #8  
Old December 9th, 2003, 04:29 AM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
What SMTP server are you running?

"smtpd" is a generic name for an SMTP daemon. All MTA's (qmail, postfix, sendmail) have an smtpd.

Reply With Quote
  #9  
Old December 9th, 2003, 12:05 PM
johnmurray johnmurray is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 13 johnmurray User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
sorry, I forgot to include that info.

I'm running PostFix.

--john

Reply With Quote
  #10  
Old December 15th, 2003, 01:20 PM
johnmurray johnmurray is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 13 johnmurray User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
--> alexgreg... Any other ideas why it's still hitting the DNS server?

--john

Reply With Quote
  #11  
Old May 25th, 2004, 06:26 PM
solomolo solomolo is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 1 solomolo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
This bit me in the *** for a couple days. Postfix has it's own resolv.conf. Try /var/spool/postfix/etc/resolv.conf.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationMail Server Help > sendmail/postfix dns issue...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway