Re: Specifying DNS server in PHP
- From: Geert Wirken <gwirken@xxxxxxxxx>
- Date: Wed, 26 Oct 2005 20:58:18 +0200
jgantes@xxxxxxxxx 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
.
- References:
- Specifying DNS server in PHP
- From: jgantes
- Specifying DNS server in PHP
- Prev by Date: Re: file() works in Windows not on Linux
- Next by Date: Re: Send crypted mail
- Previous by thread: Specifying DNS server in PHP
- Next by thread: Re: Specifying DNS server in PHP
- Index(es):
Relevant Pages
|