>I've been asked to find a way to check FTP usage in our z/OS >environment (2.1 at this point) to see if users are specifying IP >addresses or names to be resolved.
IP packets contain IP addresses and ports, not DNS names. The receiver cannot tell whether the user behind the client specified a hostname (to be resolved by a DNS lookup) or an IP address directly. If the former, then the client software must resolve the hostname via DNS lookup in order to start a TCP session via IP address. With HTTP, the client sends how the server was addressed to the server. So the web server knows whether the user entered an IP address or a hostname. This is the basis for multihoming, aka. VirtualHosts in web servers. I don't know but doubt that this information is part of the FTP protocol. If not, what you desire seems not possible to me. -- Peter Hunkeler ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
