From Exchange to Office 365 series (13) Public Network DNS resolution

Source: Internet
Author: User

So far, basically the installation and configuration of Exchange Server 2013 is almost the same. If it succeeds, it should be able to send and receive emails on the Intranet, or send emails to the Internet, but it is definitely not possible to receive emails from the Internet, because if we want to receive emails, we need to have our own domain name, which can be properly resolved on the Internet, in this way, we can find our exchange server, and we must have a public IP address.


To allow exchange to send and receive emails from the public network, a domain name is required first. Here we are mxyo365.com, which is the domain name bought on the new network. After configuring exchange, we need to log on to the DNS management interface and add several DNS records. Please note that if you do not have a domain name, we recommend that you use a hichina domain name to test Office 365, because hichina can add more DNS types, I bought them here, so I used the new network. Next, we need a public IP address, because the isp I use is China Unicom, China Unicom will directly assign me a public IP address.


First, you must add the mail a record, which involves logging on to the OWA, ECP, and other services on the Internet. This record corresponds to the IP address of our exchange server, of course, this is not an intranet address, but the public address we get.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/49/EA/wKioL1Qe06Dg_dMWAAAYDLOTqdo955.jpg "Title =" image 001.png" alt = "wkiol1qe06dg_dmwaaaydlotqdo955.jpg"/>


Add an MX record. The MX record points to mail.mxyo365.com. Note that you may need to add a @ in front of other domain name providers to indicate that the prefix is blank, xinnet can be directly input, so there is no need to add @

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/49/EA/wKioL1Qe1FaRm8PrAAAg7fhT_5g526.jpg "Title =" image 003.png" alt = "wkiol1qe1farm8praaag7fht_5g526.jpg"/>


MX record is used to allow others to find the address of your exchange server and find your DNS based on the domain name suffix. For example, the recipient is [email protected]. I will go to the DNS resolution of this domain name and find that there is an MX record in the DNS resolution. According to the MX content, the sender's email server knows that it should go to mail.mxyo365.com, in this way, the address of the Exchange Server is found based on the previously added a record, so that the mail will be delivered to our Exchange Server


Then we need to add an autodiscover a record, which can help us automatically find our configuration file when connecting to outlook on the Internet. This a record corresponds to the IP address of our exchange server, of course, it is also a public address.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/49/E8/wKiom1Qe1vjxrK8RAAAYn-OQZUc648.jpg "Title =" image 004.png" alt = "wKiom1Qe1vjxrK8RAAAYn-OQZUc648.jpg"/>


In this way, the domain name resolution on the DNS server is complete. As long as you access OWA on the Internet or send an email to our exchange server on the Internet, the IP address we set will be automatically found, however, note that the public IP address is added to the resolution record. This public IP address is actually the IP address of our router, not the Exchange Server, so how do I forward these access requests to the Intranet Exchange server? In this case, we need to set port ing on the vro. As long as we connect to ports 443 and 25, we will automatically forward the port to our exchange server, because our environment contains TMG, TMG is responsible for reverse proxy, so the address actually forwarded to is the TMG address, and then forwarded to our exchange server by TMG, so that the exchange server will not be exposed directly outside, it is also a common practice for enterprises.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/49/EA/wKioL1Qe2LWz4GyNAAB1O1VGaqs850.jpg "Title =" image 006.png" alt = "wkiol1qe2lwz4gynaab1o1vgaqs850.jpg"/>

If the concept is vague, you can take a look at our topology and then understand it.

Http://mxyit.blog.51cto.com/4308871/1547856

After configuring port forwarding, as long as the port 25 of the vro25 is accessed externally, it will be forwarded to our TMG server, and then according to the listening rules set on the TMG, after listening to port 25, it will be forwarded to the Exchange server on the Intranet, so that you can normally send and receive emails and access OWA.


This article is from the "Just make it happen" blog, please be sure to keep this source http://mxyit.blog.51cto.com/4308871/1556763

From Exchange to Office 365 series (13) Public Network DNS resolution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.