Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-30-2009, 11:17 AM
|
#1
|
Member
Registered: Aug 2008
Posts: 41
Rep:
|
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
|
|
|
06-30-2009, 02:12 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
07-01-2009, 05:00 AM
|
#3
|
Member
Registered: Aug 2008
Posts: 41
Original Poster
Rep:
|
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
|
|
|
07-01-2009, 08:31 AM
|
#4
|
Member
Registered: Aug 2008
Posts: 41
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 03:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|