|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #17819 Add optional parameter to gethostbyaddr() and gethostbyip() to set DNS server
Submitted: 2002-06-18 13:39 UTC Modified: 2017-10-23 01:05 UTC
Avg. Score:3.8 ± 0.8
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: rparish at digitalwebzone dot com Assigned:
Status: Analyzed Package: Network related
PHP Version: * OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
15 + 6 = ?
Subscribe to this entry?

 [2002-06-18 13:39 UTC] rparish at digitalwebzone dot com
 Can we get the function gethostbyaddr or 
gethostbyip to accept a second value. 
that second value would be that of what DNS server 
to query to get the information. 
If second value is NULL, then use the systems 
resolv library. 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-18 11:01 UTC]
This feature request seems the same as bug #14246

 [2003-01-18 11:23 UTC]
Let's leave this open and close the other one. (this one is more clear about what is requested)

 [2011-01-01 00:57 UTC]
-Summary: gethostbyaddr +Summary: Add optional parameter to gethostbyaddr() and gethostbyip() to set DNS server -Package: Feature/Change Request +Package: Network related -Operating System: RedHat Linux 7.2 +Operating System: * -PHP Version: 4.1.2 +PHP Version: *
 [2017-10-23 01:05 UTC]
-Status: Open +Status: Analyzed
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat May 15 06:01:24 2021 UTC