Как авторизованный домен узнает, когда меняется ваш IP-адрес?

221
Kris.Mitchell

У меня есть сервер SBS под управлением Exchange 2010. У нас был домен, и мы решили изменить его. Мы бы хотели, чтобы на сервер приходили электронные письма как с нового, так и со старого домена.

Я читал на технических форумах, что я могу создать приемлемый домен в консоли обмена, чтобы разрешить приход электронной почты.

Мой вопрос заключается в следующем. В настоящее время сервер SBS выполняет синхронизацию IP-адреса с Интернет-провайдером с регистратором домена. Я читал, что SBS будет позволять устанавливать только один домен одновременно. С настройкой динамического IP, я предполагаю, что если мой IP когда-либо изменится, то он обновит записи DNS и продолжит разговор.

Я установил принятый домен в консоли обмена, но как работает связь между принятым доменом по отношению к старому, теперь неуправляемому (?) Домену?

Спасибо за помощь, это новая территория для меня.

0

1 ответ на вопрос

1

Just for a moment, forget the Windows server.

You have two domains. To accept email each domain must have one or more MX records in the DNS maintained by your registrar. These records point to the server names that accept mail for the domain. The server address can, potentially, be any server on the Internet. It doesn't have to be a server in the same domain. MX records for different domains can point to the same server.

The servers in turn have address records (A records) that link the name of the server to it's IP address. Mostly, for servers, a static IP address is used, but...

Remember that SBS server? From what you say it's maintaining the A record relating to its IP address by some communication between itself and your registrar. There are many ways this might happen, and you haven't given any details, so we'll assume that your registrar is maintaining an accurate A record and IP address.

If you set the MX records for both your domains to point to the server name that is maintained by your registrar then mail for both domains will be delivered to that server.

However, the Exchange server (your mail server software) must told which domains it should handle. Mostly, an SBS server will handle just one, but it can be configured to handle two or more. If the server isn't properly configured it will just reject any mail that arrives for a domain it doesn't recognise.

Properly set up, the sequence of events is this:

  • Remote user creates email and sends it to their server.
  • Remote server extracts the domain of the target address and looks up the MX record for it.
  • From the MX record, the remote server finds the A record, and thence the IP address of the destination server.
  • The remote server contacts your SBS server at that address and sends the message.
  • Your server examines the domain in the destination address of the incoming message and checks it against it's configured list.
  • Messages for matched domains are accepted and delivered to the recipients' mailbox. Messages for unmatched domains are rejected.

BTW, don't confuse the Domain your Windows network is using with the DNS domain visible on the Internet. Although they might have similar names they are entirely separate and different things.

Похожие вопросы