Avatar of Nick Loomis
Nick Loomis
 asked on

Exchange 2013 Server DNS Settings

Hello!!

I have setup an exchange 2013 server and so far it is up and running. I can access OWA and al the server side of things looks good but I do not understand how to setup the DNS settings. I have a IP for the exchange box alone and an A record of mail.example.com to the IP also MX Records pointing to mail.example.com.

The parts that is eluding me is who to configure the DNS within exchange. I have a DC running DNS internally and use both a External DNS from my ISP and OpenDNS.

Do I need to contact my ISP to setup a PTR? or what would they need to do?
ExchangeMicrosoft ApplicationsEmail Servers

Avatar of undefined
Last Comment
Nick Loomis

8/22/2022 - Mon
Nick Rhode

You would mainly contact the ISP to have them setup the reverse DNS pointer record if applicable.  Otherwise typically your DNS setting usually reside where you change your MX record.  You can setup external A records like autodiscover.example.com and so forth.

Internal I typically setup the same records like autodiscover and mail on the DNS server itself.  When you install exchange you setup the URLs you specified so those are set to whatever you specified and internal and external DNS are just to point to those specific URLs and used when it comes to a certificate.
Nick Loomis

ASKER
OK ....  I did do that at the Domain. I added several A records pointing to the IP.

But I am unable to send or receive any emails. Thats what led me to believe perhaps I need to contact the ISP.. Here is the log file from the Exchange Tools Website.

This is the Outbound test

Attempting to find the SPF record using a DNS TEXT record query.
       The Microsoft Connectivity Analyzer wasn't able to find the SPF record.
       
      Additional Details
       
No records were found.
Elapsed Time: 148 ms.

This is the Inbound Test

Attempting to send a test email message to xxxxxx@xxxxxx.org using MX mail.xxxxxx.org.
       Delivery of the test email message failed.
       
      Additional Details
       
The server returned status code 451 - Error in processing. The server response was: Requested action aborted: local error in processing
Exception details:
Message: Error in processing. The server response was: Requested action aborted: local error in processing
Type: System.Net.Mail.SmtpException
Stack trace:
at System.Net.Mail.DataStopCommand.CheckResponse(SmtpStatusCode statusCode, String serverResponse)
at System.Net.Mail.DataStopCommand.Send(SmtpConnection conn)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at Microsoft.Exchange.Tools.ExRca.Tests.SmtpMessageTest.PerformTestReally()
Elapsed Time: 845 ms.
Jamie McKillop

Hello,

Is your firewall configured to allow port 25 from the internet to your Exchange server?

-JJ
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Nick Loomis

ASKER
Thats a Great question..  I certainly think so. I have a Watchguard XTM 330 and a SMTP Policy going from ANY-->SNAT(External IP to Internal Exchange)

I seem to have resolved the Send email issue with proper DNS configuration. I can send Emails to most address. Some are getting bounced do to no Reverse PTR which again I assume has to be done at the ISP level??

Now however I am unable to RECEIVE emails..

The appear to go out from the address I send from but do not come in nor are getting bounced back..

Does that sound like a watch guard setting perhaps?
Jamie McKillop

You need to contact your ISP to have the PTR record setup. You can test port 25 by doing a telnet from an external system.

-JJ
Nick Loomis

ASKER
Trying 66.219.116.107...
Connected to mail.harrisondistrictlibrary.org.
Escape character is '^]'.
220 hdlex01.hdl.local Microsoft ESMTP MAIL Service ready at Wed, 11 Dec 2013 11:34:53 -0500


Looks like it hits it no??
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Nick Loomis

ASKER
EHLO Command Returns good results also
Jamie McKillop

Looks good.

-JJ
Nick Loomis

ASKER
Now It seems Im getting some messages right away and others very delayed..

Could that be the PTR Record?? I know some filters are turned up so high they reject with out it.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Jamie McKillop

The PTR record will not impact receiving mail. Hard to say why they are being delayed. Do you only have the one MX record?

-JJ
Nick Loomis

ASKER
I do only have the the one. But it is listed twice at the Domain one with Priority 0 and one with priority 10...

I am betting thats wrong..

What should that be?
ASKER CERTIFIED SOLUTION
Jamie McKillop

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Nick Loomis

ASKER
OK... Well that part is correct..

Well I'm reaching out to the ISP for the PTR... and all keep checking settings..

Thanks for all your help
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.