email sent from directadmin are not received

ksxiang

New member
Joined
Jul 29, 2009
Messages
1
Issue:

Any email that I sent to any recipient on the internet are not received however I can receive any email with no issue

Getting an "defer (-1): host lookup did not complete":
2009-07-29 19:49:03 1MWLhX-00026c-Bq == *@gmail.com R=lookuphost defer (-1): host lookup did not complete


My /etc/resolv.conf:

# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
DNS1=127.0.0.1
DNS2=195.234.42.1


Logs from DirectAdmin:

/var/log/exim/mainlog:
2009-07-29 19:49:03 1MWLhX-00026c-Bq <= *@longueuilbeach.tv H=(142.*) [127.0.0.1] P=esmtpa A=login:*@longueuilbeach.tv S=1076 [email protected] T="Re: BEN VOYON DONC" from <*@longueuilbeach.tv> for *@gmail.com
2009-07-29 19:49:03 1MWLhX-00026c-Bq == *@gmail.com R=lookuphost defer (-1): host lookup did not complete
2009-07-29 19:53:07 1MWKay-0001x5-6s == *@t*.com R=lookuphost defer (-1): host lookup did not complete

Please advise.
 
Last edited:
What OS are you running? I'm only familiar with Linux (CentOS, Debian, Ubuntu specifically).

If you're using Linux, comment out the 2 lines you have and try this:

Code:
search=yourdomain.com
nameserver 127.0.0.1
nameserver 195.234.42.1
 
My /etc/resolv.conf:

# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
DNS1=127.0.0.1
DNS2=195.234.42.1

That is weird. Mine says:

search super.newwebsite.com
nameserver 4.2.2.1
nameserver 12.127.17.71


Obviously yours may be different but your format is even different.

You also should not have 127.0.0.1. Search this forum as to why you should not be running a caching nameserver.
 
Back
Top