Posted by Geert Wirken on 10/26/05 21:58
jgantes@gmail.com schreef op 26-10-2005 12:38:
> Does anyone know if it is possible to specify which DNS server you want
> GETHOSTBYNAME to use in PHP? Which nameserver does it use by default?
> It appears to use the SERVER's and not the local machine (which would
> make sense) but does anyone know? I really need to do a lookup with a
> specific name server.
It's not possible to specify a particular nameserver. PHP uses the
system's default server (usually specified in /etc/resolv.conf).
--
Met vriendelijke groeten,
Geert Wirken
[Back to original message]
|