Re: AIX 5L & reverse DNS lookups

From: JOSEPH KREMBLAS (jkremblas@REDHEARTGIFTS.COM)
Date: Thu Mar 11 2004 - 11:40:12 EST


You might want to try employing the 'dump' command to get an idea of the
system and/or C function calls your program will (or has available to)
execute:

        dump -T <exec>

I wrote and compiled a simple C program and the results are (to give you
an example):

[root:nimbus]/export/C>dump -T h

h:

                        ***Loader Section***

                        ***Loader Symbol Table Information***
[Index] Value Scn IMEX Sclass Type IMPid Name

[0] 0x00000000 0x0000 0x08 0x05 0x0 0x0001 errno
[1] 0x00000000 0x0000 0x08 0x0a 0x0 0x0001 exit
[2] 0x00000000 0x0000 0x08 0x0a 0x0 0x0001 atoi
[3] 0x00000000 0x0000 0x08 0x0a 0x0 0x0001
printf
[4] 0x00000000 0x0000 0x08 0x0a 0x0 0x0001
__mod_init
[5] 0x00000000 0x0000 0x08 0x05 0x0 0x0001
__crt0v
[6] 0x20001064 0x0002 0x04 0x0a 0x1 0x0000
__start
[root:nimbus]/export/C>

If you see entries, under the 'Name' column, such as gethostbyname,
etc., this tells you how the application is requesting name lookup
services. I don't remember all the gethostby<...> calls, but consulting
the programmer's guide should give you an idea of the meaning and
purpose of the functions.

I hope this helps.

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
Ralph R. Rye
Sent: Thursday, March 11, 2004 8:55 AM
To: aix-l@Princeton.EDU
Subject: AIX 5L & reverse DNS lookups

Quick question:

I have seen posts about inetd services doing reverse lookups and causing
issues with telnet & ftp clients. Does AIX do reverse lookups for IP
applications that are not run under inetd? I would assume it would be
up to the application to request the lookup and AIX does not do it by
default for all IP based app's.

We can't get a definitive answer from our vendor about reverse lookups
from their app [Informatica], and reverse lookups are happening and
timing out some client sessions.

Thanks,
Ralph



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:41 EDT