Re: Problems using gethostbyname() to resolve *.net.au
| From: | Rob Adams | Date: | Mon, 03 Nov 2003 22:46:22 +0000 |
| Subject: | Re: Problems using gethostbyname() to resolve *.net.au | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168421@lists.php.net to get a copy of this message | ||
"Dan Anderson" <dan@mathjunkies.com> wrote in message
news:1067899097.4493.81.camel@hades...
> > the firewall is configured to block pings from outside - security
reasons - so
> > called stealth mode
>
> No, you are wrong.
If you're going to ask for help, you should take it in whatever form it
comes. Perhaps he wasn't answering your primary question, but just stating
how it is possible to not have a ping request returned by a valid address.
In which case he is quite right.
gethostbyname($hostname) correctly resolves my
> servers, and I have disabled pings for security reasons.
> gethostbyname($hostname) has nothing to do with pings as a matter of
> fact. It performs a whois lookup and returns the ip address of
> $hostname.
>
> -Dan