PTR Record

We currently send mail directly through DNS lookup on our exchange box.

We get blocked by like AOL and hotmail for not having a PTR record from what I can see.

if I check the PTR for our public IP it comes up as
hostXXX-XXX-XXX-XXX.in-addr.btopenworld.com

With the XXX being the IP.

Does this need to be the domain that we are sending email from?

I've tried contacting BT support but they didnt even know what a PTR record is.

Our actual domain we send from is hosted elsewhere as we use them for POP mail.

Thanks in advance.
andrewmilnerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Glen KnightCommented:
It should really match the A record that your MX record uses.

for example your MX record should point to an A record like mail.domainname.com

You then need to ask your ISP (BT Openworld) to setup an rDNS(PTR) record for your IP address of mail.domainname.com

I have an article here that should help: http://www.experts-exchange.com/articles/Software/Server_Software/Email_Servers/Exchange/Exchange-DNS-Configuration.html
0
Glen KnightCommented:
>>I've tried contacting BT support but they didnt even know what a PTR record is.
This is not unusual.  I have lots of problems with BT
0
yousef_adCommented:
if u have windows dns check..
when you add A host record. you must check the box for add PTR Record..

-From DNS Manager, open your forward zone.
-Right-click on the "A" record for your DNS server, and then click Delete Record.
-Click Yes to confirm the deletion of the "A" record.
-Right-click on the forward zone, and then click New Host.
-Type the host name of your DNS server and the IP address.
-Select the Create Associated PTR Record check box.
-Click Add Host, and then click Done.


if unix check

this is for the zone..write inside named.conf

zone “1.168.192.in-addr.arpa” {
   type master;
   notify no;
   allow-query { any; };
   file “192-168-1.zone”;
};
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Glen KnightCommented:
The comment above is not relevant for sending e-mails out of your organisation.
This is talking about INTERNAL DNS not EXTERNAL DNS
0
andrewmilnerAuthor Commented:
Sweet.  Thanks for the comments guys.

So I need to change the A record of the domain to point back to the IP of where the mail is originating? ie our public mail server IP that we have in our building?

Is it simpler to change our mail server announce to what the PTR currently is for the IP?


0
Glen KnightCommented:
No, all you need to do add a Reverse DNS record for the same name as your A record that the MX record uses.
Please follow my guide.
0
andrewmilnerAuthor Commented:
are you saying to put mail.mydomain.com as the ""A"" record  or nameserver racord?  so we dont put the IP in the A record then?
0
Glen KnightCommented:
OK, you haven't read my article yet?

this is how it should look:

A Record = mail.domainname.com IP of 111.222.111.222
MX = mail.domainname.com
rDNS = mail.domainname.com
0
andrewmilnerAuthor Commented:
I did read - just want to be sure :-P

we use an external POP 3 mailserver different to the one we use to send

Please ammend above

Also if I go to change the A record then it only allows me to put an IP in not a name
0
Glen KnightCommented:
The A record WILL only allow you to specify an IP address.
You don't need to change this.
You need to add an rDNS record that is the same name as your A record that the MX record uses.
0
andrewmilnerAuthor Commented:
The MX needs to remain pointing at the external server IP otherwise we wont get mail.
I have asked BT to add the PTR for our public facing IP to be mail.ourdomain.com

You need to add an rDNS record that is the same name as your A record that the MX record uses.
How does an MX record use an A record?
0
Glen KnightCommented:
An MX record MUST use an A record.  This is all explained in my article.
An MX record should not be pointing to an IP address the A record should point to the IP address and the MX record to the A record.
0
andrewmilnerAuthor Commented:
So..

A Record is set to our public IP
MX has to stay as IP of 3rd party hosted pop server
PTR of OUR Ip is set to mail.domain.com

Am I missing anything?
0
Glen KnightCommented:
Your MX record should point to an A record.
If you have to configure that A record to the IP of your 3rd party hosted service then that's fine.
Your PTR record should then be the same as the A record.

0
andrewmilnerAuthor Commented:
I thought the MX record is whas is used by people wanting to send us mail, so if we change the MX record to something other the actual mail server that we get email from then how is incoming mail going to work?
0
Glen KnightCommented:
Right, according to RFC2181 This domain name must have as its value one or more address records. Currently those will be A records, however in the future other record types giving addressing information may be acceptable.  It can also have other RRs, but never a CNAME RR."

if you read the rest of section 10.3 http://tools.ietf.org/html/rfc2181#section-10.3 it also goes on to say that your MX record should not be configured to use an IP address.

This is where the A record comes in.
You configure the A record (it makes absolutely no difference what this A record is called as long as it is something.domainname.com) to use the IP address of your 3rd party hosting service.
Then you configure the MX record to use this A record.  This means that your mail will still go to the same place it's going now.

You then ask your ISP to configure a rDNS record for your IP address that's the same as the A record you created above for your MX record.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.