Manually Configuring DNS Lookups for Exchange Server 2013

In some Exchange Server 2013 environments it will be necessary to manually configure the DNS servers that Exchange uses for external name resolution.

This is most common in environments where the internal DNS servers that the general server and workstation population uses for DNS cannot resolve external names (a security requirement for some organizations).

Obviously Exchange Server 2013 is a little different than your average server or workstation. DNS is a requirement for Exchange to be able to route outgoing email if a smart host is not being used.

To configure DNS lookups for an Exchange 2013 server in the Exchange Admin Center navigate to Servers, highlight the server you wish to configure, and click the Edit button.


In the DNS Lookups section drop down the list to either choose an adapter that has the correct DNS servers configured on it, or if no adapter has DNS servers configured that can resolve external names choose Custom Settings.


If you have chosen custom settings you can add the IP addresses of DNS servers.


Click Save to commit the changes.

The same configuration options also exist for internal DNS lookups.

Be cautious when configuring Exchange Server 2013 DNS lookups in this manner, and make sure you test the changes afterwards to ensure mail flow is still functioning correctly. Misconfigured DNS settings can cause problems with Exchange 2013 such as sent items being stuck in the OWA Drafts folder.


  1. Manoj says


    I am unable to change External DNS server in DNS lookup as I am getting some error
    “This service cannot be started, either because it is disabled or because it has no enabled device associated with it. (Exception from HRESULT:0x80070422)

    Please help me out how to fix it.
    if possible please let me know how to do this via Exchange Management Shell?

    Thanks in Advance..

  2. Jyothi Pradeep Kollipara says

    Thanks a lot for this article. This solves the missing piece in my puzzle. All blogs on the internet were only talking about the setup of mail flows. The information on setting up DNS lookups was very useful.

  3. Peter says

    Hello Paul,

    What is the exchange power shell command to Configuring DNS Lookups for Exchange Server 2013?? Thanks,

  4. Sajeev says

    I have “techgreen.local” as a local domain. If i want to create domain for email. If i use split brain DNS. Do i have to create name sever in both zone? if yes how? Please help

  5. Joshua Meade says

    Hello I am having issues with inbound emails. My dns for my domain name is hosted using free dns service so i am not sure how to get my server to look for the right dns when its not hosted on the mail server its self

  6. Nagesh says

    Hi Paul,

    I have a lab environment. Where i installed Exchange 2013. I want to send/receive emails from internet. How to configure connectors to achieve this. The domain is not registered in. Just i am using for lab purpose for testing only.

  7. Blaudfaust says

    I have configure my exchange 2013 server, when email are send, it goes out with the mail1.local instead of the HELLO or EHLO response name which is

    how can I enable the mail sever sending email with the .sl instead of .local

Leave a Reply

Your email address will not be published. Required fields are marked *