[Exim] "failed to find host name from IP address"

Top Page
Delete this message
Reply to this message
Author: Duncan Bennett
Date:  
To: exim-users
Old-Topics: Re: [Exim] stoping bounces
Subject: [Exim] "failed to find host name from IP address"

This is almost off-topic as I think it may be a DNS issue. However, I'd be
most grateful if anyone could help me with why our Exim is rejecting mail
from jiscmail.ac.uk (formerly mailbase.ac.uk).

I'm getting errors in the rejectlog that look like this:

------------------------------------------------------------------------------
2000-12-20 00:43:57 recipients from [130.246.192.49] refused (failed to
find host name from IP address)
------------------------------------------------------------------------------

This is confusing because reverse lookups *seem* to work:

% dig -x 130.246.192.49

; <<>> DiG 8.2 <<>> -x
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 6, ADDITIONAL: 6
;; QUERY SECTION:
;;      49.192.246.130.in-addr.arpa, type = ANY, class = IN


;; ANSWER SECTION:
49.192.246.130.in-addr.arpa. 2H IN PTR jiscmail.ac.uk.

;; AUTHORITY SECTION:
246.130.in-addr.arpa.   2H IN NS        chilton.rl.ac.uk.
246.130.in-addr.arpa.   2H IN NS        almond.inf.rl.ac.uk.
246.130.in-addr.arpa.   2H IN NS        letterbox.rl.ac.uk.
246.130.in-addr.arpa.   2H IN NS        nserv1.dl.ac.uk.
246.130.in-addr.arpa.   2H IN NS        srsgsv.dl.ac.uk.
246.130.in-addr.arpa.   2H IN NS        nnsa.dl.ac.uk.


;; ADDITIONAL SECTION:
chilton.rl.ac.uk.       2H IN A         130.246.8.13
almond.inf.rl.ac.uk.    2H IN A         130.246.72.21
letterbox.rl.ac.uk.     2H IN A         130.246.8.100
nserv1.dl.ac.uk.        1D IN A         148.79.80.78
srsgsv.dl.ac.uk.        1D IN A         148.79.80.70
nnsa.dl.ac.uk.          1D IN A         193.62.115.16


;; Total query time: 63 msec
;; FROM: balakirev to SERVER: default -- 193.60.86.52
;; WHEN: Thu Dec 21 11:47:48 2000
;; MSG SIZE sent: 45 rcvd: 327

=========================================================

BUT when doing a forward lookup:

=========================================================

% dig jiscmail.ac.uk.

; <<>> DiG 8.2 <<>> jiscmail.ac.uk.
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3
;; QUERY SECTION:
;;      jiscmail.ac.uk, type = A, class = IN


;; ANSWER SECTION:
jiscmail.ac.uk.         26m15s IN A     130.246.192.48


;; AUTHORITY SECTION:
jiscmail.ac.uk.         4d4h IN NS      ns1.rl.ac.uk.
jiscmail.ac.uk.         4d4h IN NS      ns2.rl.ac.uk.
jiscmail.ac.uk.         4d4h IN NS      ns3.rl.ac.uk.


;; ADDITIONAL SECTION:
ns1.rl.ac.uk.           1h37m54s IN A   130.246.135.153
ns2.rl.ac.uk.           1h37m54s IN A   130.246.11.148
ns3.rl.ac.uk.           1h37m54s IN A   130.246.75.144


;; Total query time: 6 msec
;; FROM: balakirev to SERVER: default -- 193.60.86.52
;; WHEN: Thu Dec 21 11:49:12 2000
;; MSG SIZE sent: 32 rcvd: 158

=========================================================

The only thing that I can see that might be wrong is that perhaps I should
be seeing an ANSWER SECTION that looks more like this, ie a second A
record for 130.246.192.49 like:

=========================================================

;; ANSWER SECTION:
jiscmail.ac.uk.         51m18s IN A     130.246.192.48
jiscmail.ac.uk.         51m18s IN A     130.246.192.49


=========================================================

Is Exim correct in its rejection? Am I doing something daft?

Thanks.

Duncan Bennett
MRC Biostatistics Unit.