Solved

unable to bind to destination server in dns

Posted on 2010-11-22
29
760 Views
Last Modified: 2012-05-10
I am having problems sending and receiving emails. On the message queue is the following message.

unable to bind to destination server in dns

I can ping the dns servers and I am using a smart host relay.

Does anyone have any suggestions?

I was cleaning up some WMI issues previously and I am not sure if this was the cause.
0
Comment
Question by:mail2clk
  • 14
  • 14
29 Comments
 
LVL 76

Accepted Solution

by:
Alan Hardisty earned 500 total points
Comment Utility
This suggests that the server in question or rather the domain for the email that is stuck, is not working properly, or the domain does not exist.

If you bring up a command prompt and type the following:

nslookup {press enter}
set type=mx {press enter}
problemdomain.com {press enter} (change problem domain with the domain name you are having issues with)

What response do you get?
0
 

Author Comment

by:mail2clk
Comment Utility
after entering MX

a message comes up. server.company.local. cannot find mx.  domain is non-existent.

0
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
Then that is the answer - the domain does not exist.

Is the domain correctly spelled?  Did someone internally send to it?  Who is the sender of the message (internal user or Administrator / Postmaster)?
0
 

Author Comment

by:mail2clk
Comment Utility
i can send an email from administrator to administrator internally.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
Is the domain a domain external to your mail server or an internal domain that you are hosting?
0
 

Author Comment

by:mail2clk
Comment Utility
Domain company.co.uk is external.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
Okay - please post the full domain name (which I will obscure to protect their identity) so I can check to see what is up.

Thanks

Alan
0
 
LVL 76

Assisted Solution

by:Alan Hardisty
Alan Hardisty earned 500 total points
Comment Utility
Okay - I see that they use Messagelabs to filter their email.

Testing a connection to them from my IP I can easily connect to both MX records - which might suggest that either you cannot resolve their name in DNS which means your DNS settings ar enot correct, or you might be blacklisted by them.

Can you check your IP Address on www.mxtoolbox.com/blacklists.aspx and make sure you don't pop up on any blacklists please.
0
 

Author Comment

by:mail2clk
Comment Utility
Claranet confirmed we are not blacklisted.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
Okay - but please visit the link and check your fixed IP Address - just for my peace of mind!
0
 

Author Comment

by:mail2clk
Comment Utility
Looks ok blacklist:79.123.xxx.xxx. Please delete address
0
 
LVL 76

Assisted Solution

by:Alan Hardisty
Alan Hardisty earned 500 total points
Comment Utility
Yep - looking good.

Okay - so that leaves DNS issues!

On your server - what is the Server's LAN DNS IP Address set to?  It should be itself and nothing else.

Have you got DNS forwarders setup on the Forwarders TAB of the DNS server?  Start> Programs> Administrative Tools> DNS> Right-Click Server Name and choose Properties> Forwarders Tab.

You should have your ISP's DNS Server IP Addresses configured here.  If not - please add them, click Apply, then click on the Monitoring Tab and check both Test Types (Simple / Recursive) and click Test Now.  If you see PASS PASS in the Test Result window all is well.  Uncheck both Test Types and click OK.

Then return to the command prompt and type:

ipconfig /flushdns

then

nslookup {enter}
set type=mx {enter}
theirdomain.co.uk {enter}

Any better?
0
 

Author Comment

by:mail2clk
Comment Utility
Dns address is set to itself the server ip address. passed the test, flushed dns but cannot find mx non-existent domain.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
Are you using DNS forwarders and are they correct?
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:mail2clk
Comment Utility
yes dns is correct
0
 
LVL 76

Assisted Solution

by:Alan Hardisty
Alan Hardisty earned 500 total points
Comment Utility
Can you add 158.43.240.4 to the DNS forwarders and then make sure it is at the top of the list, then In DNS Admin Tool, right-click the Servername and choose Clear Cache and then Right-Click and Choose Scavenge Stale Resource Records.

Re-run the command prompt check.

Any better?
0
 

Author Comment

by:mail2clk
Comment Utility
Could it be a server issue ? Why would the domain be non-existent?
0
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
It is only non-existent to your server because it can't find it in DNS!

You may also have an entry in the hosts file on your server for some daft reason. Please check c:\windows\system32\drivers\etc hosts and lmhosts.sam (both should open with notepad.exe easily.

Any entries in there for this domain?  If so - delete the lines please.
0
 

Author Comment

by:mail2clk
Comment Utility
Nothing in either file.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
Okay - did you see my earlier comment?
0
 

Author Comment

by:mail2clk
Comment Utility
i checked another server with a different company same setup and the message cannot find domain comes up but emails work fine
0
 

Author Comment

by:mail2clk
Comment Utility
I added the ip address in the forwarders and cleared cache and scavenge stale records. Dean the command and the same message.non-existent domain.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
Okay - please talk to your ISP as you are using their forwarders - they may be able to throw some light on this.

Alan
0
 

Author Comment

by:mail2clk
Comment Utility
Alan

I got it to work. Thanks for your help

I followed these steps.

To work around this issue, remove the external DNS server references in Exchange System Manager, and then restart Microsoft Internet Information Services (IIS).

To remove the external DNS server references, follow these steps:
Start Exchange System Manager.
If administrative groups are enabled, expand Administrative Groups, and then expand First Administrative Group.

If administrative groups are not enabled, go directly to step 3.
Expand the Servers container, and then expand the Your_Server_Name container.
Expand the Protocols container, and then expand the SMTP container.
Right-click Default SMTP Server, and then click Properties.
Click the Delivery tab, and then click Advanced.
Click Configure, and then click the first entry in the External DNS list.
Click Remove.
Remove each remaining entry from the External DNS list.
Click OK three times.
Quit Exchange System Manager.
To restart IIS, follow these steps:
Open the Services snap-in.
Right-click the IIS Admin Service, and then click Restart.
In the Restart Other Services dialog box, click Yes to restart the dependency services.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
Brilliant - thanks for the update.

A bit heavy-handed - but if it worked - I won't knock it.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
So nothing I said helped you in any small way to resolve the problem?
0
 

Author Comment

by:mail2clk
Comment Utility
I need to allocate some points.
0
 

Author Closing Comment

by:mail2clk
Comment Utility
I provided my own solution.
0

Featured Post

Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

Join & Write a Comment

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now