Specifying DNS server in PHP



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.

Thanks.

.



Relevant Pages

  • Re: Hate to give up
    ... If your software requires DNS server settings, use: ... nameserver 207.69.188.185 ... Now try to ping yahoo.com and google.com. ... And, in fact, next PPP connection resolv.conf will almost certainly get ...
    (Ubuntu)
  • Re: Securing DNS Server
    ... running on your DNS server, so that the protection you enforce on ... The second variety of "DNS server" is a cacehing nameserver, ... queries to work out the answers, ... re-issued over TCP. ...
    (Security-Basics)
  • Re: RENDOM /end fails
    ... Windows cannot query for the list of Group Policy objects. ... DNS server IP address: 154.15.251.166 ... I believe the reason why it is trying to register into that zone is because the wtg.com zone belongs to someone in Germany and the zone no longer exists on your DNS. ... Take a look at this nameserver lookup: ...
    (microsoft.public.windows.server.active_directory)
  • Re: RENDOM /end fails
    ... DNS server IP address: 154.15.251.166 ... I believe the reason why it is trying to register into that zone is because ... Take a look at this nameserver lookup: ... pri1.dns.psinet.de internet address = 154.15.251.166 ...
    (microsoft.public.windows.server.active_directory)
  • Re: Hate to give up
    ... If your software requires DNS server settings, use: ... $ gksu gedit /etc/resolv.conf ... nameserver 207.69.188.185 ... John appreciate very much your patience.... ...
    (Ubuntu)