Known issue with resolving hosts with multiple PTR records?

Nabeel Moidu nabeelmoidu at gmail.com
Tue Jun 24 05:32:58 UTC 2008


On Tue, Jun 24, 2008 at 5:16 AM, MacShane, Tracy
<Tracy.Macshane at airservicesaustralia.com> wrote:
> I was wondering if RHEL4 has a known problem with returning multiple PTR records. Carrying out a "host", "dig -x" or "nslookup" against an IP like 202.92.65.220 results in no records at all being returned:
> # host 202.92.65.220
> ;; Truncated, retrying in TCP mode.
> ;; connection timed out; no servers could be reached
>
> Checking the IP from another Linux (not RedHat) server results in 12 PTR records being returned for the host. A Windows server returns the first entry in the list.
>
> There is no problem carrying out name resolution for a host with a single PTR record from the RHEL4 box:
> # host 74.125.19.103
> 103.19.125.74.in-addr.arpa domain name pointer cf-in-f103.google.com.
>
> I'm wondering if it's a fault with the gethostname() function, but I can't find anything in the Red Hat Bugzilla.
>
Its some issue with your server most probably.
I can get proper results as below (I've got the same on a RHEL4.0
server also  ) :

[root at upbpm-fn1 bin]# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 6)
[root at upbpm-fn1 bin]# host 202.92.65.220
220.65.92.202.in-addr.arpa domain name pointer sydmail01.powertel.net.au.
220.65.92.202.in-addr.arpa domain name pointer pop.cbdcorp.com.au.
220.65.92.202.in-addr.arpa domain name pointer pop.stanicharding.com.au.
220.65.92.202.in-addr.arpa domain name pointer pop.migrationlawforum.com.au.
220.65.92.202.in-addr.arpa domain name pointer mail.cbdcorp.com.au.
220.65.92.202.in-addr.arpa domain name pointer mail.c2cextreme.net.
220.65.92.202.in-addr.arpa domain name pointer mail.viewhotels.com.au.
220.65.92.202.in-addr.arpa domain name pointer mail.stanicharding.com.au.
220.65.92.202.in-addr.arpa domain name pointer mail.migrationlawforum.com.au.
220.65.92.202.in-addr.arpa domain name pointer webmail.cbdcorp.com.au.
220.65.92.202.in-addr.arpa domain name pointer webmail.viewhotels.com.au.
220.65.92.202.in-addr.arpa domain name pointer webmail.stanicharding.com.au.
220.65.92.202.in-addr.arpa domain name pointer webmail.migrationlawforum.com.au.
[root at upbpm-fn1 bin]# dig -x 202.92.65.220

; <<>> DiG 9.2.4 <<>> -x 202.92.65.220
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26061
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;220.65.92.202.in-addr.arpa.    IN      PTR

;; ANSWER SECTION:
220.65.92.202.in-addr.arpa. 86341 IN    PTR     pop.cbdcorp.com.au.
220.65.92.202.in-addr.arpa. 86341 IN    PTR     pop.stanicharding.com.au.
220.65.92.202.in-addr.arpa. 86341 IN    PTR     pop.migrationlawforum.com.au.
220.65.92.202.in-addr.arpa. 86341 IN    PTR     mail.cbdcorp.com.au.
220.65.92.202.in-addr.arpa. 86341 IN    PTR     mail.c2cextreme.net.
220.65.92.202.in-addr.arpa. 86341 IN    PTR     mail.viewhotels.com.au.
220.65.92.202.in-addr.arpa. 86341 IN    PTR     mail.stanicharding.com.au.
220.65.92.202.in-addr.arpa. 86341 IN    PTR     mail.migrationlawforum.com.au.
220.65.92.202.in-addr.arpa. 86341 IN    PTR     webmail.cbdcorp.com.au.
220.65.92.202.in-addr.arpa. 86341 IN    PTR     webmail.viewhotels.com.au.
220.65.92.202.in-addr.arpa. 86341 IN    PTR     webmail.stanicharding.com.au.
220.65.92.202.in-addr.arpa. 86341 IN    PTR
webmail.migrationlawforum.com.au.
220.65.92.202.in-addr.arpa. 86341 IN    PTR     sydmail01.powertel.net.au.

;; Query time: 1 msec
;; SERVER: 172.31.100.100#53(172.31.100.100)
;; WHEN: Tue Jun 24 08:29:06 2008
;; MSG SIZE  rcvd: 389




-- 
Thanks and Regards
Nabeel Moidu
Doha, Qatar




More information about the redhat-list mailing list