Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
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.
|
 |
12-21-2010, 02:08 AM
|
#1
|
Member
Registered: Jul 2010
Location: Skynet
Distribution: Debian + Emacs
Posts: 467
Rep:
|
DNS: A Record and PTR Record
I'm setting up my first e-mail server (Gentoo Linux w/postfix). The server is a self-managed box I rent from a company that sells rack space. But my name servers and registration are provided by another company.
Anyway, I'm going through an old copy of "The Book of Postfix" and trying to make sure my DNS configuration is all correct. The book says that my A RECORD should match my PTR RECORD, or there could be problems communicating with some e-mail servers.
I can dig my server's fqdn just fine, which is in the domain I bought from the company that handles the registration. However, if I dig -x to do the reverse lookup for the ip address, instead of that fqdn, I get an internal fqdn made up by the company that is taking care of my self-managed computer.
/As far as I know/ this hasn't caused any problems sending or receiving e-mail. But is this an issue that will need to be resolved? And if so, who should I be talking to? (My name server provider or my rack-space provider?)
|
|
|
12-21-2010, 10:33 AM
|
#2
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824
|
It should be resolved, yes, because if your forward and reverse DNS do not match your server will be trusted less (the non-matching is typical of cheap or home setups). I believe you need to talk to the company that is taking care of your self-managed computer.
|
|
|
12-21-2010, 12:43 PM
|
#3
|
Senior Member
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125
|
My ISP will allow you to change the reverse DNS if you are a business grade customers with static IP addresses but residential customers are stuck with the default naming. If you are running a mail server on a residential account, one way around a lot of problems is to relay your mail through your ISP's SMTP server. Mail still originated and is received by your server (BTW, it doesn't show as being from your ISP domain) it is just that their SMTP becomes the first hop along the path rather than directly on to the Internet.
|
|
|
12-21-2010, 01:50 PM
|
#4
|
Member
Registered: Dec 2010
Distribution: Debian testing
Posts: 148
Rep:
|
If the server only handles incomming mail then this shouldn't be a big problem.
Like AlucardZero stated, the reverse lookup is used to see if your server can be "trusted" and sometimes this configuration needs to be accurate to get your IP cleared from blacklists, but this doesn't mean that no other servers will not trust your server at all!
If I am not mistaken, spam software will compare the ptr and the mx record to see if the server they are receiving mail from can be trusted, if they don't match the mail is subject to get a higher score.
ptr records are handled by the ISP, so in this case the company where you are renting the server/rackspace.
|
|
|
12-21-2010, 11:28 PM
|
#5
|
Member
Registered: Jul 2010
Location: Skynet
Distribution: Debian + Emacs
Posts: 467
Original Poster
Rep:
|
Went back to my rackspace provider's website, and found out that they had a control panel just for setting rDNS records. Problem solved!
|
|
|
All times are GMT -5. The time now is 05:51 AM.
|
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
|
|