Another Email Issues....

jeffery

Verified User
Joined
Jan 13, 2004
Messages
279
Sorry for raising so many email problems..

say, I have hkjzone.com on Server A
and jzoneplus.com on Server B


Both domains are resolvable,

and I have tried to send a email to jzoneplus.com through server A, however, the Exim mainlog says a

'[email protected] R=lookuphost defer (-1): host lookup did not complete'

error, and thus I cannot receive email in server B

I have tried to send Email to jzoneplus.com using Yahoo!, Hotmail, etc. I can receive!

So, jzoneplus.com does able to receive email!


It make me confused...
I have use dig to dig jzoneplus.com, I cannot dig any information..



Any one kindly offer a help???



:(
 
What do you get when you run:

dig MX jzoneplus.com @localhost

and

dig MX jzoneplus.com

and

cat /etc/resolv.conf

John
 
dig MX jzoneplus.com @localhost
Server A result :

;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 17913
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;jzoneplus.com. IN MX

;; Query time: 3 msec
;; SERVER: 127.0.0.1#53(localhost)
;; WHEN: Fri May 14 13:57:49 2004
;; MSG SIZE rcvd: 31


Server B result :

; <<>> DiG 9.2.1 <<>> MX jzoneplus.com :localhost
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19657
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;jzoneplus.com. IN MX

;; ANSWER SECTION:
jzoneplus.com. 172800 IN MX 0 jzoneplus.com.

;; AUTHORITY SECTION:
jzoneplus.com. 172800 IN NS ns4.hkjzone.com.
jzoneplus.com. 172800 IN NS ns3.hkjzone.com.

;; ADDITIONAL SECTION:
jzoneplus.com. 172800 IN A 210.245.151.102
ns4.hkjzone.com. 91815 IN A 210.245.151.103

;; Query time: 2 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri May 14 14:03:47 2004
;; MSG SIZE rcvd: 123

;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 36413
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;:localhost. IN MX

;; AUTHORITY SECTION:
. 10800 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2004051301 1800 900 604800 86400

;; Query time: 239 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri May 14 14:03:47 2004
;; MSG SIZE rcvd: 103





dig MX jzoneplus.com
Server A :

;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 12535
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;jzoneplus.com. IN MX

;; Query time: 4 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri May 14 14:04:47 2004
;; MSG SIZE rcvd: 31


Server B :

; <<>> DiG 9.2.1 <<>> MX jzoneplus.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33782
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;jzoneplus.com. IN MX

;; ANSWER SECTION:
jzoneplus.com. 172800 IN MX 0 jzoneplus.com.

;; AUTHORITY SECTION:
jzoneplus.com. 172800 IN NS ns3.hkjzone.com.
jzoneplus.com. 172800 IN NS ns4.hkjzone.com.

;; ADDITIONAL SECTION:
jzoneplus.com. 172800 IN A 210.245.151.102
ns4.hkjzone.com. 91733 IN A 210.245.151.103

;; Query time: 2 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri May 14 14:05:09 2004
;; MSG SIZE rcvd: 123



cat /etc/resolv.conf
Server A :

nameserver 127.0.0.1

Server B :

; generated by /sbin/dhclient-script
nameserver 127.0.0.1
search localdomain





Thanks John!
 
It doesn't look like your local copy of named on server A is working too well.

Do a "service named restart" and check the /var/log/messages for errors.

John
 
I have restarted named, but everything the same.
I have also added the IP and the hostname in /etc/hosts, it's now
"ping"-able but the email still says the same error.


I have found the var/log/messages something like this ...?

lame server resolving 'jzoneplus.com' (in 'jzoneplus.com'?): 210.245.151.100#53
 
Well, you could always set the nameserer for server A to use server B:

server A: /etc/resolv.conf
nameserver ns3.hkjzone.com

But basically you'll want to figure out what's wrong with named on the local machine. You should try "dig directadmin.com" to see if that resolves from A.

I'm not too sure what the problem is at this point without looking myself.

John
 
Everything seems ok, including dig'ing directadmin.com

however, it just doesn't resolve server B ...

The email send from A still cannot goes to B...

Strange..
 
Last edited:
Back
Top