DNS configuration for Exchange

I am setting up the DNS server for Exchange.

I currently have Exchange set up with a back end and front end server with RPC over HTTPS.

I am trying to configure the DNS so everything will work properly.  i have not set up any reverse lookup for the IP address yet so I will need to do that.  

But I need some advice on how to set up the DNS server internally.  Does the RPC server send out the mail, or is it still the back end server that sends out the email.  

now I will need to configure the router to send the information from the mail server out over the IP address that is assigned to the mx record for the exchange server?

if i were to host my own dns, do I need to have a seperate server if I am going to server dns to the outside as well?  if not how do i differentiate internal IP addresses for computers on my network, to external Ip addresses for computers coming to the server for outside dns info.

LVL 12
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

I'm not quite sure I understand.

1) Firewall/ router needs to forward port 25 and 443 to your Exchange server ( fron End normally )

2) You need a public IP with an associated DNS name set up with reverse PTR

If you set up the DNS properly aligned with your external name, then the rest is pretty automatic.

I hope this helps !
ryan80Author Commented:
Ok, so the front end server will send out the email.  i wanted to be sure of this.  so I wont have to open up any ports for the backend server. (can you tell this is the first time that I have done theis?)

As for the DNS:

Can I have the same server host the DNS for both the internal network as well as the external network?
ex.  how do i have mail.domian resolve to the internal IP address on the network, and resolve to the public IP when someone on the internet look it up from my DNS server.

For Exchange DNS i will have to make some changes.  Currently the MX record points to another IP address.  Additionally there is no reverse lookup for the IP that my exchange server uses.

with a reverse IP lookup, it looks at the nameserver, looking for a PTR record?
YOUR ISP should be handling this automatically once you change your MX record for the public IP

Your internal DNS should NOT require any changes and should work transparently in most cases
Internal users access via Outlook or OWA via servernamw/exchange

External users use OWA via your external DNSname/exchange

I hope this helps !

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
Email Protocols

From novice to tech pro — start learning today.