LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 06-30-2009, 11:17 AM   #1
gael
Member
 
Registered: Aug 2008
Posts: 41

Rep: Reputation: 15
Concerns related to DNS round robin and SMTP


Hi all,

We have servers using a common gateway on a public IP.

We have SMTP running behind it and so sending emails. But we are receiving some SMTP errors as the SMTP server receiving the email is not able to successfully do a reverse DNS on the IP. This is normal as no PTR record is not configured.

So my first reaction was to say: send an email to your ISP, and ask him to create a PTR record for me.

BUT as it is the gateway of our network, I was thinking that we maybe need to use this IP for different services and therefore, we would have:

193.9.0.74 -> smtp.mydomain.com
193.9.0.74 -> gateway.mydomain.com

And this will start to do DNS round robin for the reverse lookup.

This means that when the SMTP server will receive the request, it will receive once smtp.mydomain.com then gateway.mydomain.com

My question is:

Will the SMTP server of the recipient freak out and consider my email server as a spam server as the reverse lookup will have 2 different FQDN?


I hope I have been clear enough. If you need anymore explanation please let me know.

Thanks in advance for your time to answer!

Gael
 
Old 06-30-2009, 02:12 PM   #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 you'd only have one PTR normally. I find that it's best to match up one A and one PTR to one IP. This record is the name of the MACHINE, and then have CNAME records pointing to the A for the aliased names, the names of the SERVICES and such like. Note that it's pretty chuffing common for a single SMTP server to accept many many domains. My personal domain is MX'd by google (boo hiss...) and they only have PTR records to their own google machine name of course.
 
Old 07-01-2009, 05:00 AM   #3
gael
Member
 
Registered: Aug 2008
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks Chris.

Let's go a bit further with some question regarding SMTP.

When I am sending an email, the hostname of the email will be mysmtpserver.mydomain.com (the one I configured in exim).
Then say, that the PTR for the public IP of the server is the gateway, therefore shared by several machines and the PTR record is gateway.mydomain.com

When the destination SMTP server will say 'HELO' it will first do it with mysmtpserver.mydomain.com then the SMTP server will do a reverse DNS query on the incoming public IP and see that it returns gateway.mydomain.com which is different from mysmtpserver.mydomain.com

What will happen in this case? Would I be blacklisted or would I receive some bounce messages? Or would it be OK?

Please let me know.

Thanks a lot in advance!

Gael
 
Old 07-01-2009, 08:31 AM   #4
gael
Member
 
Registered: Aug 2008
Posts: 41

Original Poster
Rep: Reputation: 15
Ok so after calling the ISP where it was failing, they all said that they are only interested in having a response from the reverse DNS query.

So it does not matter if the hostname and the answer of the reverse DNS query are different.

Obviously, do not take that as the gospel and double check with the ISP to make sure it is fine with them...

HTH.
Gael
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to set up IRC round robin DNS SentralOrigin Linux - Server 1 07-20-2008 04:49 AM
dns round-robin tzkolinux Linux - Networking 1 12-27-2004 03:49 AM
Setting Up DNS Round Robin? Longhair Linux - Networking 0 05-26-2003 01:34 AM
Setting Up DNS Round Robin Longhair Linux - Newbie 0 05-25-2003 12:09 PM
Round Robin DNS Lucsi Linux - Software 1 07-18-2002 04:17 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 03:43 PM.

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