in reply to Re: Finding your IP address with Perl
in thread Finding your IP address with Perl

Sys::Hostname (on linux) never seems to give me the DNS name I was assigned by the DNS server so the gethostbyname() call won't work. It does seem to work on win32 though.
  • Comment on Re: Re: Finding your IP address with Perl

Replies are listed 'Best First'.
Re: Re: Re: Finding your IP address with Perl
by $ENV{REMOTE_USER} (Novice) on Dec 04, 2000 at 21:52 UTC
    DNS name I was assigned by the DNS server

    err... assigned by the DHCP server..