4.4.0 DNS query failed, messages stuck in Draft

Mountain Pond 1,441 Reputation points
2020-11-22T17:56:45.52+00:00

Hi,
I have new Exchange 2019 installation (there is no Exchange server was later).
I have a problem, all messages stuck in Draft (OWA). In Message Tracking logs there is error
SmtpResponse:451 4.4.0 DNS query failed. The error was: SMTPSEND.DNS.NonExistentDomain

I changed primary DNS added address 8.8.8.8 and could resolve MX record.
41695-sharex-qp7q7zzdmw.png

Also, if I set use External IP address for server. The issue still present.
41722-mstsc-8qaaep6fmb.png
41626-mstsc-jqqhwpmw7t.png
I found that two Domain Controllers have the same SID, but Exchange serve have own one.
it was in this article
email-stuck-in-drafts-folder

I checked services
messages-stuck-in-owas-drafts-folder.html
and permissions
exchange-2013-emails-stuck-in-drafts

My send connector configuration
41702-mstsc-vtwsoofkv4.png

I also haven't added an MX record and A record in the outer zone, but that shouldn't interfere with trying to send out.
What can I do next?

Thank you.

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,632 questions
0 comments No comments
{count} votes

Accepted answer
  1. Mountain Pond 1,441 Reputation points
    2020-11-23T17:22:04.903+00:00

    Problem was resolved.
    Root case of replication issue was - wrong time on DC2. Sync time and everything become fine.
    https://jasoncoltrin.com/2018/08/02/how-to-set-clock-time-on-ad-domain-controller-and-sync-windows-clients/

    Thank you.


2 additional answers

Sort by: Most helpful
  1. Mountain Pond 1,441 Reputation points
    2020-11-22T22:55:17.03+00:00

    I don't understand what's going on.
    Now as soon as I remove 8.8.8.8 as the third DNS server in the network adapter settings.
    The transport service stops working. Attempting to connect to via PowerShell returns an error, cannot find the Exchange server.
    After I return 8.8.8.8 and add to third DNS server (not primary) - everything fine, BUT message not delivered.
    41628-mstsc-erfmmagyoy.png

    Errors in events:
    Source: MSExchangeTransportSubmission
    Date: 11/22/2020 6:25:14 PM
    Event ID: 5023
    A transient configuration error was detected while the routing configuration was loading. Exception details: Exchange couldn't retrieve the local server object. No local server is available. : Microsoft.Exchange.Transport.Categorizer.TransientRoutingException: Exchange couldn't retrieve the local server object. No local server is available.
    at Microsoft.Exchange.Transport.Categorizer.RoutingTopology.Validate()
    at Microsoft.Exchange.Transport.Categorizer.RoutingTablesLoader.<>c__DisplayClass24_0.<TryLoadRoutingTablesAndNotify>b__0()
    at Microsoft.Exchange.Data.Directory.ADNotificationAdapter.RunADOperation(ADOperation adOperation, Int32 retryCount)
    at Microsoft.Exchange.Data.Directory.ADNotificationAdapter.TryRunADOperation(ADOperation adOperation, Int32 retryCount)

    Microsoft Exchange couldn't load configuration information for routing.

    Also I see the replication is not fine
    41654-mstsc-wcrzaayaol.png

    I think the identical SIDs for controllers is the root case of this issue.

    Please help.

    0 comments No comments

  2. Lucas Liu-MSFT 6,176 Reputation points
    2020-11-23T07:34:49.45+00:00

    Hi @Mountain Pond ,
    What is your current environment like? Is there only one on-premise Exchange 2019?

    1. If there is a firewall, please check the firewall settings to ensure that SMTP communication is available on port 25.
    2. Please make sure all the services required by Exchange are running.
    3. Please try to select the “Use the external DNS lookup settings on servers with transport roles” option in the send connector that is responsible for remote mail routing and see if the issue is resolved.
      41816-33333.png
      For more information: 451 4.4.0 DNS query failed Exchange Server error in message queue

    4.About the same SID for two Domain controllers. According to my research, if two DCs have the same SID, some unexpected errors may occur, so DCs with the same SID are not allowed. Since the SID is maintained by the Security Accounts Manager, it cannot be changed. We need to delete the one of the DCs. First of all, make sure that the DC is not the only DC in the domain, and make sure that there are other DCs in the site where the deleted DC is located. Then demote the DC to be deleted, and then remove it.

    ----------

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.