Reply to Re: Specifying DNS server in PHP

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация