LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 12-11-2008, 04:05 PM   #1
jdappert
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Rep: Reputation: 0
multiple ptr records same ip address


I have a mailserver hosting a number of domains. recently we moved the machine to a new network. I have been setting up the dns records and realized it might not be best practice to have multiple ptr records for one machine. Does anyone know what would be the best solution?
 
Old 12-12-2008, 09:18 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
Well the PTR should really point to a *machine* name, not a service name etc. Other way round, I'd also tend to only have a single A record of the machine name, with all service names being CNAME's to that single A.
 
Old 12-12-2008, 11:37 AM   #3
jdappert
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Ive read most reverse dns lookups only take the first ptr entrie or a random entrie. I'm guessing best practice is to have 1 PTR entry for the real hostname of the machine sending mail.

Interesting concept for your multiple CNAMES instead of a bunch of A records. Dunno if I want to implement it though.

Cheers
 
Old 02-23-2011, 09:26 AM   #4
ACDII
Member
 
Registered: Aug 2006
Posts: 87

Rep: Reputation: 16
I know this is an old thread, but recently had a customer request multiple PTR names for a single IP, and they keep coming back asking, is it done, is it done? Like the kid in the back seat, are we there yet? They keep doing an nslookup on the IP and it keeps coming back with only one name. Well, duh, thats how it works.

To answer this correctly after doing hours of research and finding the correct answer, I thought I would share.

The correct method of doing a PTR record for a mail server with multiple domains using one single IP, IE a hosted mail server, use the servers host name for the PTR record. What you can do to verify my answer, send an email from each domain off that server to an account you have access to and look at the headers. You will find that the received from server name will all be the same, the servers name. When a receiving server looks at an email it will be looking at the headers, and will run a PTR check against the name found in the header, in most case, all the server needs to allow it through is for a name to come back, regardless if it matches or not. For servers that have strict anti-spam filters, it does an actual name match, PTR to server name, and if it isn't and exact match, will reject it. It gets that name from the headers. Check it out, look at the headers of some emails you have, chances are the server name matches the forward lookup for most emails, but you will find a few that don't.
 
1 members found this post helpful.
  


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
BIND DNS - MX, TXT and SPF records when hosting multiple domains on same machine? icebrian Linux - Networking 3 05-02-2011 09:21 AM
PTR records on dynamic ipaddress coolb Linux - Networking 8 12-21-2006 03:10 AM
selecting records from multiple files in mysql question MRMadhav Programming 7 11-05-2006 05:52 PM
DNS question, multiple records newlinuxnewbie Linux - General 2 10-28-2005 09:26 PM
Multiple Users accessing the same Email records Gomi Linux - Newbie 1 02-03-2004 01:13 AM


All times are GMT -5. The time now is 07:24 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration